Interface KitService
public interface KitService
Kit registry and per-player claim tracking.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAttempts to claim a kit: checks permission, one-time/max-claims, cooldown and inventory space, then gives the items and records the claim.claimState(UUID player, String kitId) cooldownRemaining(UUID player, String kitId) Seconds remaining beforeplayercan claimkitIdagain, or 0 if ready now.kits()voidRegisters or replaces a kit definition - how expansions add a "new kit type" at runtime.voidunregister(String id)
-
Method Details
-
kits
Collection<Kit> kits() -
kit
-
register
Registers or replaces a kit definition - how expansions add a "new kit type" at runtime. -
unregister
-
claimState
-
cooldownRemaining
Seconds remaining beforeplayercan claimkitIdagain, or 0 if ready now. -
claim
Attempts to claim a kit: checks permission, one-time/max-claims, cooldown and inventory space, then gives the items and records the claim. The result explains exactly why a claim was refused so commands don't have to re-derive it.
-