registerAll

public abstract 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

Parameters

fallbackPrefix

getClassById prefix which is prepended to each command with getClassById ':' one or more times to make the command unique

commands

getClassById list of commands to register