Below are the game rule commands to enable and disable different kinds of explosions: COMMAND. DESCRIPTION. /gamerule tntexplodes
There are other answers below:
TNT and Creeper explosions can quickly damage a world. Disabling these explosions entirely can protect your servers from griefers and creepers. This guide al…
How to Disable TNT and Creeper Explosions in Minecraft. Without WorldGuard Plugin. For Creeper Explosion. /gamerule mobGriefing
Ah, what a wonderful day! You just finished the amazing spawn for your brand new vanilla server! Time to get a nice long rest after that work. You log on the next day, and, to your utter disguist, you see your so-called-FRIEND light a block of TNT. You ban him, but it’s too late. The TNT goes off, and the spawn is destroyed.
So, I was trying to find a way to disable TNT explosions so I could make TNT Run! I was unable to find a way to stop it. I noticed a lot of people were using the /execute command, so I went to /execute help, found the usage, and tried to create my own command to do it. On the first try, I got it. Here was how I did it. Step 1:
The first step is to set up a scoreboard objective to track TNT that’s about to explode: /scoreboard objectives add TNTGoBoom dummy. Next, we need to set up a fill clock. You’ll need two command blocks in a column with an air block separating them. In the bottom, enter the following command: fill ~ ~1 ~ ~3 ~1 ~ air.
HOW TO DISABLE TNT EXPLOSION. Step1 . Get a Command Block /give @a minecraft:command_block. Step2. copy paste this command to command block /execute as @e[type=tnt] positioned ~ ~ ~ run kill @e[type=tnt] Step3. set command block to repeat and always active . NOTE. i don’t know exact range of this command but place it near
TNT, also removing it from players inventories (optionable) Spoiler: Config (in-script options): Code (Text): disable-explosion: true. remove: true. remove-from-containers: false. send-message: true. message: &4 [&cTNT&4] &f
Go to the plugins/WorldGuard/worlds/ folder and then to the name of the world in which you want TNT enabled (to disable it in all the other worlds edit the global config) Once you’re in the right folder, open the config.yml file and replace the {} with this: ignition: block-tnt: false block-tnt-block-damage: true block-lighter: false (or whatever settings you want)
Related Questions
How do I Turn Off TNT explosions in Minecraft?
If set to deny, TNT explosions are disabled in you Minecraft worlds. /region flag __global__ creeper-explosion
What is the difference between disable and allow for TNT explosions?
If set to deny, explosions caused by creepers will be disabled. If set to allow, TNT explosions are enabled in your Minecraft worlds. If set to deny, TNT explosions are disabled in you Minecraft worlds.
How do I destroy TNT?
Make a contraption that makes a command block go on and off and on and off and on, etc, etc. now, type /kill @e [type=PrimedTnt] in the command block. This will destroy tnt as soon as it is set. SIMPLE! do not use TNT, just use an instant exploding creeper by using /summon creeper x y z {Fuse:0} or if you want all tnt is not damaging any block use
What does the game rule “TNT explosions” do?
This game rule will also affect the ability of mobs to make changes to the world or pick items up e.g. endermen If set to true, TNT explosions are enabled in your Minecraft worlds.