Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
An event that fires as players enter chat messages.
Properties
message
read-only message: string;
Message that is being broadcast.
Type: string
sender
read-only sender: Player;
Player that sent the chat message.
Type: Player
targets
read-only targets?: Player[];
Optional list of players that will receive this message. If defined, this message is directly targeted to one or more players (i.e., is not broadcast.)
Type: Player[]