public interface PlanAPI
Modifier and Type | Interface and Description |
---|---|
static class |
PlanAPI.PlanAPIHolder |
Modifier and Type | Method and Description |
---|---|
void |
addPluginDataSource(PluginData pluginData)
Deprecated.
PluginData API has been deprecated - see https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API for new API.
|
FetchOperations |
fetchFromPlanDB()
Deprecated.
FetchOperations interface is going to removed since it is too rigid.
|
PlayerContainer |
fetchPlayerContainer(java.util.UUID uuid)
Fetch PlayerContainer from the database.
|
ServerContainer |
fetchServerContainer(java.util.UUID serverUUID)
Fetch a ServerContainer from the database.
|
java.util.Collection<java.util.UUID> |
fetchServerUUIDs()
Fetch server UUIDs.
|
static PlanAPI |
getInstance() |
java.util.Map<java.util.UUID,java.lang.String> |
getKnownPlayerNames() |
java.lang.String |
getPlayerInspectPageLink(java.lang.String playerName) |
java.lang.String |
getPlayerInspectPageLink(java.util.UUID uuid) |
java.lang.String |
getPlayerName(java.util.UUID uuid) |
java.util.UUID |
playerNameToUUID(java.lang.String playerName) |
static PlanAPI getInstance()
@Deprecated void addPluginDataSource(PluginData pluginData)
java.lang.String getPlayerInspectPageLink(java.util.UUID uuid)
java.lang.String getPlayerInspectPageLink(java.lang.String playerName)
java.lang.String getPlayerName(java.util.UUID uuid)
java.util.UUID playerNameToUUID(java.lang.String playerName)
java.util.Map<java.util.UUID,java.lang.String> getKnownPlayerNames()
@Deprecated FetchOperations fetchFromPlanDB()
PlayerContainer fetchPlayerContainer(java.util.UUID uuid)
Blocking operation.
uuid
- UUID of the player.PlayerContainer
.ServerContainer fetchServerContainer(java.util.UUID serverUUID)
Blocking operation.
serverUUID
- UUID of the server.ServerContainer
.java.util.Collection<java.util.UUID> fetchServerUUIDs()