public class User extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
UUID |
getId() |
static User |
getInstance(UUID id) |
static User |
getInstance(UUID id,
org.bukkit.OfflinePlayer player) |
String |
getName()
Gets the last known name of the Player represented by this User
|
org.bukkit.OfflinePlayer |
getOfflinePlayer() |
org.bukkit.World |
getWorld() |
boolean |
hasAccess(Material material,
User owner) |
boolean |
hasAccess(Ownable ownable) |
boolean |
hasFriend(User user) |
int |
hashCode() |
boolean |
hasLocked(Material material) |
boolean |
hasProtected(Material material) |
boolean |
isIgnoring() |
boolean |
isNobody() |
boolean |
isOnline() |
boolean |
isOp() |
String |
toString() |
public static final User nobody
public UUID getId()
public boolean isOnline()
public boolean isOp()
public String getName()
public org.bukkit.OfflinePlayer getOfflinePlayer()
public org.bukkit.World getWorld()
public boolean isNobody()
public boolean hasAccess(Ownable ownable) throws InvalidWorldException
InvalidWorldExceptionpublic boolean hasProtected(Material material)
public boolean hasLocked(Material material)
public boolean hasFriend(User user)
public boolean isIgnoring()
Copyright © 2015. All rights reserved.