Creeper explosions (and TNT) wrecking your builds is one of the fastest ways to ruin a Minecraft server’s vibe. The good news: you can stop the block damage in one command, or fine-tune it per-area with a plugin. This guide covers the gamerule, exactly what it changes, and the server options.
The one-command fix
Run this in-game (with cheats/op) or from the server console:
/gamerule mobGriefing false
This stops creepers (and other mobs) from destroying blocks when they explode. To turn it back on: /gamerule mobGriefing true. Creepers will still spawn and damage players — they just won’t blow holes in your builds.
What mobGriefing actually changes
| Mob / action | With mobGriefing false |
|---|---|
| Creeper explosions | No block damage (still hurt players) |
| TNT lit by mobs / ghasts | Ghast fireballs don’t break blocks |
| Endermen | Can’t pick up or place blocks |
| Withers | Don’t smash blocks with skulls |
| Villagers / farms | Stop farming & picking up items (side effect) |
The catch — and the per-area fix
mobGriefing false is a single switch for the whole world, so it also stops villagers farming and picking up crops, endermen moving blocks, and other mechanics you might want. If you only want to block creeper damage (or block it in just one area like spawn), use a plugin instead:
- WorldGuard — set the
creeper-explosion denyandtnt denyflags on a region, so explosions are blocked at spawn but normal elsewhere. - Anti-grief plugins (e.g. CoreProtect for logging + a protection plugin) — control explosions per-area while keeping villager farms working.
Plugins need a Spigot/Paper server. On a vanilla server, the gamerule is your only built-in option.
Frequently asked questions
How do I stop creepers from destroying blocks?
Run /gamerule mobGriefing false. Creepers still spawn and damage players, but their explosions no longer break blocks. Re-enable with /gamerule mobGriefing true. For creeper-only or area-only control, use a WorldGuard region flag instead.
Does mobGriefing false stop villager farming?
Yes — that’s the main downside. The rule is global and also stops villagers farming/picking up crops, endermen moving blocks and similar mechanics. If you run villager farms, use a WorldGuard per-region creeper-explosion deny flag instead so only explosions are blocked.
How do I disable creeper damage only at spawn?
Use WorldGuard on a Paper/Spigot server: define a region around spawn and set /region flag spawn creeper-explosion deny (and tnt deny for TNT). That protects spawn while leaving the rest of the map normal — far more flexible than the global gamerule.
Minecraft server hosting from $8/month with one-click Paper & plugins — 30% off with code XGAMEON.







