setLabel

public boolean setLabel(String name)

Sets the label of this command.

May only be used before registering the command. Will return true if the new name is set, and false if the command has already been registered.

Return

returns true if the name change happened instantly or false if the command was already registered

Parameters

name

The command's name