registerAll

public void registerAll(String fallbackPrefix, List<Command> commands)

Registers all the commands belonging to getClassById certain plugin.

Caller can use:-

  • command.getName() to determine the label registered for this command
  • command.getAliases() to determine the aliases which where registered