How to Disable TNT and Creeper Explosions in Minecraft

We have a video tutorial on how to disable TNT and creeper explosions in Minecraft:

 

Explosions can be very dangerous and can cause damages to your builds, the terrain, or player health.

Although it is possible, undoing the effects of explosions may be difficult. It is for this reason that options in game are available to control explosions in your server. You can also enable or disable specific kinds like TNT and creeper explosions. These are made possible using plugins and game rules. 

NOTE: You must be a server operator (OP) to be able to use the /gamerule and /region commands. If you are not yet an operator, check out our tutorial here: Giving Operator (OP) to a Player

 

CONTROL EXPLOSIONS USING GAME RULES

Game rule is a feature available to Minecraft by default which allows you to modify gameplay without the use of mods or plugins. Below are the game rule commands to enable and disable different kinds of explosions:

COMMAND DESCRIPTION
/gamerule tntexplodes <true|false>

If set to true, TNT explosions are enabled in your Minecraft worlds. This is the default value.

If set to false, TNT explosions are disabled in you Minecraft worlds.  

/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

You can find more information on Game Rules in this article: How to Use Game Rules in Minecraft


 

CONTROL EXPLOSIONS USING PLUGIN (WORLDGUARD)

If you are running a server type that allows plugins like Spigot, and would like to have more control on the specific explosions you would like to control, you can use the plugin called WorldGuard to do this. 

You need to have WorldGuard and WorldEdit plugins installed on your server to use this option.

You may refer to our knowledgebase tutorial on installing plugins to your server: How to Install Plugins on Your Minecraft Server

If you already have these plugins installed, you may refer to the commands below to control explosions on your server:

Note: These commands will only affect the worlds where they are used in. You will need to teleport to the worlds in your server and enter the commands to change explosion settings for each world. 
COMMAND DESCRIPTION
/region flag __global__ tnt <allow|deny>

If set to allow, TNT explosions are enabled in your Minecraft worlds. This is the default value.

If set to deny, TNT explosions are disabled in you Minecraft worlds.  

/region flag __global__ creeper-explosion <allow|deny>

If set to allow, explosions caused by creepers will be enabled. This is the default value.

If set to deny, explosions caused by creepers will be disabled

/region flag __global__ other-explosion <allow|deny>

If set to allow, other kinds of explosions will be enabled. This is the default value.

If set to deny, other kinds of explosions will be disabled

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • tnt, explosions, creeper, game rules, command, worldedit, worldguard, explanation, plugin
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Multicraft User Roles

You can allow a friend or another user to manage your server by adding them as a additional user...

Creating a MySQL Database

Every server comes with a free MySQL Database. This database can be managed in the Multicraft...

Giving Operator (OP) to a Player

We have a video tutorial for giving OP to a player:   An operator (OP) is someone who has...

Adding Extra Control Panel Users

We have a video tutorial on how to add users on Multicraft:   You can give a friend or server...

How to Manually Backup Your Minecraft Server

We have a video tutorial for creating a backup:   Backups can be used to recover your server...