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 (wiki).
PlanAPI extension for all implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.api.PlanAPI
PlanAPI.PlanAPIHolder -
Constructor Summary
ConstructorsConstructorDescriptionCommonAPI(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 TypeMethodDescriptionvoidaddPluginDataSource(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:
addPluginDataSourcein interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerInspectPageLinkin interfacePlanAPI
-
getPlayerInspectPageLink
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerInspectPageLinkin interfacePlanAPI
-
playerNameToUUID
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
playerNameToUUIDin interfacePlanAPI
-
getKnownPlayerNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getKnownPlayerNamesin interfacePlanAPI
-
fetchPlayerContainer
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PlanAPIFetch PlayerContainer from the database.Blocking operation.
- Specified by:
fetchPlayerContainerin 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:PlanAPIFetch a ServerContainer from the database.Blocking operation.
- Specified by:
fetchServerContainerin 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:PlanAPIFetch server UUIDs.- Specified by:
fetchServerUUIDsin interfacePlanAPI- Returns:
- All Plan server UUIDs.
-
getPlayerName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPlayerNamein interfacePlanAPI
-