2015-02-20 11:53:18 +01:00
|
|
|
package com.intellectualcrafters.plot.object;
|
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created 2015-02-20 for PlotSquared
|
|
|
|
*
|
|
|
|
* @author Citymonstret
|
|
|
|
*/
|
2015-02-20 12:23:48 +01:00
|
|
|
public interface PlotPlayer {
|
2015-04-06 14:16:24 +02:00
|
|
|
|
|
|
|
public long getPreviousLogin();
|
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public Location getLocation();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-23 12:37:36 +01:00
|
|
|
public Location getLocationFull();
|
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public UUID getUUID();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public boolean hasPermission(final String perm);
|
|
|
|
|
2015-02-23 02:32:27 +01:00
|
|
|
public void sendMessage(final String message);
|
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public void teleport(final Location loc);
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public boolean isOp();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-20 12:23:48 +01:00
|
|
|
public boolean isOnline();
|
2015-02-22 13:46:47 +01:00
|
|
|
|
2015-02-23 02:32:27 +01:00
|
|
|
public String getName();
|
|
|
|
|
2015-02-22 13:46:47 +01:00
|
|
|
public void setCompassTarget(Location loc);
|
2015-05-04 11:52:37 +02:00
|
|
|
|
|
|
|
public void setMeta(String key, Object value);
|
|
|
|
public Object getMeta(String key);
|
|
|
|
public void deleteMeta(String key);
|
2015-02-20 11:53:18 +01:00
|
|
|
}
|