Class ServerOverviewJSONCreator
java.lang.Object
com.djrapitops.plan.delivery.rendering.json.ServerOverviewJSONCreator
- All Implemented Interfaces:
ServerTabJSONCreator<Map<String,Object>>, Function<ServerUUID, Map<String, Object>>
@Singleton
@Deprecated(since="2026-04-27 / 5.7 build 3400")
public class ServerOverviewJSONCreator
extends Object
implements ServerTabJSONCreator<Map<String,Object>>
Deprecated.
Use /v1/datapoint instead (types UNIQUE_PLAYERS, NEW_PLAYERS, REGULAR_PLAYERS, UPTIME_CURRENT, PLAYERS_ONLINE, PLAYTIME, PLAYTIME_PER_PLAYER_AVERAGE, SESSION_LENGTH_AVERAGE, PLAYER_KILLS, MOB_KILLS, DEATHS, DOWNTIME, TPS_AVERAGE, NEW_PLAYER_RETENTION, UNIQUE_PLAYERS_AVERAGE, TPS_LOW_SPIKES).
Creates JSON payload for /server-page Server Overview tab.
-
Constructor Summary
ConstructorsConstructorDescriptionServerOverviewJSONCreator(PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, ServerSensor<?> serverSensor, net.playeranalytics.plugin.server.PluginLogger logger, Locale locale, ServerUptimeCalculator serverUptimeCalculator, Formatters formatters) Deprecated. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServerTabJSONCreator
apply
-
Constructor Details
-
ServerOverviewJSONCreator
@Inject public ServerOverviewJSONCreator(PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, ServerSensor<?> serverSensor, net.playeranalytics.plugin.server.PluginLogger logger, Locale locale, ServerUptimeCalculator serverUptimeCalculator, Formatters formatters) Deprecated.
-
-
Method Details
-
createJSONAsMap
Deprecated.- Specified by:
createJSONAsMapin interfaceServerTabJSONCreator<Map<String,Object>>
-