Deprecated API
Contents
-
Deprecated ClassesClassDescriptionPlan API v4 has been deprecated, use the APIv5 instead (wiki).Plan API v4 has been deprecated, use the APIv5 instead (wiki).Plan API v4 has been deprecated, use the APIv5 instead (wiki).PluginData API has been deprecated - see wiki for new API.PluginData API has been deprecated - see wiki for new API.PluginData API has been deprecated - see wiki for new API.PluginData API has been deprecated - see wiki for new API.AnalysisContainer is no longer used.AnalysisContainer can no longer be obtained, so this is 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).Use /v1/datapoint instead (types PLAYTIME, AFK_TIME, AFK_TIME_PERCENTAGE).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).Use /v1/datapoint instead (types SERVER_OCCUPIED, PLAYTIME, AFK_TIME, AFK_TIME_PERCENTAGE, MOST_ACTIVE_GAMEMODE).Use /v1/playersTable instead, it is more efficient.Old implementation used this.This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.
-
Deprecated Enum ClassesEnum ClassDescriptionPluginData API has been deprecated - see wiki for new API.theme.yml is deprecated and with it any colors accessible in this enum. Use CSS color variables for use-cases instead, since they are only stable variables on the website.This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.
-
Deprecated FieldsFieldDescriptionJoin address is now stored in
JoinAddressTable, this column may become unreliable in the future.
-
Deprecated MethodsMethodDescriptionloginThreshold no longer used for activity index.PluginData API has been deprecated - see wiki for new API.Use
getWithIcon(String, Icon)insteadUsegetWithIcon(String, Icon)insteadUsesetPluginIcon(Icon)insteadUsesetPluginIcon(Icon)insteadNo longer used anywhere, no-op.During refactoring MethodAnnotations was removed. UsingExtensionExtractor.getMethods()instead.UseDataExtension.getPluginName()instead.JoinAddressValidatorshould be used when looking at join address.Join address is now stored inFinishedSession.getExtraData(), this method may become unreliable in the future.Deprecated due to use of custom ConfigDeprecated due to use of custom ConfigDeprecated due to use of custom ConfigDeprecated due to use of custom ConfigUse@Named("dataFolder") File, orPluginInformation.getDataFolder()This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.This Class exists to keep plugins that used PluginData from breaking.
-
Deprecated ConstructorsConstructorDescriptionUse newer constructor with IP address.Use newer constructor with IP address.WebUser now has username and player name.WebUser now stores the UUID of the linked userThis Class exists to keep plugins that used PluginData from breaking.
-
Deprecated Enum ConstantsEnum ConstantDescriptionNo longer supported on React pages, use the javascript API in PRE_MAIN_SCRIPT.