Commands
APIPlugin contains an integrated Command Manager to register your commands without the needing to declare the manager manually.
You have three methods to use:
APIPlugin#registerCommand(Command<? extends APIPlugin>)
- Register a single commands
APIPlugin#registerCommands(Set<@NonNull Command<? extends APIPlugin>>)
- Register a Set of commands
APIPlugin#getCommandManager()
- Returns the Command Manager