use of me.lucko.luckperms.common.command.CommandManager in project LuckPerms by lucko.
the class LPBungeePlugin method registerCommands.
@Override
protected void registerCommands() {
this.commandManager = new CommandManager(this);
this.bootstrap.getProxy().getPluginManager().registerCommand(this.bootstrap, new BungeeCommandExecutor(this, this.commandManager));
// disable the default Bungee /perms command so it gets handled by the Bukkit plugin
this.bootstrap.getProxy().getDisabledCommands().add("perms");
}
Aggregations