### Added - **Separate Hopper Debug Option**: Added `hopper_debug` config option to control hopper-specific debug logging separately from general debug mode. This prevents hopper debug spam from flooding the console when general debug is enabled.
- **Config Versions**: Added version strings to .yml's to help with migration.
### Fixed - **Config Migration Comments**: Fixed config migration to preserve comments when adding missing nested keys to existing sections.
### Fixed - **Double Chest Breaking**: Fixed bug where breaking one side of a locked double chest would remove the lock from both sides, including the remaining single chest. Now only the side being broken has its lock removed, and the remaining single chest stays locked.
### Added - **Performance Optimization System**: In-memory cache for chest lock status to reduce database queries
- **Performance Configuration**: New `performance` section in config.yml with cache settings
### Changed - **Database Connection**: Switched to persistent connection pool instead of creating new connections per query
- **SQLite Optimizations**: Enabled WAL mode and performance pragmas for better concurrency
- **Config Migration**: Automatic migration system adds missing config options when updating
### Fixed - **Hopper Performance**: Eliminated severe server lag from hopper-heavy bases by caching lock status checks
### Added - **Auto-Lock Feature**: Chests are now automatically locked when placed by players (configurable)
- **Auto-Lock Configuration**: Added `general.auto_lock_on_place` config option (default: true)
- **Chest-break cleanup**: locks now are properly deleted and cleaned from the database when a locked chest is broken by the owner or admins
If updating from a previous version, delete the .yml files in the plugins/locktight/ directory and let them reload. **DO NOT DELETE DB FILE UNLESS YOU WANT TO WIPE LOCKS**
### Fixed - **Double Chest Handling System**: Fixed critical bug where some critical features only applied to one chest side, not both sides of double chests
### Changed - **Config Refactor**: Refactored configuration files,
IF UPDATING FROM AN OLDER VERSION, DELETE CONFIG & MESSAGES.YML AND LET THEM RELOAD - **Hopper Behavior**: Locked chests can now have items extracted from a locked chest using a hopper if the hopper is placed by the lock owner
- **Added More Detailed Debugging**: Hopper item passing debugging added
### Fixed - **Double Chest Reinforcement Inspection**: Fixed bug where inspecting the "other side" of a reinforced double chest would show "Reinforcements: None" even though the chest was reinforced
### Changed - **Inspection Logic**: Chest inspection now checks both sides of a double chest for reinforcement data
- **Double Chest Support**: Added method to ChestCommand for consistent double chest handling
**Lockpick Consumption Bug**: Fixed critical bug where using a mythic lockpick would consume a lower quality lockpick from an earlier hotbar slot instead of the actual mythic pick used