setName

public boolean setName(String name)

Sets the name 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

New command name