## Version 1.6
### 🐛 Bug Fixes
- **Fixed memory leak**: Player data maps now cleaned up on player quit (EventListener, CommandHandler, VisualizationManager)
- **Fixed chat exploit vulnerability**: Removed vulnerable `onPlayerChat` handler that could be exploited
- **Fixed typos in messages.yml**: "Memeber" → "Member", "Premissions" → "Permissions"
- **Fixed hardcoded messages**: CommandHandler now uses config for all messages
- **Fixed soft-depend syntax**: Changed `soft-depend: WorldGuard\`` to `soft-depend: [WorldGuard]` in plugin.yml
- **Added CONTAINER permission**: Separate permission check for chests, furnaces, barrels, etc.
### 🔧 Optimizations
- **Thread Safety**: Replaced HashMap with ConcurrentHashMap in ClaimManager, TrustManager, and VisualizationManager
- **Memory Management**: Added comprehensive player data cleanup on quit via PlayerJoinListener
- **Separated Block Types**: Container blocks and interactable blocks now have separate permission checks
### ✨ New Features
- **Command Aliases**: Added `/c` as alias for `/claim` and `/uc` as alias for `/unclaim`
- **Improved Tab Completion**: Now suggests online players for trust/untrust/member commands
- **CONTAINER Permission**: New permission type for accessing chests, furnaces, hoppers, etc.
### 🎨 GUI Improvements
- **TrustListGUI Overhaul**:
- 54-slot inventory with glass pane borders
- Online/offline status indicator (green/red) for trusted players
- Info item showing total trusted count
- Better organized layout with player heads in center area
- **TrustMenuGUI Overhaul**:
- 27-slot inventory with glass pane borders
- Player head with online status at top
- Permission-specific icons (Bricks for BUILD, Lever for INTERACT, Chest for CONTAINER, Ender Pearl for TELEPORT)
- Permission descriptions in lore
- Clear enabled/disabled status indicators
- **VisitorMenuGUI Overhaul**:
- 27-slot inventory with glass pane borders
- Info item explaining visitor permissions
- Warning for dangerous permissions (BUILD)
- Same permission icons and descriptions as TrustMenuGUI
### 📋 Technical Changes
- Config version bumped to 5
- Plugin version bumped to 1.6
- Added `cleanupPlayer()` methods to EventListener, CommandHandler, and VisualizationManager
- Extended PlayerJoinListener to handle PlayerQuitEvent
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" }