onCommand

override fun onCommand(sender: CommandSender, command: Command, label: String, args: Array<out String>): Boolean

Handles the execution of the nested command by delegating to the appropriate sub-command.

Parameters

sender

The command sender.

command

The command being executed.

label

The command label.

args

The command arguments.