PlayerSendCommandEvent
Documentation for the PlayerSendCommandEvent event in the Irminsul game server API
Last updated
Documentation for the PlayerSendCommandEvent event in the Irminsul game server API
Last updated
PlayerSendCommandEvent is a cancellabe event fired when a player attempts to execute a chat command.
This event is fired regardless of whether the command will be successfully executed. For an event actually fired when a command is executed, use instead, which is fired later than this event.
boolean, inherited
Whether this event has been cancelled
final io.irminsul.common.game.player.Player
The player sending the command. Guaranteed non-null.
final String
The command provided by the player. Guaranteed non-null.
final String[]
A list of command arguments provided by the player, which may be empty. Guaranteed non-null.