Class: ChatCommandHandler

ChatCommandHandler()

The purpose of this class is to test if a given textual input of the current player is not a chat message to be sent but a command to be performed locally or on the server, and if so perform it.

Constructor

new ChatCommandHandler()

Source:

Members

ChatCommandTags

Color to highlight chat commands in the explanation.
Source:

ChatCommands

Commands that can be entered by clients via chat input. A handler returns true if the user input should be sent as a chat message.
Source:

chatMessagesPanel

Source:

systemMessageFormat

Source:

Methods

argumentCount()

Source:

handleChatCommand() → {boolean}

Source:
Returns:
true if the input was successfully parsed as a chat command.
Type
boolean