- Slot/page unlock permissions now default to false.
- Added missing slot aliases:
rayzwardrobe.slot1, rayzwardrobe.slot.1, rayzwardrobe.use.slot1, rayzwardrobe.use.slot.1- Added page aliases too:
rayzwardrobe.page2, rayzwardrobe.page.2, rayzwardrobe.use.page2, rayzwardrobe.use.page.2- Added settings.page-permissions-enabled.
- Added settings.slot-permission-scope
Code:slot-permission-scope: "column"
For users, the correct setup is:
- So slot 1-7 applies to the visible GUI columns, matching your docs. It also supports "global" and "both".
Then:Code:settings: slot-permissions-enabled: true slot-permission-scope: "column"
- To lock slot 1: do not give rayzwardrobe.use.slot.1 / rayzwardrobe.slot.1.
- To unlock slot 1: grant one of those nodes.
- If the player has the slot permission set to true, the slot is supposed to unlock.
New Features
Improvements
- Slot-Based Permissions: Added support for per-slot permissions (rayzwardrobe.use.slotX).
- Admin View GUI: Admins can now view other players' wardrobes using /wardrobe view <player> [page].
- Armor Return on Equip: When equipping a set, the currently worn armor is now saved back to the slot (swapping behavior).
- Back Button in Admin View: Added a back button to return to the admin's own wardrobe.
- Locked Slot Visuals: Slots without permission now show as locked (barrier icons) in the GUI.
Bug Fixes
- Refactored Command Handling: Merged /rwcredits and /wardrobethemes into /wardrobe credits and /wardrobe themes.
- Enhanced GUI Logic: Improved permission checks and GUI rendering for locked slots.
- Better Equip Logic: Equipping a set now saves the currently worn armor back to the slot (if any).
- Admin GUI Read-Only: Admin view GUI is now non-interactive (view-only).
Technical Changes
- Fixed potential NPEs in permission checks.
- Improved inventory close handling to prevent memory leaks.
- Fixed edge cases in armor set saving and loading.
Permission Nodes Added
- Added adminViewTargets map to track admin viewing sessions.
- Added equals and hashCode methods to ArmorSet for better data integrity.
- Improved logging and error messages for better debugging.
Commands Updated
- rayzwardrobe.use.slot.* – Access to all slots.
- rayzwardrobe.use.slotX – Access to a specific slot (X = slot number).
- rayzwardrobe.admin.view – Permission to use /wardrobe view.
Removed
- /wardrobe – Now supports subcommands: credits, themes, view.
- /rwreload – remains unchanged.
- Standalone commands /rwcredits and /wardrobethemes (merged into /wardrobe).
- Bug Fixes.
- Added PlaceHolderAPI
- Head Icons Support for themes
- Improved Sets Naming feature.
- Themes Feature.
- 8 Themes too choose from.
- Bug fixes.
- Amazing Themes menu.
- GUI Enhanced.
- Major Bug Fixes.
- Renaming System For Sets.
- Added 8 pages.
- Added permission for pages above first one.
- Messages_en.yml and config.yml updated.
