Critical Bug Fixes
- FIXED: Book enchanting bug that created enchanted Books instead of proper Enchanted Books
- FIXED: Enchanting table now properly converts Books to Enchanted Books with stored enchantments
- FIXED: Experience and lapis consumption now works correctly when using custom enchantment limits
- FIXED: Enchantment level bypass issues with permission system
✨ New Features
- Permission-Based Max Levels: Players can have different max enchantment levels based on permissions (elr.level.X)
- Enhanced Command System: Complete overhaul with new subcommands and better functionality
- Item-Specific Limits: Configure different max levels for specific items (Diamond Sword, Netherite Pickaxe, etc.)
- Cooldown System: Prevent command spam with configurable cooldowns
- Economy Integration: Optional Vault integration for enchantment costs
- Advanced Config Validation: Automatic config fixing and validation on startup
Enhanced Commands
- /elrenchant add <enchant> <level> - Add enchantments to items (supports Enchanted Books!)
- /elrenchant remove <enchant> - Remove specific enchantments from items
- /elrenchant clear - Remove ALL enchantments from an item
- /elrenchant info - Display detailed enchantment information for held item
- /elrenchant list - View all available enchantments with their max levels
- /elrenchant reload - Reload plugin configuration without restart
- New Aliases: /elr, /elre, /enchantlimit for easier access
⚙️ Advanced Configuration
# Permission-based max levels
use-permission-levels: true
max-enchant-level: 10
# Item-specific enchantment limits
item-specific-limits:
enabled: true
items:
DIAMOND_SWORD:
sharpness: 10
looting: 5
# Cooldown system
cooldowns:
enabled: false
duration: 60
# Economy integration
economy:
enabled: false
cost-per-level: 100.0
# Enhanced enchanting table behavior
enchanting-table:
fix-book-enchanting: true
consume-resources: true
enhanced-options: true
Enhanced Permissions System
- elr.admin - Full access to all plugin features
- elr.use - Basic enchantment table usage
- elr.level.X - Max enchantment level permissions (e.g., elr.level.50)
- elr.bypass.cooldown - Bypass command cooldowns
- elr.bypass.cost - Bypass economy costs
- elr.bypass.disabled - Use disabled enchantments
- Individual command permissions for granular control
Smart Tab Completion
- Dynamic Level Suggestions: Shows appropriate levels based on player permissions
- Enchantment Filtering: Hides disabled enchantments from suggestions
- Context-Aware: Different completions for different commands
- Performance Optimized: Fast and responsive tab completion
Technical Improvements
- Complete Code Refactor: Cleaner, more maintainable codebase
- Enhanced Error Handling: Better error messages and graceful failure handling
- Performance Optimizations: Reduced memory usage and faster processing
- Plugin Stability: Improved startup/shutdown procedures
- Debug System: Comprehensive debug logging for troubleshooting
- Config Migration: Automatic config updates for future versions
Quality of Life Features
- Colored Messages: Beautiful, consistent message formatting
- Smart Validation: Prevents invalid enchantments and levels
- Resource Management: Proper cleanup and memory management
- Multi-Language Ready: Foundation for future language support
- Extensive Logging: Detailed activity logging for server administrators
Feedback & Support
Report bugs and suggest features on our Discord server. Your feedback helps make this plugin better!