
Gravewarden
Seamless item protection. Secure, lightweight, essential.
47
0
Список изменений
🏗️ Technical Refactor - Version 1.2.2
This version focuses on internal code quality and long-term maintainability by restructuring how the plugin handles configuration data.
🛠️ Internal Refactor: Centralized Configuration
- Config Enum Implementation: Replaced all direct
Gravewarden.getInstance().getConfig().get()calls with a centralizedConfigEnum system. - Improved Maintainability: All configuration keys and their default values are now managed in a single location, reducing the risk of
NullPointerExceptionsand typos. - Better Performance: Streamlined the way the plugin accesses settings, leading to slightly faster event handling during player deaths and grave interactions.
- Stronger Type Safety: The new system ensures that the plugin always receives the expected data type (String, Boolean, or Double) from the configuration files.
🔧 Stability Improvements
- Default Value Fallbacks: Every configuration entry now has a hardcoded fallback within the
ConfigEnum, ensuring the plugin remains functional even if theconfig.ymlis missing keys or becomes corrupted.
This is a technical update. No changes to your existing config.yml are required, but the plugin is now more robust against configuration errors.
Файлы
Gravewarden-1.2.2.jar(29.42 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.2
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.20.6–1.21.11
Загрузок
3
Дата публикации
4 нед. назад
