mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 13:19:33 +00:00
25 lines
649 B
Java
25 lines
649 B
Java
package com.earth2me.essentials.commands;
|
|
|
|
import com.earth2me.essentials.CommandSource;
|
|
import com.earth2me.essentials.IEssentialsModule;
|
|
import com.earth2me.essentials.User;
|
|
import net.ess3.api.IEssentials;
|
|
import org.bukkit.Server;
|
|
import org.bukkit.command.Command;
|
|
|
|
|
|
public interface IEssentialsCommand
|
|
{
|
|
String getName();
|
|
|
|
void run(Server server, User user, String commandLabel, Command cmd, String[] args)
|
|
throws Exception;
|
|
|
|
void run(Server server, CommandSource sender, String commandLabel, Command cmd, String[] args)
|
|
throws Exception;
|
|
|
|
void setEssentials(IEssentials ess);
|
|
|
|
void setEssentialsModule(IEssentialsModule module);
|
|
}
|