Package com.djrapitops.plan.api
Class CommonAPI
java.lang.Object
com.djrapitops.plan.api.CommonAPI
- All Implemented Interfaces:
PlanAPI
Deprecated.
Plan API v4 has been deprecated, use the APIv5 instead (https://github.com/plan-player-analytics/Plan/wiki/APIv5).
PlanAPI extension for all implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.api.PlanAPI
PlanAPI.PlanAPIHolder
-
Constructor Summary
ConstructorDescriptionCommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPluginDataSource(PluginData pluginData)
Deprecated.fetchPlayerContainer(UUID uuid)
Deprecated.Fetch PlayerContainer from the database.fetchServerContainer(UUID serverUUID)
Deprecated.Fetch a ServerContainer from the database.Deprecated.Fetch server UUIDs.Deprecated.getPlayerInspectPageLink(String playerName)
Deprecated.getPlayerInspectPageLink(UUID uuid)
Deprecated.getPlayerName(UUID playerUUID)
Deprecated.playerNameToUUID(String playerName)
Deprecated.
-
Constructor Details
-
CommonAPI
@Inject public CommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)Deprecated.
-
-
Method Details
-
addPluginDataSource
Deprecated.- Specified by:
addPluginDataSource
in interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
playerNameToUUID
Deprecated.- Specified by:
playerNameToUUID
in interfacePlanAPI
-
getKnownPlayerNames
Deprecated.- Specified by:
getKnownPlayerNames
in interfacePlanAPI
-
fetchPlayerContainer
Deprecated.Description copied from interface:PlanAPI
Fetch PlayerContainer from the database.Blocking operation.
- Specified by:
fetchPlayerContainer
in interfacePlanAPI
- Parameters:
uuid
- UUID of the player.- Returns:
- a
PlayerContainer
.
-
fetchServerContainer
Deprecated.Description copied from interface:PlanAPI
Fetch a ServerContainer from the database.Blocking operation.
- Specified by:
fetchServerContainer
in interfacePlanAPI
- Parameters:
serverUUID
- UUID of the server.- Returns:
- a
ServerContainer
.
-
fetchServerUUIDs
Deprecated.Description copied from interface:PlanAPI
Fetch server UUIDs.- Specified by:
fetchServerUUIDs
in interfacePlanAPI
- Returns:
- All Plan server UUIDs.
-
getPlayerName
Deprecated.- Specified by:
getPlayerName
in interfacePlanAPI
-