Search in sources :

Example 1 with CommandManager

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");
}
Also used : CommandManager(me.lucko.luckperms.common.command.CommandManager)

Aggregations

CommandManager (me.lucko.luckperms.common.command.CommandManager)1