InvRewind 1.3.2
What's New in v1.3.2
Major Improvements
🎨 Fixed Gradient Colors & Messages
- Integrated Adventure API 4.17.0: All gradient messages now render properly with smooth color transitions
- MiniMessage Support: Full support for
<gradient>tags in all messages - Fixed Color Rendering: Titles, chat messages, and GUI text now display gradients correctly
- Consistent Styling: All messages use small caps gradient format throughout the plugin
🔧 Fixed YAML Player Detection
- Fixed
/irnot showing offline players in YAML mode: Now correctly scans backup folders and reads UUIDs from files - Improved Folder Parsing: Reads player UUIDs directly from backup YAML files instead of folder names
- Works with all storage modes: YAML, SQLite, and MySQL all show offline players correctly
- Added debug logging: Helps troubleshoot any scanning issues
📦 Restore vs Overwrite Clarity
- "Add Backup Items" button (Emerald): Keeps current items and adds backup items to inventory
- Excess items drop on ground if inventory is full
- Perfect for recovering lost items without losing current gear
- "Overwrite Inventory" button (Orange Dye): Clears inventory first, then restores backup
- Complete inventory replacement
- Useful for full rollbacks
- Clear button descriptions: Lore text explains the difference between the two modes
🌐 Offline Player Restore Improvements
- Smart offline handling: Clicking restore/overwrite on offline players schedules the restore
- Restore type preserved: System remembers whether to add items or overwrite when player joins
- Database schema updated: New
overwritefield tracks restore mode - Backward compatible: Old pending restores default to "add items" mode
Technical Changes
- Added Adventure API and MiniMessage dependencies (shaded and relocated)
- Updated MessageManager to use MiniMessage's native gradient parsing
- Removed manual gradient implementation in favor of MiniMessage
- Added
RestoreUtil.addInventoryItems()method for non-destructive restores - Updated
PendingRestoremodel withoverwriteflag - Database migration support for new
overwritecolumn (MySQL, SQLite, YAML) - All direct
sendMessage()calls now use MiniMessage for proper formatting
Bug Fixes
- Fixed gradient messages not rendering colors
- Fixed offline players not appearing in
/irGUI with YAML storage - Fixed tab completion not showing offline players
- Fixed color codes showing as raw text instead of colors
- Fixed title messages in offline restore showing broken formatting
Full Changelog: https://github.com/mukulx/invrewind/commits/v1.3.2