use of com.djrapitops.plan.delivery.domain.mutators.PlayerKillMutator in project Plan by plan-player-analytics.
the class JSONFactory method serverPlayerKillsAsJSONMap.
public List<Map<String, Object>> serverPlayerKillsAsJSONMap(ServerUUID serverUUID) {
Database db = dbSystem.getDatabase();
List<PlayerKill> kills = db.query(KillQueries.fetchPlayerKillsOnServer(serverUUID, 100));
return new PlayerKillMutator(kills).toJSONAsMap(formatters);
}
Aggregations