InvincibleMobs!
This plugin allows you to define per-world invincible mobs.
It allows you to make mobs invincible for certain worlds.
Multi-World compatible and automatically updates the config with any new worlds(on restart/reload)
This plugin is based on the request http://forums.bukkit.org/threads/invincible-mobs.176237.
Why would I use this plugin?
Maybe if you wanted to create a zoo in a world,
Maybe you don't like the harming harmless animals, or just want peoples pets to be protected.
Commands
/setinvincible mob world <true/false or yes/no> sets the mob's invincible state in the config for the specified world.
Configuration
The config file contains worlds and every type of entity and its invincible state for that world, The default part for one of the worlds in the config will look like this:
world:
BOAT: false
MINECART: false
MINECART_CHEST: false
MINECART_FURNACE: false
MINECART_TNT: false
MINECART_HOPPER: false
MINECART_MOB_SPAWNER: false
CREEPER: false
SKELETON: false
SPIDER: false
GIANT: false
ZOMBIE: true
SLIME: false
GHAST: false
PIG_ZOMBIE: false
ENDERMAN: false
CAVE_SPIDER: false
SILVERFISH: false
BLAZE: false
MAGMA_CUBE: false
ENDER_DRAGON: false
WITHER: false
BAT: false
WITCH: false
PIG: false
SHEEP: false
COW: false
CHICKEN: false
SQUID: false
WOLF: false
MUSHROOM_COW: false
SNOWMAN: false
OCELOT: false
IRON_GOLEM: false
HORSE: false
VILLAGER: false
WEATHER: false
PLAYER: false
permissions
invinciblemobs.set allows you to use the setinvincible command.
Known bugs
Doesn't work with vehicles even though settable.
Github source!
https://github.com/tommycake51/InvincibleMobs