Class AFKTracker

java.lang.Object
com.djrapitops.plan.gathering.afk.AFKTracker

public class AFKTracker extends Object
Keeps track how long player has been afk during a session
  • Constructor Details

    • AFKTracker

      public AFKTracker(PlanConfig config)
  • Method Details

    • getAfkThreshold

      public long getAfkThreshold()
    • hasIgnorePermission

      public void hasIgnorePermission(UUID uuid)
    • usedAfkCommand

      public void usedAfkCommand(UUID uuid, long time)
    • performedAction

      public long performedAction(UUID uuid, long time)
    • loggedOut

      public long loggedOut(UUID uuid, long time)
    • isAfk

      public boolean isAfk(UUID uuid)