Major Improvements
✔ Automatic Data Saving (Autosave)
RewardsLite now includes a fully configurable autosave system:
- Automatically saves data.yml every X minutes
- Runs asynchronously during normal gameplay
- Uses a safe synchronous save during server shutdown
- Configurable in config.yml:
- settings.autosave.enabled
- settings.autosave.interval-minutes
This dramatically improves reliability on servers with frequent restarts or unexpected shutdowns.
⭐ New: Full PlaceholderAPI Support
RewardsLite v1.4 introduces a
complete, stable, and optimized PlaceholderAPI expansion.
Available Placeholders
Placeholder
Description
%rewardslite_streak% Player’s current streak
%rewardslite_best_streak% Player’s best streak
%rewardslite_day% The day the player is supposed to claim
%rewardslite_time_left% Time remaining before next claim
%rewardslite_claimed_today% Whether the player has claimed today
%rewardslite_prefix% Plugin prefix
%rewardslite_next_reward% Name of the next reward day
Expansion Improvements
- Fully compatible with:
- Scoreboards
- TAB
- Holograms
- ActionBars
- BossBars
- Auto-registers when PlaceholderAPI is installed
Backwards Compatibility (v1.3 → v1.4)
RewardsLite v1.4 includes
full retroactive support for older placeholder names.
This ensures that
no scoreboard, hologram, TAB layout, or message breaks after updating.
New: Automatic Config & Messages Migration
RewardsLite v1.4 introduces a
ConfigMigrator system that automatically updates:
What it does
- Adds new keys introduced in v1.4
- Preserves all existing user values
- Ensures messages.yml is always complete
- Prevents missing keys, errors, or outdated configs
Logic & Stability Improvements
✔ Fixed Reward Cycle Logic
Rewards now loop correctly based on the number of days defined in config.yml.
✔ Safer Command Execution
Player names are sanitized before being inserted into commands.
✔ Improved Data Handling
- Async saving during gameplay
- Sync saving during shutdown
- No more risk of losing streaks or timestamps