Simple plugin which deals damage to PigZombies between 8am and 8pm, when they are in sunlight.
Other mob damage plugins set mobs on fire and rely on the fire to do damage won't work on PigZombies who are immune to fire. This plugin does actual damage to them.
Default settings are 1 damage per second, which will kill a full health PigZombie in 20 seconds.
You can adjust the damage per second with the dmg command.
Commands
- Enable plugin
- /sunkillpigzombie enable
- Disable plugin
- /sunkillpigzombie disable
- Change damage amount, example below sets damage to 1 per second. 20 will kill instantly.
- /sunkillpigzombie dmg 1
View the full source code at https:bitbucket.org/sacah/bukkit-plugin-sunkillpigzombie

