DeluxeMobCoins v1.7 - The Language & Refinement Update! This update focuses on significant internal improvements, configuration clarity, and preparing the plugin for future enhancements.
✨ Major New Feature: Language File Separation
Centralized Language Management: All user-facing messages have been moved from config.yml to a new, dedicated lang.yml file.
Benefits: This change makes customizing messages much cleaner and more organized. It also lays the groundwork for official multi-language support in future updates.
ACTION REQUIRED FOR SERVER OWNERS: Upon updating to v1.7, the plugin will automatically generate a new lang.yml file with default English messages. You must manually transfer any custom messages from your old config.yml to this new lang.yml file to retain your translations. The messages: section in config.yml is now obsolete and can be safely removed.
Code & Configuration Enhancements
New LangManager API: A new internal manager has been added to handle all message loading and processing, improving code maintainability and efficiency.
Improved Configuration Files:
The config.yml comments have been rewritten to be more professional, clear, and provide better guidance for server administrators.
The default config.yml no longer contains the messages section to avoid confusion.
Code Refactoring: The main plugin class, commands, and event listeners have been updated to utilize the new LangManager, resulting in cleaner and more robust code.
Quality of Life & Minor Fixes
New "Purchase Limit" Message: Added a purchase-limit-reached message key to lang.yml to properly inform players when they have reached the purchase limit for a specific shop item.
Consistency: Ensured that all parts of the plugin that send messages to players now correctly retrieve them from lang.yml.