Skip to content

InvRewind 1.3.2

Choose a tag to compare

@github-actions github-actions released this 19 Apr 17:42

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 /ir not 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 overwrite field 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 PendingRestore model with overwrite flag
  • Database migration support for new overwrite column (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 /ir GUI 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