Interface XPrisonTokensAPI
- All Superinterfaces:
XPrisonCurrency
API for managing player tokens.
-
Method Details
-
hasEnough
boolean hasEnough(org.bukkit.OfflinePlayer p, long amount) Checks if a player has at least a specified amount of tokens.- Parameters:
p
- the playeramount
- the amount to check against- Returns:
- true if the player has at least the specified amount, false otherwise
-