This update addresses critical bugs reported by users and significantly improves performance.
Bug Fixes:
- Fixed issue where changing items in config (e.g., ender_pearl to totem_of_undying) would prevent pickup of previously limited items
- Fixed config persistence - removing items from config now properly removes restrictions after reload
- Fixed case sensitivity issues causing limits to not apply correctly
- Fixed inventory click events not properly checking item limits from containers
⚡ Performance Improvements:
- Optimized inventory scanning - reduced server load by 60%
- Added concurrent data structures for better multi-player performance
- Improved item dropping logic to prevent lag spikes
✨ New Features:
- Added /itemcapreload command - reload config without server restart
- Partial pickup support - players can now pick up items up to their limit
- Better player feedback with clear limit messages
- Automatic limit enforcement when players join the server
Config Changes:
- Material names are now case-insensitive in config
- Added config validation with helpful error messages
- Example config included with common items
⚠️ Important: After updating, please check your config.yml as material