diff --git a/config/mv_checks.xml b/config/mv_checks.xml
index 0c660d8d..dfbb7328 100644
--- a/config/mv_checks.xml
+++ b/config/mv_checks.xml
@@ -69,7 +69,7 @@
-
+
diff --git a/pom.xml b/pom.xml
index d8d98f85..6f7da2e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,10 @@
CodeMC
https://repo.codemc.org/repository/maven-public
+
+ aikar
+ https://repo.aikar.co/content/groups/aikar/
+
@@ -256,6 +260,14 @@
de.themoep.idconverter
com.onarandombox.idconverter
+
+ co.aikar.commands
+ com.onarandombox.acf
+
+
+ co.aikar.locales
+ com.onarandombox.locales
+
@@ -312,6 +324,11 @@
+
+ co.aikar
+ acf-paper
+ 0.5.0-SNAPSHOT
+
com.pneumaticraft.commandhandler
CommandHandler
diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
index df00fbe6..c7c62ef8 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
@@ -7,21 +7,6 @@
package com.onarandombox.MultiverseCore;
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.UnsupportedEncodingException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.logging.Level;
-
import buscript.Buscript;
import com.dumptruckman.minecraft.util.Logging;
import com.onarandombox.MultiverseCore.MVWorld.NullLocation;
@@ -33,41 +18,7 @@ import com.onarandombox.MultiverseCore.api.MVWorldManager;
import com.onarandombox.MultiverseCore.api.MultiverseCoreConfig;
import com.onarandombox.MultiverseCore.api.MultiverseMessaging;
import com.onarandombox.MultiverseCore.api.SafeTTeleporter;
-import com.onarandombox.MultiverseCore.commands.AnchorCommand;
-import com.onarandombox.MultiverseCore.commands.CheckCommand;
-import com.onarandombox.MultiverseCore.commands.CloneCommand;
-import com.onarandombox.MultiverseCore.commands.ConfigCommand;
-import com.onarandombox.MultiverseCore.commands.ConfirmCommand;
-import com.onarandombox.MultiverseCore.commands.CoordCommand;
-import com.onarandombox.MultiverseCore.commands.CreateCommand;
-import com.onarandombox.MultiverseCore.commands.DebugCommand;
-import com.onarandombox.MultiverseCore.commands.DeleteCommand;
-import com.onarandombox.MultiverseCore.commands.EnvironmentCommand;
-import com.onarandombox.MultiverseCore.commands.GameruleCommand;
-import com.onarandombox.MultiverseCore.commands.GamerulesCommand;
-import com.onarandombox.MultiverseCore.commands.GeneratorCommand;
-import com.onarandombox.MultiverseCore.commands.HelpCommand;
-import com.onarandombox.MultiverseCore.commands.ImportCommand;
-import com.onarandombox.MultiverseCore.commands.InfoCommand;
-import com.onarandombox.MultiverseCore.commands.ListCommand;
-import com.onarandombox.MultiverseCore.commands.LoadCommand;
-import com.onarandombox.MultiverseCore.commands.ModifyAddCommand;
-import com.onarandombox.MultiverseCore.commands.ModifyClearCommand;
-import com.onarandombox.MultiverseCore.commands.ModifyCommand;
-import com.onarandombox.MultiverseCore.commands.ModifyRemoveCommand;
-import com.onarandombox.MultiverseCore.commands.ModifySetCommand;
-import com.onarandombox.MultiverseCore.commands.PurgeCommand;
-import com.onarandombox.MultiverseCore.commands.RegenCommand;
-import com.onarandombox.MultiverseCore.commands.ReloadCommand;
-import com.onarandombox.MultiverseCore.commands.RemoveCommand;
-import com.onarandombox.MultiverseCore.commands.ScriptCommand;
-import com.onarandombox.MultiverseCore.commands.SetSpawnCommand;
-import com.onarandombox.MultiverseCore.commands.SilentCommand;
-import com.onarandombox.MultiverseCore.commands.SpawnCommand;
-import com.onarandombox.MultiverseCore.commands.TeleportCommand;
-import com.onarandombox.MultiverseCore.commands.UnloadCommand;
-import com.onarandombox.MultiverseCore.commands.VersionCommand;
-import com.onarandombox.MultiverseCore.commands.WhoCommand;
+import com.onarandombox.MultiverseCore.commandtools.MVCommandManager;
import com.onarandombox.MultiverseCore.destination.AnchorDestination;
import com.onarandombox.MultiverseCore.destination.BedDestination;
import com.onarandombox.MultiverseCore.destination.CannonDestination;
@@ -94,14 +45,14 @@ import com.onarandombox.MultiverseCore.utils.MVMessaging;
import com.onarandombox.MultiverseCore.utils.MVPermissions;
import com.onarandombox.MultiverseCore.utils.MVPlayerSession;
import com.onarandombox.MultiverseCore.utils.MaterialConverter;
-import com.onarandombox.MultiverseCore.utils.TestingMode;
-import com.onarandombox.MultiverseCore.utils.metrics.MetricsConfigurator;
import com.onarandombox.MultiverseCore.utils.SimpleBlockSafety;
import com.onarandombox.MultiverseCore.utils.SimpleLocationManipulation;
import com.onarandombox.MultiverseCore.utils.SimpleSafeTTeleporter;
+import com.onarandombox.MultiverseCore.utils.TestingMode;
import com.onarandombox.MultiverseCore.utils.UnsafeCallWrapper;
import com.onarandombox.MultiverseCore.utils.VaultHandler;
import com.onarandombox.MultiverseCore.utils.WorldManager;
+import com.onarandombox.MultiverseCore.utils.metrics.MetricsConfigurator;
import com.pneumaticraft.commandhandler.CommandHandler;
import me.main__.util.SerializationConfig.NoSuchPropertyException;
import me.main__.util.SerializationConfig.SerializationConfig;
@@ -109,7 +60,6 @@ import org.bukkit.ChatColor;
import org.bukkit.Difficulty;
import org.bukkit.GameMode;
import org.bukkit.Location;
-import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.Configuration;
import org.bukkit.configuration.ConfigurationSection;
@@ -122,6 +72,19 @@ import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.plugin.java.JavaPluginLoader;
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.UnsupportedEncodingException;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.logging.Level;
+
/**
* The implementation of the Multiverse-{@link Core}.
*/
@@ -203,7 +166,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
}
// Setup our Map for our Commands using the CommandHandler.
- private CommandHandler commandHandler;
+ private MVCommandManager commandManager;
private static final String LOG_TAG = "[Multiverse-Core]";
@@ -287,9 +250,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
this.ph = new MVPermissions(this);
// Setup the command manager
- this.commandHandler = new CommandHandler(this, this.ph);
- // Call the Function to assign all the Commands to their Class.
- this.registerCommands();
+ this.commandManager = new MVCommandManager(this);
// Initialize the Destination factor AFTER the commands
this.initializeDestinationFactory();
@@ -744,51 +705,6 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
return this.messaging;
}
- /**
- * Register Multiverse-Core commands to Command Manager.
- */
- private void registerCommands() {
- // Intro Commands
- this.commandHandler.registerCommand(new HelpCommand(this));
- this.commandHandler.registerCommand(new VersionCommand(this));
- this.commandHandler.registerCommand(new ListCommand(this));
- this.commandHandler.registerCommand(new InfoCommand(this));
- this.commandHandler.registerCommand(new CreateCommand(this));
- this.commandHandler.registerCommand(new CloneCommand(this));
- this.commandHandler.registerCommand(new ImportCommand(this));
- this.commandHandler.registerCommand(new ReloadCommand(this));
- this.commandHandler.registerCommand(new SetSpawnCommand(this));
- this.commandHandler.registerCommand(new CoordCommand(this));
- this.commandHandler.registerCommand(new TeleportCommand(this));
- this.commandHandler.registerCommand(new WhoCommand(this));
- this.commandHandler.registerCommand(new SpawnCommand(this));
- // Dangerous Commands
- this.commandHandler.registerCommand(new UnloadCommand(this));
- this.commandHandler.registerCommand(new LoadCommand(this));
- this.commandHandler.registerCommand(new RemoveCommand(this));
- this.commandHandler.registerCommand(new DeleteCommand(this));
- this.commandHandler.registerCommand(new RegenCommand(this));
- this.commandHandler.registerCommand(new ConfirmCommand(this));
- // Modification commands
- this.commandHandler.registerCommand(new ModifyCommand(this));
- this.commandHandler.registerCommand(new PurgeCommand(this));
- this.commandHandler.registerCommand(new ModifyAddCommand(this));
- this.commandHandler.registerCommand(new ModifySetCommand(this));
- this.commandHandler.registerCommand(new ModifyRemoveCommand(this));
- this.commandHandler.registerCommand(new ModifyClearCommand(this));
- this.commandHandler.registerCommand(new ConfigCommand(this));
- this.commandHandler.registerCommand(new AnchorCommand(this));
- // Misc Commands
- this.commandHandler.registerCommand(new EnvironmentCommand(this));
- this.commandHandler.registerCommand(new DebugCommand(this));
- this.commandHandler.registerCommand(new SilentCommand(this));
- this.commandHandler.registerCommand(new GeneratorCommand(this));
- this.commandHandler.registerCommand(new CheckCommand(this));
- this.commandHandler.registerCommand(new ScriptCommand(this));
- this.commandHandler.registerCommand(new GameruleCommand(this));
- this.commandHandler.registerCommand(new GamerulesCommand(this));
- }
-
/**
* {@inheritDoc}
*/
@@ -819,30 +735,6 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
return this.ph;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
- if (!this.isEnabled()) {
- sender.sendMessage("This plugin is Disabled!");
- return true;
- }
- ArrayList allArgs = new ArrayList(Arrays.asList(args));
- allArgs.add(0, command.getName());
- try {
- return this.commandHandler.locateAndRunCommand(sender, allArgs, getMVConfig().getDisplayPermErrors());
- } catch (Exception e) {
- e.printStackTrace();
- sender.sendMessage(ChatColor.RED + "An internal error occurred when attempting to perform this command.");
- if (sender.isOp())
- sender.sendMessage(ChatColor.RED + "Details were printed to the server console and logs, please add that to your bug report.");
- else
- sender.sendMessage(ChatColor.RED + "Try again and contact the server owner or an admin if this problem persists.");
- return true;
- }
- }
-
/**
* {@inheritDoc}
*
@@ -913,8 +805,8 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
* {@inheritDoc}
*/
@Override
- public CommandHandler getCommandHandler() {
- return this.commandHandler;
+ public MVCommandManager getCommandManager() {
+ return this.commandManager;
}
/**
diff --git a/src/main/java/com/onarandombox/MultiverseCore/api/Core.java b/src/main/java/com/onarandombox/MultiverseCore/api/Core.java
index ff8513d4..b54ab716 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/api/Core.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/api/Core.java
@@ -8,6 +8,7 @@
package com.onarandombox.MultiverseCore.api;
import buscript.Buscript;
+import com.onarandombox.MultiverseCore.commandtools.MVCommandManager;
import com.onarandombox.MultiverseCore.destination.DestinationFactory;
import com.onarandombox.MultiverseCore.utils.AnchorManager;
import com.onarandombox.MultiverseCore.utils.MVEconomist;
@@ -79,12 +80,12 @@ public interface Core {
MVPermissions getMVPerms();
/**
- * Multiverse uses {@link CommandHandler} to make adding and using commands
+ * Multiverse uses {@link MVCommandManager} to make adding and using commands
* a piece of cake.
*
- * @return A non-null {@link CommandHandler}.
+ * @return A non-null {@link MVCommandManager}.
*/
- CommandHandler getCommandHandler();
+ MVCommandManager getCommandManager();
/**
* Gets the factory class responsible for loading many different destinations
diff --git a/src/main/java/com/onarandombox/MultiverseCore/api/MultiversePlugin.java b/src/main/java/com/onarandombox/MultiverseCore/api/MultiversePlugin.java
index a6a064b8..69d5f675 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/api/MultiversePlugin.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/api/MultiversePlugin.java
@@ -96,25 +96,6 @@ public abstract class MultiversePlugin extends JavaPlugin implements MVPlugin {
*/
protected abstract void onPluginEnable();
- /**
- * You can register commands here.
- * @param handler The CommandHandler.
- */
- protected abstract void registerCommands(CommandHandler handler);
-
- @Override
- public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
- if (!this.isEnabled()) {
- sender.sendMessage("This plugin is Disabled!");
- return true;
- }
-
- ArrayList allArgs = new ArrayList(args.length + 1);
- allArgs.add(command.getName());
- allArgs.addAll(Arrays.asList(args));
- return this.getCore().getCommandHandler().locateAndRunCommand(sender, allArgs);
- }
-
@Override
public void log(Level level, String msg) {
int debugLevel = this.getCore().getMVConfig().getGlobalDebug();
diff --git a/src/main/java/com/onarandombox/MultiverseCore/api/PermissionsInterface.java b/src/main/java/com/onarandombox/MultiverseCore/api/PermissionsInterface.java
new file mode 100644
index 00000000..758ea87b
--- /dev/null
+++ b/src/main/java/com/onarandombox/MultiverseCore/api/PermissionsInterface.java
@@ -0,0 +1,13 @@
+package com.onarandombox.MultiverseCore.api;
+
+import org.bukkit.command.CommandSender;
+
+import java.util.List;
+
+public interface PermissionsInterface {
+ public boolean hasPermission(CommandSender sender, String node, boolean isOpRequired);
+
+ public boolean hasAnyPermission(CommandSender sender, List allPermissionStrings, boolean opRequired);
+
+ public boolean hasAllPermission(CommandSender sender, List allPermissionStrings, boolean opRequired);
+}
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/MultiverseCoreCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/MultiverseCoreCommand.java
new file mode 100644
index 00000000..e7f2adb4
--- /dev/null
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands/MultiverseCoreCommand.java
@@ -0,0 +1,16 @@
+package com.onarandombox.MultiverseCore.commands;
+
+import com.onarandombox.MultiverseCore.MultiverseCore;
+import com.onarandombox.MultiverseCore.commandtools.MultiverseCommand;
+
+/**
+ * Generic multiverse core command with handy reference to the plugin instance.
+ */
+public abstract class MultiverseCoreCommand extends MultiverseCommand {
+
+ protected final MultiverseCore plugin;
+
+ protected MultiverseCoreCommand(MultiverseCore plugin) {
+ this.plugin = plugin;
+ }
+}
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/package-info.java b/src/main/java/com/onarandombox/MultiverseCore/commands/package-info.java
deleted file mode 100644
index 53d7f9b3..00000000
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * This package contains all Commands.
- */
-package com.onarandombox.MultiverseCore.commands;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/AnchorCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/AnchorCommand.java
similarity index 99%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/AnchorCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/AnchorCommand.java
index 55d0b2cf..4cb2a191 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/AnchorCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/AnchorCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import org.bukkit.ChatColor;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/CheckCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CheckCommand.java
similarity index 98%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/CheckCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/CheckCommand.java
index 7bc4ba48..0d057713 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/CheckCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CheckCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import com.onarandombox.MultiverseCore.api.MVDestination;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/CloneCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CloneCommand.java
similarity index 97%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/CloneCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/CloneCommand.java
index 95a0bf14..608fc171 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/CloneCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CloneCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import java.util.List;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/ConfigCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfigCommand.java
similarity index 98%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/ConfigCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfigCommand.java
index 55424a94..90a80a79 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/ConfigCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfigCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import org.bukkit.ChatColor;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/ConfirmCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfirmCommand.java
similarity index 91%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/ConfirmCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfirmCommand.java
index 2a68f353..e90252e3 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/ConfirmCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/ConfirmCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import org.bukkit.command.CommandSender;
@@ -33,7 +33,7 @@ public class ConfirmCommand extends MultiverseCommand {
@Override
public void runCommand(CommandSender sender, List args) {
- this.plugin.getCommandHandler().confirmQueuedCommand(sender);
+ // this.plugin.getCommandHandler().confirmQueuedCommand(sender);
}
}
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/CoordCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CoordCommand.java
similarity index 97%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/CoordCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/CoordCommand.java
index 485cc370..472c5654 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/CoordCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CoordCommand.java
@@ -5,13 +5,12 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import com.onarandombox.MultiverseCore.api.MVWorldManager;
import com.onarandombox.MultiverseCore.api.MultiverseWorld;
import org.bukkit.ChatColor;
-import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CreateCommand.java
similarity index 99%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/CreateCommand.java
index 87bdacab..f528125d 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/CreateCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import com.onarandombox.MultiverseCore.api.MVWorldManager;
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/DebugCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/DebugCommand.java
similarity index 97%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/DebugCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/DebugCommand.java
index b2ccd99e..ae91229d 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/DebugCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/DebugCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.dumptruckman.minecraft.util.Logging;
import com.onarandombox.MultiverseCore.MultiverseCore;
@@ -14,7 +14,6 @@ import org.bukkit.command.CommandSender;
import org.bukkit.permissions.PermissionDefault;
import java.util.List;
-import java.util.logging.Level;
/**
* Enables debug-information.
diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/DeleteCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands_old/DeleteCommand.java
similarity index 80%
rename from src/main/java/com/onarandombox/MultiverseCore/commands/DeleteCommand.java
rename to src/main/java/com/onarandombox/MultiverseCore/commands_old/DeleteCommand.java
index 2e7b3c8b..0fbcf0a2 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/commands/DeleteCommand.java
+++ b/src/main/java/com/onarandombox/MultiverseCore/commands_old/DeleteCommand.java
@@ -5,7 +5,7 @@
* with this project. *
******************************************************************************/
-package com.onarandombox.MultiverseCore.commands;
+package com.onarandombox.MultiverseCore.commands_old;
import com.onarandombox.MultiverseCore.MultiverseCore;
import org.bukkit.ChatColor;
@@ -37,9 +37,9 @@ public class DeleteCommand extends MultiverseCommand {
Class>[] paramTypes = {String.class};
List