mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 12:23:59 +00:00
26 lines
904 B
Java
26 lines
904 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;
|
|
import java.util.List;
|
|
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
void setEssentials(IEssentials ess);
|
|
|
|
void setEssentialsModule(IEssentialsModule module);
|
|
}
|