Package com.djrapitops.plan.api
Class CommonAPI
java.lang.Object
com.djrapitops.plan.api.CommonAPI
- All Implemented Interfaces:
PlanAPI
@Singleton
@Deprecated(forRemoval=true,
since="5.0")
public class CommonAPI
extends Object
implements PlanAPI
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPluginDataSource
(PluginData pluginData) Deprecated, for removal: This API element is subject to removal in a future version.fetchPlayerContainer
(UUID uuid) Deprecated, for removal: This API element is subject to removal in a future version.Fetch PlayerContainer from the database.fetchServerContainer
(UUID serverUUID) Deprecated, for removal: This API element is subject to removal in a future version.Fetch a ServerContainer from the database.Deprecated, for removal: This API element is subject to removal in a future version.Fetch server UUIDs.Deprecated, for removal: This API element is subject to removal in a future version.getPlayerInspectPageLink
(String playerName) Deprecated, for removal: This API element is subject to removal in a future version.getPlayerInspectPageLink
(UUID uuid) Deprecated, for removal: This API element is subject to removal in a future version.getPlayerName
(UUID playerUUID) Deprecated, for removal: This API element is subject to removal in a future version.playerNameToUUID
(String playerName) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
CommonAPI
@Inject public CommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
addPluginDataSource
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addPluginDataSource
in interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
playerNameToUUID
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
playerNameToUUID
in interfacePlanAPI
-
getKnownPlayerNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getKnownPlayerNames
in interfacePlanAPI
-
fetchPlayerContainer
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Description copied from interface:PlanAPI
Fetch server UUIDs.- Specified by:
fetchServerUUIDs
in interfacePlanAPI
- Returns:
- All Plan server UUIDs.
-
getPlayerName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerName
in interfacePlanAPI
-