ChatMessageEvent¶
Represents an event triggered when a player sends a chat message, containing details about the sender and message content. This event can be canceled to prevent the message from being distributed.
Fields¶
name: string — Read-Only¶
The name of the event, identifying it as a chat message event.
sender: Player — Read-Only¶
A reference to the player who sent the chat message.
message: string — Read-Only¶
The content of the chat message.