TF-EssentialsX/Essentials/src/com/earth2me/essentials/commands/IEssentialsCommand.java
snowleo 019b49ef11 Updated EssentialsSpawn to use the new config code
/spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins.
2011-12-06 13:41:29 +01:00

24 lines
655 B
Java

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);
}