public class ContainerFetchQueries
extends java.lang.Object
DataContainer
.Modifier and Type | Method and Description |
---|---|
static Query<java.util.List<PlayerContainer>> |
fetchAllPlayerContainers()
Used to get PlayerContainers of all players on the network, some limitations apply to DataContainer keys.
|
static Query<NetworkContainer> |
fetchNetworkContainer()
Used to get a NetworkContainer, some limitations apply to values returned by DataContainer keys.
|
static Query<PlayerContainer> |
fetchPlayerContainer(java.util.UUID playerUUID)
Used to get a PlayerContainer of a specific player.
|
static Query<ServerContainer> |
fetchServerContainer(java.util.UUID serverUUID)
Used to get a ServerContainer, some limitations apply to values returned by DataContainer keys.
|
public static Query<NetworkContainer> fetchNetworkContainer()
NetworkContainerQuery
public static Query<ServerContainer> fetchServerContainer(java.util.UUID serverUUID)
serverUUID
- UUID of the Server.ServerContainerQuery
public static Query<PlayerContainer> fetchPlayerContainer(java.util.UUID playerUUID)
Blocking methods are not called until DataContainer getter methods are called.
playerUUID
- UUID of the player.PlayerContainerQuery
public static Query<java.util.List<PlayerContainer>> fetchAllPlayerContainers()
Limitations: - PlayerContainers do not support: PlayerKeys WORLD_TIMES, PLAYER_KILLS, PLAYER_KILL_COUNT - PlayerContainers PlayerKeys.PER_SERVER does not support: PerServerKeys WORLD_TIMES, PLAYER_KILLS, PLAYER_KILL_COUNT
Blocking methods are not called until DataContainer getter methods are called.