CreeperMode
CreeperMode
CreeperMode
CreeperMode is a plugin for Bukkit which allows creeper mode to be enabled in-game. It is extremely simple to use, with one config option and no commands or permissions.
How It Works
CreeperMode changes every mob that spawns to a creeper except Ender Dragons and Giants. The reason we don't interfere with Ender Dragons is because you can only get them from admin spawning or the end, and we don't want to stop the end from being completed. We don't interfere with Giants because only an admin can spawn them so there is no point in stopping them.
How It Works For Developers
CreeperMode listens to CreatureSpawnEvent, and if the creature isn't an EnderDragon, Creeper, Human or Giant, it calls setCancelled(true) and spawns a creeper. It uses ignoreCancelled = true to stop cancelled events triggering creeper spawns.
Config
Default Config:
CreeperMode: false
The CreeperMode option controls whether Creeper Mode is enabled. It defaults to false because we don't want people getting overwhelmed instantly.
Changelog
Times formatted day/month/year
21/08/2012 - v1.2 - Removed deprecated method usage. 10/08/2012 - v1.1 - Whoops, forgot to ignore Ender Dragon and Giant spawns! 10/08/2012 - v1 - Released plugin.
Commands / Permissions
N/A
good plugin, does it change passive and tammable also?