mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-18 22:49:45 +00:00
![snowleo](/assets/img/avatar_default.png)
/spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins.
24 lines
655 B
Java
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);
|
|
}
|