Interface PlanAPI

  • All Known Implementing Classes:
    CommonAPI

    @Deprecated
    public interface PlanAPI
    Deprecated.
    Plan API v4 has been deprecated, use the APIv5 instead (https://github.com/plan-player-analytics/Plan/wiki/APIv5).
    Interface for PlanAPI methods.
    • Method Detail

      • getInstance

        static PlanAPI getInstance()
        Deprecated.
      • addPluginDataSource

        @Deprecated
        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.
      • getPlayerInspectPageLink

        java.lang.String getPlayerInspectPageLink​(java.util.UUID uuid)
        Deprecated.
      • getPlayerInspectPageLink

        java.lang.String getPlayerInspectPageLink​(java.lang.String playerName)
        Deprecated.
      • getPlayerName

        java.lang.String getPlayerName​(java.util.UUID uuid)
        Deprecated.
      • playerNameToUUID

        java.util.UUID playerNameToUUID​(java.lang.String playerName)
        Deprecated.
      • getKnownPlayerNames

        java.util.Map<java.util.UUID,​java.lang.String> getKnownPlayerNames()
        Deprecated.
      • fetchPlayerContainer

        PlayerContainer fetchPlayerContainer​(java.util.UUID uuid)
        Deprecated.
        Fetch PlayerContainer from the database.

        Blocking operation.

        Parameters:
        uuid - UUID of the player.
        Returns:
        a PlayerContainer.
      • fetchServerContainer

        ServerContainer fetchServerContainer​(java.util.UUID serverUUID)
        Deprecated.
        Fetch a ServerContainer from the database.

        Blocking operation.

        Parameters:
        serverUUID - UUID of the server.
        Returns:
        a ServerContainer.
      • fetchServerUUIDs

        java.util.Collection<java.util.UUID> fetchServerUUIDs()
        Deprecated.
        Fetch server UUIDs.
        Returns:
        All Plan server UUIDs.