Class PlayerFetchQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.PlayerFetchQueries
Static method class for queries that return information related to a single player.
-
Method Summary
Modifier and TypeMethodDescriptionfetchRegisterDate(UUID playerUUID)
isPlayerRegistered(UUID playerUUID)
Check if the player's BaseUser is registered.isPlayerRegisteredOnServer(UUID playerUUID, ServerUUID serverUUID)
Check if the player's UserInfo is registered.playerUserName(UUID playerUUID)
Query Player's name by player's UUID.
-
Method Details
-
playerUserName
Query Player's name by player's UUID.- Parameters:
playerUUID
- UUID of the player.- Returns:
- Optional, Name if found.
-
isPlayerRegistered
Check if the player's BaseUser is registered.- Parameters:
playerUUID
- UUID of the player.- Returns:
- True if the player's BaseUser is found
-
isPlayerRegisteredOnServer
Check if the player's UserInfo is registered.- Parameters:
playerUUID
- UUID of the player.serverUUID
- UUID of the Plan server.- Returns:
- True if the player's UserInfo is found
-
fetchRegisterDate
-