public interface OfflinePlayer
Modifier and Type | Method and Description |
---|---|
Optional<ServerInfo> |
getLastServer()
Returns the last known server where the player was.
|
String |
getName()
Returns the name of the player.
|
Optional<ProxiedPlayer> |
getPlayer()
Gets the specified offline player as a online player.
|
UUID |
getUniqueId()
Returns the unique id of the player.
|
boolean |
hasPlayedBefore()
Returns whenever this player has played before.
|
String getName()
getUniqueId()
for a key authenticationUUID getUniqueId()
boolean hasPlayedBefore()
true
if played, false
otherwiseOptional<ProxiedPlayer> getPlayer()
Optional<ServerInfo> getLastServer()
Copyright © 2019–2022. All rights reserved.