Repository navigation
v1.5.4
New Features
Pending Rewards System
- Rewards that cannot fit in a full inventory are now saved to disk instead of dropping on the ground
- Persisted per-player under plugins/LofiBox/pending/ — survives server restarts and crashes
- Players are notified with a message directing them to /lofibox redeem
- If EssentialsX is installed, a /mail notification is also sent with the reward and box name
Redeem GUI
- /lofibox redeem opens a paginated 6-row GUI showing all pending rewards
- Click any item to claim it directly into your inventory
- If inventory is still full at claim time, a message prompts the player to make space first
- Automatically refreshes after each successful claim
- New lofibox.redeem permission (default: true)
Broadcast Improvements
- head-found-broadcast and discord-head-announce are now fully independent toggles — both can be enabled simultaneously
- Server broadcast no longer sends to the opening player (they already see the congratulations message)
- Head win messages now consistently append "Head" — e.g. "Lord_Lofi found a Watermelon 28 Head!"
Config Changes
No new config keys. Existing config.yml updated with clarified comments:
head-found-broadcast: true # server-wide broadcast to other players
discord-head-announce: false # post to EssentialsXDiscord (independent of above)
New messages in messages.yml (added automatically on first run):
- inventory-full — updated to direct players to /lofibox redeem
- inventory-full-mail — EssX mail body sent when a reward is saved
- redeem-none — shown when player has no pending rewards
- redeem-claimed — shown on successful claim
- redeem-inventory-full — shown if inventory is full at claim time
Dependencies
- Essentials added to softdepend for mail notifications (optional)