Minecraft | How to Disable TNT Explosions and Creeper Explosions
How to Disable TNT and Creeper Explosions in Minecraft
Without WorldGuard Plugin
For Creeper Explosion
/gamerule mobGriefing <true|false>
If set to true, explosions caused by mobs will be enabled. This is the default value.
If set to false, explosions caused by mobs will be disabled.
This game rule will also affect the ability of mobs to make changes to the world or pick items up e.g. endermen
For TNT Explosion (BEDROCK only)
/gamerule tntexplodes <true|false>
If set to true, TNT explosions are enabled in your Minecraft worlds.
If set to false, TNT explosions are disabled in your Minecraft worlds.
With WorldGuard Plugin
You need to have WorldGuard and WorldEdit plugins installed on your server to use this option.
WorldGuard plugin page: https://dev.bukkit.org/projects/worldguard
WorldEdit plugin page: https://dev.bukkit.org/projects/worldedit
If you do this on overworld, then the effect will only be on overworld. You will have to do this again on Nether and End if you want it also to be in effect there
For Creeper Explosion
/region flag __global__ creeper-explosion <allow|deny>
If set to allow, explosions caused by creepers will be enabled.
If set to deny, explosions caused by creepers will be disabled.
For TNT Explosion
/region flag __global__ tnt <allow|deny>
If set to allow, TNT explosions are enabled in your Minecraft worlds.
If set to deny, TNT explosions are disabled in you Minecraft worlds.
Other Explosions
/region flag __global__ other-explosion <allow|deny>
If set to allow, other kinds of explosions will be enabled.
If set to deny, other kinds of explosions will be disabled.
All done! You are now all set with these explosions!
Updated on: 24/09/2022
Thank you!