public class UserIdentifierQueries
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Query<java.util.Map<java.util.UUID,java.lang.String>> |
fetchAllPlayerNames()
Query database for a Map for all UUIDs and Player names.
|
static Query<java.util.Set<java.util.UUID>> |
fetchAllPlayerUUIDs()
Query database for all player UUIDs stored in the Plan database.
|
static Query<java.util.List<java.lang.String>> |
fetchMatchingPlayerNames(java.lang.String searchFor) |
static Query<java.util.Optional<java.lang.String>> |
fetchPlayerNameOf(java.util.UUID playerUUID)
Query database for a Player name matching a specific player's UUID.
|
static Query<java.util.Optional<java.util.UUID>> |
fetchPlayerUUIDOf(java.lang.String playerName)
Query database for a Player UUID matching a specific player's name.
|
static Query<java.util.Set<java.util.UUID>> |
fetchPlayerUUIDsOfServer(java.util.UUID serverUUID)
Query database for all player UUIDs that have joined a server.
|
public static Query<java.util.Set<java.util.UUID>> fetchAllPlayerUUIDs()
public static Query<java.util.Set<java.util.UUID>> fetchPlayerUUIDsOfServer(java.util.UUID serverUUID)
serverUUID
- UUID of the Plan server.public static Query<java.util.Map<java.util.UUID,java.lang.String>> fetchAllPlayerNames()
public static Query<java.util.Optional<java.util.UUID>> fetchPlayerUUIDOf(java.lang.String playerName)
playerName
- Name of the player, case does not matter.public static Query<java.util.Optional<java.lang.String>> fetchPlayerNameOf(java.util.UUID playerUUID)
playerUUID
- UUID of the Playerpublic static Query<java.util.List<java.lang.String>> fetchMatchingPlayerNames(java.lang.String searchFor)