CommandSender.availableCommands

Gets the commands that can be called by the command sender in its current status. Aliases are included in the list and the Command object is the same as the non-aliased command.

interface CommandSender
@property
Command[string]
availableCommands
()

Examples

assert(sender.availableCommands["help"] is sender.availableCommands["?"]);

Meta