blob: 439c14d70e0072d666ddb788ff0a276c52e177a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.earth2me.essentials.commands;
import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.IEssentialsModule;
import com.earth2me.essentials.User;
import org.bukkit.Server;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
public interface IEssentialsCommand
{
String getName();
void run(Server server, User user, String commandLabel, Command cmd, String[] args)
throws Exception;
void run(Server server, CommandSender sender, String commandLabel, Command cmd, String[] args)
throws Exception;
void setEssentials(IEssentials ess);
void setEssentialsModule(IEssentialsModule module);
}
|