Ensure that the configuration section is not null before attempting to retrieve keys. This prevents potential null pointer exceptions and adds a warning log for missing configuration sections.
Corrected the main class path from com.alttd.event.Main to com.alttd.custommobs.Main in the plugin.yml file. This change ensures the plugin loads the correct main class when initialized.
Introduced a new configuration file for the CustomMobs plugin, specifying its details and commands. Updated the CommandManager to use "custommobs" instead of "fish" and added an alias "cm" for command execution.
Changed the Gradle build step to use 'bash' for executing the gradlew script. This ensures compatibility across different environments where the script might need a specific shell interpreter.
Revised the Gradle stage to use 'gradlew build' instead of 'gradlew shadowJar' for better compatibility. This change ensures the build process aligns with the default Gradle task and simplifies the Jenkins pipeline configuration.
Changed the Gradle command to explicitly run with bash. This ensures compatibility across different environments where the default shell might cause issues. The stage remains the same, focusing only on command execution improvement.