This update focuses on refining the plugin’s configuration handling and command functionalities, enhancing overall stability and maintainability.
Configuration Enhancements
Relocated the initialization of the configuration object (Config) from the onInitial() method to the onPluginEnable()method, ensuring proper setup during the plugin’s enable phase.
Introduced a static getter for the plugin version (pluginVersion = "2.2"), facilitating version tracking within the plugin.
Updated the project version in gradle.properties from 2.1 to 2.2, reflecting the latest changes.
️ Command Improvements
Adjusted command classes, such as LogoutPlayerCommand.java and SetPasswordCommand.java, to align with the new configuration initialization approach.
These refinements aim to improve the plugin’s structure and reliability. For detailed information, refer to the commits on GitHub: