summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/api/ICommandHandler.java
blob: b515f9f38721d94ab9650ef7ac29fc99f371a375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.earth2me.essentials.api;

import com.earth2me.essentials.api.server.CommandSender;
import java.util.Map;
import org.bukkit.command.Command;
import org.bukkit.plugin.Plugin;


public interface ICommandHandler extends IReload
{
	Map<String, String> disabledCommands();

	public void removePlugin(Plugin plugin);

	public void addPlugin(Plugin plugin);

	boolean handleCommand(CommandSender sender, Command command, String commandLabel, String[] args);

	void showCommandError(CommandSender sender, String commandLabel, Throwable exception);
}