TF-EssentialsX/Essentials/src/com/earth2me/essentials/commands/IEssentialsCommand.java

27 lines
904 B
Java
Raw Normal View History

package com.earth2me.essentials.commands;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.IEssentialsModule;
import com.earth2me.essentials.User;
2013-10-11 02:44:41 +00:00
import net.ess3.api.IEssentials;
2011-11-18 17:42:26 +00:00
import org.bukkit.Server;
import org.bukkit.command.Command;
import java.util.List;
2015-04-15 04:06:16 +00:00
public interface IEssentialsCommand {
String getName();
2015-04-15 04:06:16 +00:00
void run(Server server, User user, String commandLabel, Command cmd, String[] args) throws Exception;
2015-04-15 04:06:16 +00:00
void run(Server server, CommandSource sender, String commandLabel, Command cmd, String[] args) throws Exception;
List<String> tabComplete(Server server, User user, String commandLabel, Command cmd, String[] args);
List<String> tabComplete(Server server, CommandSource sender, String commandLabel, Command cmd, String[] args);
2015-04-15 04:06:16 +00:00
void setEssentials(IEssentials ess);
2015-04-15 04:06:16 +00:00
void setEssentialsModule(IEssentialsModule module);
}