PlayerExecuteCommandEvent
Documentation for the PlayerExecuteCommandEvent event in the Irminsul game server API
Last updated
Documentation for the PlayerExecuteCommandEvent event in the Irminsul game server API
Last updated
PlayerExecuteCommandEvent is a cancellabe event fired when a player executes a chat command.
This event is fired only if the command is about to be successfully executed. For an event fired when a command is attempted, use instead, which is fired earlier 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 io.irminsul.common.game.command.CommandHandler
The CommandHandler the player is about to invoke. Guaranteed non-null.
final String[]
A list of command arguments provided by the player, which may be empty. Guaranteed non-null.