onTabComplete

override fun onTabComplete(sender: CommandSender, command: Command, label: String, args: Array<out String>): List<String>?

Handles tab completion for the nested command by delegating to the appropriate sub-command.

Return

A list of possible completions for the command.

Parameters

sender

The command sender.

command

The command being executed.

label

The command label.

args

The command arguments.