Browse Source

new front update 3

master
gsd 1 year ago
parent
commit
9ecf79cbc8
  1. 17
      src/main/java/app/entities/Stats.java

17
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<>();
}
}

Loading…
Cancel
Save