New
Fixes
- Added withdraw cooldown (item_withdraw_cooldown_seconds) with a configurable message.
- Added whitelist support (whitelisted_items), including MATERIAL:CUSTOM_MODEL_DATA.
- /resetvault open <player> now works with offline players and tab‑completes them.
Changes
- Page switching no longer hijacks other plugin GUIs.
- Staff vault navigation stays on the correct target.
- Offline staff vault editing is stable.
Internals
- Page switching is smoother and no longer spams “vault opened”.
- Build enforces Java 17.
- Codebase reorganized into clear packages.
- Interaction logic split into services (cooldown, layout, placeholders, messaging).
- Utilities extracted into dedicated helper classes.
- Database format unchanged (safe update).
Added the staff command /resetvault open <playername>, which allows players with the resetvault.staff permission to manage another player's vault.
Performed overall code cleanup.
Important: Make sure to take a backup before updating.
This Reset Vault update introduces a major overhaul, making the plugin fully configurable for most servers. Key features include customizable ranks, allowing you to create as many ranks as needed with flexible slot assignments, rank-based permissions, and a wide array of new functionalities. The update also includes pagination, enhanced database performance, and extensive configuration options for maximum flexibility. Additionally, the fully customizable GUI ensures a seamless and tailored user experience.
Important: Before installing, delete the previous version's JAR file and folder, as this update is a complete recode of the plugin. Note that this version does not migrate player data from previous versions.
Preview:
Version 1.1 - June 7, 2025
New Features
- Custom Model Data Support: Added support for custom model data in blacklisted_items (e.g., DIAMOND_SWORD:10001), reset_vault.<rank>.material (e.g., WHITE_STAINED_GLASS_PANE:10001), and guide_book.material (e.g., BOOK:10000) for precise item customization using resource packs.
- Enchantment Removal: Added remove_enchantments option to strip enchantments from items when stored in the vault (via right-click).
- Configuration Guide: Included a detailed guide in config.yml with setup and troubleshooting instructions.
Notes
- Config: Use MATERIAL:CustomModelData format for items (e.g., DIAMOND_SWORD:10001). Set remove_enchantments: true to strip enchantments on storage.
- Testing: Verify custom model data with a resource pack. Test enchantment removal with remove_enchantments: true and new_season: false.
- Setup: Restart server after editing config.yml to apply changes.
- Backup: Back up vaults.db database before installing.
- Removed hardcoded glass pane materials for locked slots.
- Now fetches rank-based materials dynamically from config.yml.
- If a material is missing or invalid, it defaults to BLACK_STAINED_GLASS_PANE.
- Improved flexibility—materials can be changed without modifying code.
