Commit Graph

9 Commits

Author SHA1 Message Date
Teriuihi 85af552f47 Rename event command to custommobs in plugin.yml
Updated the 'event' command key and its respective attributes in plugin.yml to 'custommobs'. This includes changing the description, permission field, and usage syntax to align with the new command name.
2024-10-18 19:56:19 +02:00
Teriuihi a8ac621f51 Fix default abilities list initialization
Previously, the default value for the abilities list was null, leading to potential NullPointerExceptions. This change initializes the default list as an empty list to prevent such errors.
2024-10-18 19:50:13 +02:00
Teriuihi dad2ce21e4 Add null check for configuration section in MobTypes
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.
2024-10-18 19:43:06 +02:00
Teriuihi 989873247a Fix main class path in plugin.yml
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.
2024-10-18 19:40:42 +02:00
Teriuihi bfb8c122da Add CustomMobs plugin configuration and update command logic
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.
2024-10-18 19:39:07 +02:00
Teriuihi 2127933b0a Update Gradle build command in Jenkinsfile
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.
2024-10-18 19:30:54 +02:00
Teriuihi 89122cfa4b Update Gradle build command in Jenkinsfile
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.
2024-10-18 19:27:23 +02:00
Teriuihi 2345f3b9a3 Fix Gradle build command in Jenkinsfile
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.
2024-10-18 17:53:18 +02:00
Teriuihi 5d843211c0 Initial commit 2024-10-18 17:49:49 +02:00