use of com.griefdefender.hooks.command.CommandVersion in project GDHooks by bloodmc.
the class GDHooks method registerBaseCommands.
public void registerBaseCommands() {
PaperCommandManager manager = new PaperCommandManager(GDHooksBootstrap.getInstance().getLoader());
this.commandManager = manager;
manager.getCommandReplacements().addReplacements("reload", this.getCommandDescriptionTranslation(MessageConfig.DESCRIPTION_RELOAD), "version", this.getCommandDescriptionTranslation(MessageConfig.DESCRIPTION_VERSION));
manager.registerCommand(new CommandReload());
manager.registerCommand(new CommandVersion());
this.registerCommandCompletions();
}
Aggregations