PlanAPI.PlanAPIHolder
Constructor and Description |
---|
CommonAPI(DBSystem dbSystem,
UUIDUtility uuidUtility,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addPluginDataSource(PluginData pluginData)
Deprecated.
|
PlayerContainer |
fetchPlayerContainer(java.util.UUID uuid)
Deprecated.
Fetch PlayerContainer from the database.
|
ServerContainer |
fetchServerContainer(java.util.UUID serverUUID)
Deprecated.
Fetch a ServerContainer from the database.
|
java.util.Collection<java.util.UUID> |
fetchServerUUIDs()
Deprecated.
Fetch server UUIDs.
|
java.util.Map<java.util.UUID,java.lang.String> |
getKnownPlayerNames()
Deprecated.
|
java.lang.String |
getPlayerInspectPageLink(java.lang.String playerName)
Deprecated.
|
java.lang.String |
getPlayerInspectPageLink(java.util.UUID uuid)
Deprecated.
|
java.lang.String |
getPlayerName(java.util.UUID playerUUID)
Deprecated.
|
java.util.UUID |
playerNameToUUID(java.lang.String playerName)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
@Inject public CommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void addPluginDataSource(PluginData pluginData)
addPluginDataSource
in interface PlanAPI
public java.lang.String getPlayerInspectPageLink(java.util.UUID uuid)
getPlayerInspectPageLink
in interface PlanAPI
public java.lang.String getPlayerInspectPageLink(java.lang.String playerName)
getPlayerInspectPageLink
in interface PlanAPI
public java.util.UUID playerNameToUUID(java.lang.String playerName)
playerNameToUUID
in interface PlanAPI
public java.util.Map<java.util.UUID,java.lang.String> getKnownPlayerNames()
getKnownPlayerNames
in interface PlanAPI
public PlayerContainer fetchPlayerContainer(java.util.UUID uuid)
PlanAPI
Blocking operation.
fetchPlayerContainer
in interface PlanAPI
uuid
- UUID of the player.PlayerContainer
.public ServerContainer fetchServerContainer(java.util.UUID serverUUID)
PlanAPI
Blocking operation.
fetchServerContainer
in interface PlanAPI
serverUUID
- UUID of the server.ServerContainer
.public java.util.Collection<java.util.UUID> fetchServerUUIDs()
PlanAPI
fetchServerUUIDs
in interface PlanAPI
public java.lang.String getPlayerName(java.util.UUID playerUUID)
getPlayerName
in interface PlanAPI