Commands
- /rewards
Opens the rewards GUI where players can claim their Daily, Weekly, and Monthly crate keys.
- /resettime <player> <daily|weekly|monthly>
(Admin only) Resets the cooldown timer for a specified player and reward type.
Configuration Options
Located at the top of the Skript in the options: section. Adjust these to fit your server setup:
Option Name
Description
Default Value
gui_title Title of the rewards GUI &6Claim Your Rewards
daily_slot Inventory slot number for Daily reward button 11
daily_name Display name for Daily reward &aDaily Reward
daily_lore Item lore description for Daily reward &7Click to claim your daily crate key
daily_cooldown_hours Cooldown time for daily reward (in hours) 24
daily_command Console command run to give the daily key (use %player% placeholder) crate key give %player% daily_key
weekly_slot Inventory slot number for Weekly reward button 13
weekly_name Display name for Weekly reward &bWeekly Reward
weekly_lore Item lore description for Weekly reward &7Click to claim your weekly crate key
weekly_cooldown_days Cooldown time for weekly reward (in days) 7
weekly_command Console command run to give the weekly key (use %player%) crate key give %player% weekly_key
monthly_slot Inventory slot number for Monthly reward button 15
monthly_name Display name for Monthly reward &eMonthly Reward
monthly_lore Item lore description for Monthly reward &7Click to claim your monthly crate key
monthly_cooldown_days Cooldown time for monthly reward (in days) 30
monthly_command Console command run to give the monthly key (use %player%) crate key give %player% monthly_key
How It Works
- When a player runs /rewards, the GUI opens.
- Clicking a reward checks if the player’s cooldown has expired.
- If not on cooldown, the configured command runs to give the crate key.
- The cooldown time is saved per player UUID and reward type.
- The admin command /resettime lets you reset any player’s cooldown manually.
Requirements
- Skript plugin installed on your server.
- A crate plugin compatible with the configured crate key commands.