Create a Kit with a Cooldown Timer
Understanding Cooldowns
Cooldowns prevent players from claiming the same kit repeatedly within a set time period. This is useful for daily rewards or limited-access gear. The cooldown value is measured in milliseconds, so you'll need to convert your desired time:
- 1 second = 1000 milliseconds
- 1 minute = 60000 milliseconds
- 1 hour = 3600000 milliseconds
- 1 day = 86400000 milliseconds
Set Up Your Kit
Prepare your items, then create the kit with a cooldown:
`
/kit add dailyreward 86400000
`
This creates a kit called dailyreward that players can only claim once per day. After claiming, they'll see a message indicating when they can claim again. Adjust the millisecond value to match your server's reward schedule.