This is a massive update that overhauls the plugin's backend for better performance and brings highly requested admin features. Jumping directly from 1.0.1 to 1.1.0 due to the large amount of core changes.
Please note: If you are updating from v1.0.1, you must regenerate your messages_es.yml / messages_en.yml to get the new translation keys for the editor.
- Added an in-game Visual Reward Editor. You can now use /ncode editor to modify reward chances in real-time (Left-click: +1%, Shift-Left: +0.1%, Right-click: -1%, Q key: delete).
- Added /ncode additem <chance> <group> command. Save custom items with NBT data, CustomModelData, hex colors, and enchantments directly into the reward pool without YAML editing.
- Added /ncode addcmd <chance> <group> <command> to easily register command rewards in-game.
- Added full Folia support.
- Improve: Migrated the internal player caching system to Caffeine. Player data is now automatically purged from RAM after 15 minutes of inactivity to keep memory usage extremely low.
- Improve: Cleaned up startup console logs and added a new clean ASCII boot screen displaying load times, storage type, and engine status instead of spamming log lines.
- Fixed: GUI item colors and names breaking on recent Paper 1.21+ builds due to strict component serialization.
- Fixed: The /ncode reset command not properly clearing a player's points to 0.
- Fixed: Asynchronous tab-completion errors in the command manager.
EN:
IMPORTANT UPDATE NOTE: Configuration files have changed to include storage options. Please delete your old plugins/NCode/ folder before installing this update to ensure the new settings load correctly. YAML users should back up their plugins/NCode/data/ folder if they wish to keep previous data.
Update Focus: Flexible Data Storage!
- This update adds optional MySQL database support as an alternative to the default YAML file storage.
- Choose your preferred storage method (YAML or MYSQL) in the new storage: section of config.yml.
- Use MySQL for potentially better performance and scalability on larger servers!
ES:
NOTA IMPORTANTE SOBRE LA ACTUALIZACIÓN: Los archivos de configuración han cambiado para incluir opciones de almacenamiento. Por favor, elimina tu carpeta antigua plugins/NCode/ antes de instalar esta actualización para asegurar que la nueva configuración cargue correctamente. Los usuarios de YAML deben hacer una copia de seguridad de su carpeta plugins/NCode/data/ si desean conservar los datos anteriores.
Enfoque de la Actualización: ¡Almacenamiento de Datos Flexible!
- Esta actualización añade soporte opcional para bases de datos MySQL como alternativa al almacenamiento por defecto en archivos YAML.
- Elige tu método de almacenamiento preferido (YAML o MYSQL) en la nueva sección storage: de config.yml.
- ¡Usa MySQL para un rendimiento y escalabilidad potencialmente mejores en servidores más grandes!
