Class PerServerAggregateQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.PerServerAggregateQueries
Static method class for queries that count together counts for a player on a per server basis.
Example: Fetch how much a player has played on servers
-
Method Summary
Modifier and TypeMethodDescriptionstatic Query<Map<ServerUUID,Long>>
lastSeenOnServers(UUID playerUUID)
Find last seen date on servers.static Query<Map<ServerUUID,Integer>>
mobKillCountOnServers(UUID playerUUID)
Find mob kill count on servers.static Query<Map<ServerUUID,Integer>>
playerKillCountOnServers(UUID playerUUID)
Find player kill count on servers.static Query<Map<ServerUUID,Integer>>
totalDeathCountOnServers(UUID playerUUID)
-
Method Details
-
lastSeenOnServers
Find last seen date on servers.- Parameters:
playerUUID
- UUID of the player.- Returns:
- Map: Server UUID - Last seen epoch ms.
-
playerKillCountOnServers
Find player kill count on servers.- Parameters:
playerUUID
- UUID of the player.- Returns:
- Map: Server UUID - Player kill count
-
mobKillCountOnServers
Find mob kill count on servers.- Parameters:
playerUUID
- UUID of the player.- Returns:
- Map: Server UUID - Mob kill count
-
totalDeathCountOnServers
-