PlayerChatEvent
Documentation for the PlayerChatEvent event in the Irminsul game server API
Last updated
Documentation for the PlayerChatEvent event in the Irminsul game server API
Last updated
PlayerChatEvent is a cancellabe event fired when a player sends a chat message.
If the sent message is a chat command (a message sent to the server account), this event is fired prior to , which is in turn fired prior to .
boolean, inherited
Whether this event has been cancelled
final io.irminsul.common.game.player.Player
The player sending the message. Guaranteed non-null.
final int
The UID of the message recipient
String
The text of the message. This will be empty if the player sent an emote instead. Guaranteed non-null.
int
The emote attached with the message. This will be zero if a text message was sent instead.