mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-21 16:05:03 +00:00
49 lines
953 B
Java
49 lines
953 B
Java
package com.earth2me.essentials;
|
|
|
|
import com.earth2me.essentials.commands.IEssentialsCommand;
|
|
import java.net.InetSocketAddress;
|
|
import org.bukkit.Location;
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.inventory.PlayerInventory;
|
|
|
|
|
|
/**
|
|
* @deprecated This will be moved to the api package soon
|
|
*/
|
|
@Deprecated
|
|
public interface IUser extends Player
|
|
{
|
|
long getLastTeleportTimestamp();
|
|
|
|
boolean isAuthorized(String node);
|
|
|
|
boolean isAuthorized(IEssentialsCommand cmd);
|
|
|
|
boolean isAuthorized(IEssentialsCommand cmd, String permissionPrefix);
|
|
|
|
void setLastTeleportTimestamp(long time);
|
|
|
|
Location getLastLocation();
|
|
|
|
Player getBase();
|
|
|
|
double getMoney();
|
|
|
|
void takeMoney(double value);
|
|
|
|
void giveMoney(double value);
|
|
|
|
String getGroup();
|
|
|
|
void setLastLocation();
|
|
|
|
Location getHome(String name) throws Exception;
|
|
|
|
Location getHome(Location loc) throws Exception;
|
|
|
|
boolean isHidden();
|
|
|
|
Teleport getTeleport();
|
|
|
|
void setJail(String jail);
|
|
}
|