Possible Duplicate:
How can I disable creepers block damage on my Minecraft server?
Removing some hostile creatures in minecraft
Hello fellow minecrafters, I am making an adventure map with lots of fighting mobs in it, and I was wondering if there was a way to stop creepers from destroying the map (for obvious reasons.)
31 Answer
You can set /gamerule mobGriefing false. This will also prevent Wither damage, Ghast damage, crop trampling and Endermen moving blocks. This works in singleplayer too.