mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-13 12:38:58 +00:00
![snowleo](/assets/img/avatar_default.png)
Found using PMD and FindBugs. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
51 lines
859 B
Java
51 lines
859 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;
|
|
|
|
|
|
public interface IUser
|
|
{
|
|
int getHealth();
|
|
|
|
Location getLocation();
|
|
|
|
boolean isOnline();
|
|
|
|
void sendMessage(String string);
|
|
|
|
long getLastTeleportTimestamp();
|
|
|
|
boolean isAuthorized(String node);
|
|
|
|
boolean isAuthorized(IEssentialsCommand cmd);
|
|
|
|
void setLastTeleportTimestamp(long time);
|
|
|
|
Location getLastLocation();
|
|
|
|
Player getBase();
|
|
|
|
double getMoney();
|
|
|
|
void takeMoney(double value);
|
|
|
|
PlayerInventory getInventory();
|
|
|
|
void updateInventory();
|
|
|
|
String getGroup();
|
|
|
|
void setLastLocation();
|
|
|
|
Location getHome(Location location);
|
|
|
|
String getName();
|
|
|
|
InetSocketAddress getAddress();
|
|
|
|
String getDisplayName();
|
|
}
|