# OpenInv — 1.1 Changelog
This update focuses on fixing permission bugs, improving staff tools, and making the plugin more reliable for server owners.
---
### ✨ New Features & Improvements
- **Clean Console Experience** 🛡️
Hidden all messy initialization logs (like database connections and module status lines). The console now only shows the premium dashboard and critical warnings, making it much cleaner for server owners.
- **Refined Command Security** 🔐
To improve server safety, all the commands now require the base **`openinv.use`** permission as a prerequisite. This ensures staff have been granted fundamental access before using administrative tools.
- **Hierarchical Modification System** 🏗️
The modification permissions now follow a strict structure:
- `openinv.modify.*` acts as a master wildcard (grants everything).
- Specific edits now require the master key (`openinv.modify`) **plus** a granular node (`.inv` or `.ec`).
- **`/openinv history` GUI Updates** 🟢
Slots containing saved data now use **Green Stained Glass Panes**, providing immediate visual feedback on which backups are available.
- **Translation Updates** 🌍
Updated the success message for `/openinv reload` across all 20+ supported languages. It now includes a clear reminder that some configuration changes require a server restart to apply.
---
### 🐛 Bug Fixes
- **Offline player protection now actually works.**
When a player was offline, their `openinv.exempt` protection was being ignored. This is now fixed — offline players are properly protected from unauthorized viewing.
- **The `openinv.modify.*` shortcut permission now works correctly.**
Giving a staff member `openinv.modify.*` in LuckPerms now correctly grants full edit access to both inventories and Ender Chests even without the base `modify` node.
- **Resolve "No Perm" spam in chat.**
When clicking protected items, the error message now only shows once every 2 seconds to avoid flooding the player's chat.
- **Staff inventory locking issue.**
Fixed a bug where staff members in "View-Only" mode would find their own inventory locked after closing a target's GUI.
- **`openinv.admin` now truly unlocks everything.**
Fixed several sub-commands that were still returning "no permission" errors even for players with `openinv.admin`. It is now a complete bypass.
- **Resolved a crash during startup (NPE).**
Fixed a rare issue where the plugin would crash if it tried to display the console logo before the configuration files were fully loaded.
---
### 📋 Full Permission Reference (What Changed)
| Permission | What it does |
|---|---|
| `openinv.admin` | Full access to everything — no other permissions needed |
| `openinv.use` | Required to use viewing commands (`/inv`, `/offlineinv`, etc.) |
| `openinv.exempt` | Protects YOUR inventory from being opened by others |
| `openinv.override` | Lets staff bypass `exempt` protection |
| `openinv.modify` | Master key required to edit ANY inventory |
| `openinv.modify.inv` | Allows editing player inventories |
| `openinv.modify.ec` | Allows editing Ender Chests |
| `openinv.modify.*` | Shortcut — allows editing both inv and EC |
| `openinv.exempt.modify` | Protects YOUR items from being moved |
| `openinv.override.modify` | Lets staff bypass edit protection |
| `openinv.freeze` | Allows using `/openinv freeze` |
| `openinv.unfreeze` | Allows using `/openinv unfreeze` |
| `openinv.history` | Allows viewing inventory backup history |
---
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }