← All guides
FreaksMC Guides

How to Turn Off Mob Griefing (Creepers and Endermen) on a Minecraft Server

Updated November 21, 2026 · 2 min read

A creeper crater in the middle of someone's first house is a rite of passage, but on a shared server it gets old fast. Minecraft has a single game rule that stops mobs from changing the world. Here's how to use it and what it quietly breaks.

Short answer
Run /gamerule mob_griefing false as an operator (on older versions it's mobGriefing). Creepers stop breaking blocks and endermen stop picking them up. It also stops villagers farming and sheep regrowing wool, so if you only want to stop creepers, use a protection plugin instead.

Turn it off

In game as an operator:

/gamerule mob_griefing false

Or from the server console, without the slash:

gamerule mob_griefing false

It takes effect right away and stays set after restarts. On older versions the rule is spelled mobGriefing. If you get an "unknown game rule" error, type /gamerule and press Tab to see the spelling your version accepts.

Paper, Spigot and Purpur: the Nether and End are separate worlds with their own game rules. Set it there too:

/execute in minecraft:the_nether run gamerule mob_griefing false
/execute in minecraft:the_end run gamerule mob_griefing false

What it stops

What else it turns off (the side effects)

This is the part most guides skip. Mob griefing covers more than hostile mobs:

If your players build villager or wool farms, they'll notice.

Only stop creepers (recommended for SMPs)

If the real problem is creepers, block just that with a protection plugin. With WorldGuard installed:

/rg flag __global__ creeper-explosion deny

Creepers still explode and still hurt players, but no blocks break, and villagers, sheep and everything else keep working. You can also use enderman-grief deny to stop endermen. New to plugins? See how to add plugins to your server.

Undo creeper damage that already happened

Turning off griefing doesn't repair old holes. If you run CoreProtect, you can roll back explosion damage in an area. Our guide on stopping griefing covers rollbacks step by step.

Related

FAQ

Does turning off mob griefing stop creepers from hurting players?

No. Creepers still explode and still deal damage. They just stop breaking blocks.

Will villagers still farm with mob griefing off?

No. Villager farmers can't harvest or plant crops with mob griefing off, so automatic crop farms that rely on villagers stop working.

Can I stop only creepers and keep everything else normal?

Yes, with a protection plugin. WorldGuard's creeper-explosion flag blocks creeper block damage while leaving villagers, sheep and other mobs alone.

Want a server that just runs fast?

FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.

See plans from $3/mo

We use cookies for analytics & ads to measure how our site performs. Essential cookies always run. See our Privacy Policy.