public class User extends Object implements Serializable
| Constructor and Description |
|---|
User(UUID id) |
User(UUID id,
org.bukkit.OfflinePlayer player) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
UUID |
getId() |
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 |
isNobody() |
boolean |
isOnline() |
boolean |
isOp() |
String |
toString() |
public static final User nobody
public User(UUID id)
public User(UUID id, org.bukkit.OfflinePlayer player)
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)
public boolean hasProtected(Material material)
public boolean hasLocked(Material material)
public boolean hasFriend(User user)
Copyright © 2015. All rights reserved.