Updating from v1.0.0 to v1.1.0 - Important Migration Notes
Your existing player progress is compatible with v1.1.0.
To keep all player playtime and claimed rewards:
1. Stop your server.
2. Back up your plugins/SmartPlaytimeRewards folder.
3. Replace the old SmartPlaytimeRewards .jar with the new v1.1.0 .jar.
4. Keep your existing playtime.yml file.
5. Start your server.
Your existing playtime.yml will continue to work and your players will not lose their saved playtime or claimed rewards.
Important:
v1.1.0 includes a much larger config.yml with new GUI, notification, storage, and command options. If you are updating from v1.0.0, it is recommended to back up your old config.yml, delete it, restart the server to generate the new v1.1.0 config.yml, and then copy your old rewards into the new rewards section.
SmartPlaytimeRewards v1.1.0 is a major quality-of-life update focused on making the plugin more configurable, safer, and easier to manage on live servers.
Added:
- Fully configurable rewards GUI
- Configurable GUI items, names, lore, materials, buttons, and reward slots
- /playtime top leaderboard command
- /playtime claimall command
- Claim All button inside the rewards GUI
- /playtime view <player> command
- /playtimeadmin command system
- /playtimeadmin set <player> <time>
- /playtimeadmin add <player> <time>
- /playtimeadmin remove <player> <time>
- /playtimeadmin reset <player>
- /playtimeadmin resetclaims <player>
- Admin time input support such as 30s, 5m, 1h, 2d, or plain seconds
- Command aliases: /pt, /rewards, and /playtimerewards
- Reward unlock notifications
- Configurable notification sounds
- Auto-save task for safer playtime storage
- More placeholders for GUI, commands, and messages
- Permission-based reward visibility and claiming
- v1.0.0 playtime.yml migration compatibility
Improved:
- Cleaner project structure
- Cleaner time formatting
- Safer reward config loading
- Better reload handling
- Better playtime saving
- Reduced console spam
- Safer GUI pagination
- Better GUI click handling
- Better config comments and organization
- Admin permissions now support child permissions properly
Fixed:
- Fixed GUI page cache not clearing correctly
- Fixed GUI tracking issues when changing pages or reloading
- Fixed invalid reward config keys potentially causing load issues
- Fixed duplicate time formatting logic
- Fixed reward unlock notification data being saved into config.yml
- Fixed claim-all slot still triggering when disabled
- Fixed next reward display sometimes skipping unlocked unclaimed rewards
New Commands:
- /playtime
- /pt
- /playtime rewards
- /rewards
- /playtimerewards
- /playtime claimall
- /playtime top
- /playtime view <player>
- /playtime reload
- /playtimeadmin
- /playtimeadmin reload
- /playtimeadmin set <player> <time>
- /playtimeadmin add <player> <time>
- /playtimeadmin remove <player> <time>
- /playtimeadmin reset <player>
- /playtimeadmin resetclaims <player>
New Permissions:
- smartplaytimerewards.use
- smartplaytimerewards.rewards
- smartplaytimerewards.claimall
- smartplaytimerewards.top
- smartplaytimerewards.viewothers
- smartplaytimerewards.admin
- smartplaytimerewards.reload
- smartplaytimerewards.modify
Example admin time formats:
- 30s
- 5m
- 1h
- 2d
- 3600
Recommended after updating:
Back up your old config.yml, allow the plugin to generate the new v1.1.0 config.yml, then copy your old rewards into the new rewards section so you can use all the new GUI and notification options.
