📄️ Ban
in seconds, 0 for permanent ban
📄️ BanSteamID64
in seconds, 0 for permanent ban
📄️ CanTarget
Checks if the player can target another player.
📄️ CanTargetRole
Checks if the player can target a specific role.
📄️ Cloak
Cloaks or uncloaks a player, making them invisible.
📄️ FetchByRole
Fetches all players that have a specific role.
📄️ FetchRoles
Fetches the roles of the player using their SteamID64.
📄️ GetAllWithPermission
Returns all players that have a specific permission.
📄️ GetPData
Gets persistent data for a player.
📄️ GetPlayTime
Returns the player's total playtime including the current session.
📄️ GetSessionTime
Returns how long the player has been on the server this session.
📄️ GetSharedVar
Retrieves a shared variable on a player.
📄️ GetVar
Retrieves a variable on the player in the current state.
📄️ HasPermission
Checks if the player has a specific permission.
📄️ IsAuthed
Checks if the player has been authenticated by Lyn.
📄️ IsNetReady
Checks if the player is ready to receive netmessages.
📄️ IsSteamAuthed
Checks if the player is Steam authenticated.
📄️ PlaySound
Plays a sound for a specific player.
📄️ Role.Add
Adds the specified role to the player for an optional duration (in seconds).
📄️ Role.AddSteamID64
Adds the specified role to the player for an optional duration (in seconds) using their SteamID64.
📄️ Role.Get
Returns the highest role the specified player has.
📄️ Role.GetAll
Returns a copy of all roles the specified player has.
📄️ Role.GetColor
Returns the color of the highest role the specified player has.
📄️ Role.GetDisplay
Returns the display name of the highest role the specified player has.
📄️ Role.GetImmunity
Returns the immunity level of the highest role the specified player has.
📄️ Role.Has
Returns whether the specified player has the given role(s). Supports string, array-style, and dictionary-style table inputs.
📄️ Role.HasDeep
Returns whether the specified player has the given role or any roles that
📄️ Role.Iter
Returns an iterator for all roles the specified player has.
📄️ SearchByName
Searches for players by name (case-insensitive, partial match).
📄️ SetPData
Sets persistent data for a player.
📄️ SetSharedVar
Sets a variable to be shared across all players.
📄️ SetVar
Sets a variable on the player in the current state.