Adds an alias (alternative name) for the following command.
reference to itself to be used in sequential calls
Adds multiple aliases (alternative names) for the following command.
reference to itself to be used in sequential calls
Specifies the function that will be called for the following command without arguments. If you call executes in CommandOverloadBase, this will automatically create a command overload without arguments.
reference to itself to be used in sequential calls
the function that will be called for the following command without arguments or null, if executes has not been called.
list of all recursively found overloads of the following chat command, each overload is represented as an ordered java.util.List of its arguments.
Specifies command's description, that will be displayed
above the chat input box when writing /your_command_name
.
In this overload, the given description is set as the English localization,
which will be used by default if you don't add translations to other languages.
reference to itself to be used in sequential calls
Specifies command's description, that will be displayed
above the chat input box when writing /your_command_name
.
object with language codes as keys and translations of the command description to the corresponding language as values
reference to itself to be used in sequential calls
Adds the first argument of the command. Each call creates a new command overload. To add arguments further than the first, you have to use CommandArgument.then.
reference to itself to be used in sequential calls
Generated using TypeDoc
Object returned by CommandsModule.newCommand used to describe a custom chat command.
3.0