25 lines
849 B
Java
25 lines
849 B
Java
/*
|
|
* Copyright (c) 2013-present RedisBungee contributors
|
|
*
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* which accompanies this distribution, and is available at
|
|
*
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
*/
|
|
|
|
package com.imaginarycode.minecraft.redisbungee.commands;
|
|
|
|
import co.aikar.commands.CommandManager;
|
|
import com.imaginarycode.minecraft.redisbungee.api.RedisBungeePlugin;
|
|
|
|
public class CommandLoader {
|
|
|
|
public static void initCommands(CommandManager<?, ?, ?, ?, ?, ?> commandManager, RedisBungeePlugin<?> plugin) {
|
|
commandManager.registerCommand(new CommandRedisBungee(plugin));
|
|
// todo: config options to disable each command
|
|
commandManager.registerCommand(new LegacyRedisBungeeCommands(plugin));
|
|
}
|
|
|
|
}
|