Class PlayerInfo
java.lang.Object
com.haven.havenplugin.playtime.PlayerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionlonglongHighest AFK-time threshold for which a one-time command has fired.longHighest playtime threshold (seconds) for which a one-time command has fired.interval (seconds) → totalAFKSeconds at last triggerinterval (seconds) → totalActiveSeconds at last triggerlonglonglong -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
username
-
firstSeen
public long firstSeen -
lastSeen
public long lastSeen -
totalAFKSeconds
public long totalAFKSeconds -
totalActiveSeconds
public long totalActiveSeconds -
lastCommandTriggered
public long lastCommandTriggeredHighest playtime threshold (seconds) for which a one-time command has fired. -
lastRepeatCommandTriggered
-
lastAfkCommandTriggered
public long lastAfkCommandTriggeredHighest AFK-time threshold for which a one-time command has fired. -
lastRepeatAfkCommandTriggered
-
-
Constructor Details
-
PlayerInfo
-
-
Method Details
-
toJson
public com.google.gson.JsonObject toJson() -
fromJson
-
copy
-