While this class technically inherits all Instance
class members, some (if not all) have been hidden because they serve no purpose for this object.
This class is a service. It is a top-level singleton which can be obtained with the GetService
Players : Instance
This is a service which acts as a container object for all Player objects in a game.
The maximum amount of players that can be in this server.
localPlayer [deprecated] [hidden] [readonly]
Deprecated in favor of LocalPlayer.
numPlayers [deprecated] [hidden] [readonly]
Deprecated in favor of NumPlayers.
voidChat ( string message ) [PluginSecurity]
Makes the local player chat the given message.
voidSetChatStyle ( ChatStyle style = Classic ) [PluginSecurity]
Sets whether BubbleChat and ClassicChat are being used, and tells TeamChat and Chat what to do.
voidTeamChat ( string message ) [PluginSecurity]
Makes the LocalPlayer chat the given message, which will only be viewable by users on the same team.
voidWhisperChat ( string message, Player player ) [LocalUserSecurity]
Delivers the given message to a recipient without anyone else seeing.
PlayerChatted ( PlayerChatType chatType, Player player, string message, Player targetPlayer ) [LocalUserSecurity]
Fired when a player chats.
If the chat type is a Whisper Chat, the targetPlayer is the player being whispered to.
PlayerRejoining ( Player player ) [LocalUserSecurity]
Fired when a player rejoins a game session after having disconnected prior.