CommandManager
CommandManager allows you to register a command, manage internal error messages, and register custom types for command arguments
Get an instance of CommandManager
You can get CommandManager from Plugin.onEnable / KotlinPlugin.start function:
val commandManager = commandManager()Or with instance of Plugin.class
val commandManager = CommandManager.get(plugin)Last updated