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

import com.earth2me.essentials.api.IEssentials;
import com.earth2me.essentials.api.IEssentialsModule;
import com.earth2me.essentials.api.IPermission;
import com.earth2me.essentials.api.IUser;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;


public interface IEssentialsCommand extends IPermission
{
	void run(IUser user, Command cmd, String commandLabel, String[] args)
			throws Exception;

	void run(CommandSender sender, Command cmd, String commandLabel, String[] args)
			throws Exception;

	void init(IEssentials ess, String commandLabel);

	void setEssentialsModule(IEssentialsModule module);
}