Package net.godlycow.org.essc.api.kit
Interface KitClaimProfile
public interface KitClaimProfile
A player's claim history for one kit. Get it from
KitManager.fetchClaimProfile(org.bukkit.entity.Player, Kit).-
Method Summary
Modifier and TypeMethodDescriptionGets the kit name.longGets when the kit was last claimed, in millis.Gets the player.intGets the total claim count.booleanChecks if the player ever claimed this kit.
-
Method Details
-
getPlayerId
UUID getPlayerId()Gets the player.- Returns:
- the player UUID
-
getKitName
String getKitName()Gets the kit name.- Returns:
- the kit name
-
getLastClaimedTimestamp
long getLastClaimedTimestamp()Gets when the kit was last claimed, in millis. 0 if never.- Returns:
- last claim time in millis
-
getTotalClaimCount
int getTotalClaimCount()Gets the total claim count.- Returns:
- total claims
-
hasEverClaimed
boolean hasEverClaimed()Checks if the player ever claimed this kit.- Returns:
- true if claimed at least once
-