public class PlayerFetchQueries
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Query<java.lang.Boolean> |
isPlayerRegistered(java.util.UUID playerUUID)
Check if the player's BaseUser is registered.
|
static Query<java.lang.Boolean> |
isPlayerRegisteredOnServer(java.util.UUID playerUUID,
java.util.UUID serverUUID)
Check if the player's UserInfo is registered.
|
static Query<java.util.Optional<java.lang.String>> |
playerUserName(java.util.UUID playerUUID)
Query Player's name by player's UUID.
|
public static Query<java.util.Optional<java.lang.String>> playerUserName(java.util.UUID playerUUID)
playerUUID
- UUID of the player.public static Query<java.lang.Boolean> isPlayerRegistered(java.util.UUID playerUUID)
playerUUID
- UUID of the player.public static Query<java.lang.Boolean> isPlayerRegisteredOnServer(java.util.UUID playerUUID, java.util.UUID serverUUID)
playerUUID
- UUID of the player.serverUUID
- UUID of the Plan server.