on Command
open override fun onCommand(sender: CommandSender, command: Command, label: String, args: Array<out String>): Boolean
Handles command execution. If the command throws an exception during parsing or execution, an appropriate error message is sent to the sender, along with the correct command format.
Return
true if the command was handled, false otherwise.
Parameters
sender
The sender of the command.
command
The command being executed.
label
The alias of the command used.
args
The raw command arguments.