Class AFKTracker
- java.lang.Object
-
- com.djrapitops.plan.gathering.afk.AFKTracker
-
public class AFKTracker extends java.lang.Object
Keeps track how long player has been afk during a session
-
-
Constructor Summary
Constructors Constructor Description AFKTracker(PlanConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAfkThreshold()
void
hasIgnorePermission(java.util.UUID uuid)
boolean
isAfk(java.util.UUID uuid)
long
loggedOut(java.util.UUID uuid, long time)
long
performedAction(java.util.UUID uuid, long time)
void
usedAfkCommand(java.util.UUID uuid, long time)
-
-
-
Constructor Detail
-
AFKTracker
public AFKTracker(PlanConfig config)
-
-
Method Detail
-
getAfkThreshold
public long getAfkThreshold()
-
hasIgnorePermission
public void hasIgnorePermission(java.util.UUID uuid)
-
usedAfkCommand
public void usedAfkCommand(java.util.UUID uuid, long time)
-
performedAction
public long performedAction(java.util.UUID uuid, long time)
-
loggedOut
public long loggedOut(java.util.UUID uuid, long time)
-
isAfk
public boolean isAfk(java.util.UUID uuid)
-
-