Commit Graph

6 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 5d843211c0 Initial commit 2024-10-18 17:49:49 +02:00