New Command mmoxpbar

This commit is contained in:
nossr50
2020-04-27 19:01:40 -07:00
parent 34fe19e35c
commit 2325c4eb6b
28 changed files with 251 additions and 12 deletions

View File

@@ -429,8 +429,16 @@ public final class CommandRegistrationManager {
command.setExecutor(new CompatibilityCommand());
}
private static void registerXPBarCommand() {
PluginCommand command = mcMMO.p.getCommand("mmoxpbar"); //TODO: Localize
command.setDescription(LocaleLoader.getString("Commands.Description.mmoxpbar"));
command.setUsage(LocaleLoader.formatString("Commands.Usage.1", "mmoxpbar", "<skillname | reset>", "<show | hide>"));
command.setExecutor(new XPBarCommand());
}
public static void registerCommands() {
// Generic Commands
registerXPBarCommand();
registerMmoInfoCommand();
registerMmoDebugCommand();
registerMcImportCommand();