summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/api/ICommandHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/net/ess3/api/ICommandHandler.java')
-rw-r--r--Essentials/src/net/ess3/api/ICommandHandler.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/Essentials/src/net/ess3/api/ICommandHandler.java b/Essentials/src/net/ess3/api/ICommandHandler.java
index b5ac9a290..8867f83d4 100644
--- a/Essentials/src/net/ess3/api/ICommandHandler.java
+++ b/Essentials/src/net/ess3/api/ICommandHandler.java
@@ -8,11 +8,31 @@ import org.bukkit.plugin.Plugin;
public interface ICommandHandler extends IReload, TabExecutor
{
+ /**
+ * Returns a map of disabled commands and the alternate command found
+ * String one is the name of the disabled command
+ * String two is the alternate that was found
+ * @return
+ */
Map<String, String> disabledCommands();
+ /**
+ *
+ * @param plugin the plugin to add
+ */
void removePlugin(Plugin plugin);
+ /**
+ *
+ * @param plugin the plugin to remove
+ */
void addPlugin(Plugin plugin);
+ /**
+ *
+ * @param sender
+ * @param commandLabel
+ * @param exception
+ */
void showCommandError(CommandSender sender, String commandLabel, Throwable exception);
}