⚡ SmartMenus 2.5 — Inventory & Stability Update
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fixed: take: true Items Reappearing
Items consumed by conditions inside bottom-inventory GUIs could sometimes reappear after being removed.
What's fixed:
- Inventory snapshots now automatically synchronize after successful item consumption.
- Reworked item removal logic for improved reliability.
- Fixed edge cases where inventory restores could undo consumed items.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚰️ Fixed: GUI Items Appearing Inside Graves
Players who died while a bottom-inventory GUI was open could have GUI filler items saved into AxGraves and similar grave plugins.
What's fixed:
- Real player inventory is now restored before grave plugins process drops.
- Prevents GUI filler items from being stored in graves.
- Eliminates related duplication issues.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fixed: Inventory Corruption During GUI Navigation
Navigating between multiple bottom-inventory GUIs could overwrite the original inventory snapshot.
What's fixed:
- Snapshots are no longer replaced while another bottom GUI is active.
- Improved GUI transition handling.
- Original inventory is now preserved correctly across menu navigation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
New: open_sound Support
You can now play sounds when a GUI opens without using commands.
Code (YAML):
open_sound
: BLOCK_CHEST_OPEN
Or with advanced settings:
Code (YAML):
open_sound:
sound
: BLOCK_CHEST_OPEN
volume
: 1.0
pitch
: 1.2
Features:
- Supports both open_sound and open-sound
- Works alongside existing open_commands and open-actions
- Supports any Bukkit Sound enum
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Build & Dependency Changes
- Updated version to 2.5-SNAPSHOT
- Added dependency exclusions for Nexo
- Added dependency exclusions for ModeledNPCS-API
- Improved classpath compatibility with Triumph GUI
- Disabled JitPack SNAPSHOT resolution for greater dependency stability
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thank you for supporting SmartMenus! ❤️