| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OfflinePlayer
| Method Summary | |
|---|---|
 Location | 
getBedSpawnLocation()
Gets the Location where the player will spawn at their bed, null if they have not slept in one or their current bed spawn is invalid.  | 
 long | 
getFirstPlayed()
Gets the first date and time that this player was witnessed on this server.  | 
 long | 
getLastPlayed()
Gets the last date and time that this player was witnessed on this server.  | 
 String | 
getName()
Returns the name of this player  | 
 Player | 
getPlayer()
Gets a Player object that this represents, if there is one | 
 UUID | 
getUniqueId()
Returns the UUID of this player  | 
 boolean | 
hasPlayedBefore()
Checks if this player has played on this server before.  | 
 boolean | 
isBanned()
Checks if this player is banned or not  | 
 boolean | 
isOnline()
Checks if this player is currently online  | 
 boolean | 
isWhitelisted()
Checks if this player is whitelisted or not  | 
 void | 
setBanned(boolean banned)
Deprecated. Use BanList.addBan(String, String, Date,
     String) or BanList.pardon(String) to enhance
     functionality | 
 void | 
setWhitelisted(boolean value)
Sets if this player is whitelisted or not  | 
| Methods inherited from interface org.bukkit.permissions.ServerOperator | 
|---|
isOp, setOp | 
| Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable | 
|---|
serialize | 
| Method Detail | 
|---|
boolean isOnline()
String getName()
 Names are no longer unique past a single game session. For persistent storage
 it is recommended that you use getUniqueId() instead.
getName in interface AnimalTamerUUID getUniqueId()
getUniqueId in interface AnimalTamerboolean isBanned()
@Deprecated void setBanned(boolean banned)
BanList.addBan(String, String, Date,
     String) or BanList.pardon(String) to enhance
     functionality
banned - true if bannedboolean isWhitelisted()
void setWhitelisted(boolean value)
value - true if whitelistedPlayer getPlayer()
Player object that this represents, if there is one
 If the player is online, this will return that player. Otherwise, it will return null.
long getFirstPlayed()
If the player has never played before, this will return 0. Otherwise, it will be the amount of milliseconds since midnight, January 1, 1970 UTC.
long getLastPlayed()
If the player has never played before, this will return 0. Otherwise, it will be the amount of milliseconds since midnight, January 1, 1970 UTC.
boolean hasPlayedBefore()
Location getBedSpawnLocation()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||