public class UserInfoQueries
extends java.lang.Object
UserInfo
objects.Modifier and Type | Method and Description |
---|---|
static Query<java.util.Map<java.util.UUID,java.util.List<UserInfo>>> |
fetchAllUserInformation()
Query database for user information.
|
static Query<java.util.Set<java.util.UUID>> |
fetchBannedUUIDsOfServer(java.util.UUID serverUUID)
Query database for UUIDs of banned players on a server.
|
static Query<java.util.Map<java.util.UUID,UserInfo>> |
fetchUserInformationOfServer(java.util.UUID serverUUID)
Query database for all User information of a specific server.
|
static Query<java.util.List<UserInfo>> |
fetchUserInformationOfUser(java.util.UUID playerUUID)
Query database for User information of a specific player.
|
public static Query<java.util.Map<java.util.UUID,java.util.List<UserInfo>>> fetchAllUserInformation()
The user information does not contain player names.
public static Query<java.util.List<UserInfo>> fetchUserInformationOfUser(java.util.UUID playerUUID)
playerUUID
- UUID of the player.public static Query<java.util.Map<java.util.UUID,UserInfo>> fetchUserInformationOfServer(java.util.UUID serverUUID)
serverUUID
- UUID of the Plan server.public static Query<java.util.Set<java.util.UUID>> fetchBannedUUIDsOfServer(java.util.UUID serverUUID)
serverUUID
- UUID of the Plan server.