From 9ecf79cbc891400602a337c673e4a1647de3ac5d Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 19 Oct 2023 16:56:05 +0300 Subject: [PATCH] new front update 3 --- src/main/java/app/entities/Stats.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/java/app/entities/Stats.java b/src/main/java/app/entities/Stats.java index 29da757..f4b0ba4 100644 --- a/src/main/java/app/entities/Stats.java +++ b/src/main/java/app/entities/Stats.java @@ -66,6 +66,23 @@ public class Stats { case "statistic": return new HashMap<>(){{put(value, getStatistic());}}; case "servers": return new HashMap<>(){{put(value, getServers());}}; case "uniq": return new HashMap<>(){{put(value, getUniq());}}; + case "donate": return new HashMap<>(){{ + put(value, getDonate()); + put("freevip_players", getFreevip_players()); + put("vip_players", getVip_players()); + }}; + case "updates": return new HashMap<>(){{put(value, getUpdates());}}; + case "countries": return new HashMap<>(){{put(value, getCountries());}}; + case "social": return new HashMap<>(){{ + put("discord_users", getDiscord_users()); + put("vk_users", getVk_users()); + }}; + case "other": return new HashMap<>(){{ + put("ban_count", getBan_count()); + put("server_uptime", getServer_uptime()); + put("builddate", getBuilddate()); + put("updates", getUpdates()); + }}; default: return new HashMap<>(); } }