Registering command - S3nS3IW00/JCommands GitHub Wiki
The command needs to be registered otherwise the handler won't know that this command is exist. You can do it by many ways:
- Registering command:
CommandHandler#registerCommand(ServerCommand, Server...) - Registering command by builder:
CommandHandler#registerCommand(ServerCommandBuilder, Server...) - Registering command on all server:
CommandHandler#registerCommand(GlobalCommand) - Registering command on all server by builder:
CommandHandler#registerCommand(GlobalCommandBuilder)