Class PlayerContainer

java.lang.Object
com.djrapitops.plan.api.data.PlayerContainer

@Deprecated(since="5.0") public class PlayerContainer extends Object
Deprecated.
Plan API v4 has been deprecated, use the APIv5 instead (https://github.com/plan-player-analytics/Plan/wiki/APIv5).
Wrapper for a PlayerContainer.

The actual object is wrapped to avoid exposing too much API that might change. See PlayerKeys for Key objects.

The Keys might change in the future, but the Optional API should help dealing with those cases.

  • Constructor Details

    • PlayerContainer

      public PlayerContainer(PlayerContainer container)
      Deprecated.
  • Method Details

    • getActivityIndex

      @Deprecated public double getActivityIndex(long date, long playtimeMsThreshold, int loginThreshold)
      Deprecated.
      loginThreshold no longer used for activity index.
    • getActivityIndex

      public double getActivityIndex(long date, long playtimeMsThreshold)
      Deprecated.
    • playedBetween

      public boolean playedBetween(long after, long before)
      Deprecated.
    • getValue

      public <T> Optional<T> getValue(Key<T> key)
      Deprecated.