This guide will show you how to properly disable mob griefing, TNT explosions, and fire spread on your server.
All of those are usually disabled so no player can use them to damage your world.
Vanilla Servers
- To disable the mob griefing on your Vanilla server you need to use the following command:
/gamerule mobGriefing [true | false]
- To disable the TNT explosion’s on your Vanilla server you need to use the following command:
/gamerule tntexplodes [true | false]
- To disable the mob griefing on your Vanilla server you need to use the following command:
/gamerule doFireTick [true | false]
Plugins Servers (Bukkit, Spigot or Paper)
On plugins servers you can use the same commands mentioned above in Vanilla, they will work for sure, but you can also use the WorldGuard
plugin to manage those options better.
- To disable the creeper explosions on your Plugins server using the WorldGuard plugin you need to use the following command:
/region flag __global__ creeper-explosion [allow | deny]
- To disable the mob griefing on your Plugins server using the WorldGuard plugin you need to use the following command:
/region flag __global__ tnt [allow | deny]
- To disable any type of explosion on your Plugins server using the WorldGuard plugin you need to use the following command:
/region flag __global__ other-explosion [allow | deny]
- To disable fire spread on your Plugins server using the WorldGuard plugin you need to use the following command:
/region flag __global__ fire-spread [allow | deny]
Modded Servers (Forge)
On the modded server, you can use the same commands as on Vanilla ones.
- To disable the mob griefing on your Forge server you need to use the following command:
/gamerule mobGriefing [true | false]
- To disable the TNT explosion’s on your Forge server you need to use the following command:
/gamerule tntexplodes [true | false]
- To disable the mob griefing on your Forge server you need to use the following command:
/gamerule doFireTick [true | false]