MobAIReasonDisabler
With this plugin you can disable certain mobs AI , based on the reason they spawned
MobAIReasonDisabler
Disable AI From specific mobs based on the spawn reason!
I originally made this plugin for my smp, Where i used a Spawner Manager plugin, but maybe it could be useful for some cases
REASONS : - SPAWNER - NATURAL - SPELL - NETHER_PORTAL
For more type of reasons, look at the official spigot api https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
Feel free to ask and suggest for specific features/cases at my discord server https://discord.gg/tXfvaGM8Mj
Commands :
``` /mobaidisable reload ```
Config.yml :
``` enabled-worlds: [] # Leave empty if you want all worlds, Otherwise do
enabled-worlds:
- world
- world_nether
Options: NATURAL, SPAWNER, REINFORCEMENTS, NETHER_PORTAL, COMMAND, BREEDING, etc.
disabled-spawn-reasons: - SPAWNER - REINFORCEMENTS - NETHER_PORTAL - SPELL
Full list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
disabled-mobs: - WITHER - WARDEN - ENDERMAN - VEX - ENDER_DRAGON ```