Skip to main content

TNT

You can modify TNT explosion and placing behavior with this module. Destruction of terrain can be easily disabled with the <blockdamage> element. If it is set to false, the <yield> element will have no effect since there will not be any block drops. TNT damage can be further limited with the disable damage module.

By default, dispensers containing TNT will ignite their TNT when exploded. This behavior can be customized with the <dispenser-tnt-limit> and <dispenser-tnt-multiplier> elements, setting either of these to 0 will disable it.

If licensing is enabled, only players with a TNT license can use TNT. This license is revoked if a player kills too many of their teammates using TNT.

TNT Element

ElementDescription
<tnt> </tnt>Node containing the custom TNT settings.

TNT Sub-elements

Sub-elementsDescriptionValueDefault
<instantignite>Instantly ignite TNT when placed.true/falsefalse
<blockdamage>Specify if TNT destroys the terrain.true/falsetrue
<yield>Modify the amount of items dropped by the explosion as a percentage.
Not valid when blockdamage is false.
0 - 1.0
<power>Modify the explosions block radius.0 - 20.0
<fuse>Time until the TNT explodes once it is ignited.Time Period
<dispenser-tnt-limit>The maximum amount of TNT a dispenser ignites when exploded.0 - 6416
<dispenser-tnt-multiplier>Multiplier for the amount of TNT ignited when a dispenser is exploded.0 - 2.00.25
<licensing>TNT usage is restricted to players who are licensed.true/falsetrue
<friendly-defuse>Toggle if players can defuse TNT placed by their teammates.true/falsetrue

Examples

<tnt>
<instantignite>on</instantignite>
<fuse>2s</fuse>
</tnt>
<tnt>
<dispenser-tnt-limit>8</dispenser-tnt-limit>
<dispenser-tnt-multiplier>1</dispenser-tnt-multiplier>
</tnt>