/
CustomTNT is a Minecraft plugin that adds fully customizable TNT types with unique explosion effects, block interactions, and mechanics. Perfect for servers looking to enhance gameplay with dynamic explosive tools.
/customtnt get <key>
Gives a player a custom TNT item by its key.
/customtnt get liquidcleaner – Receive Fluid Cleaner TNT./customtnt get frost – Receive Frost TNT.customtnt.admin – Required to use /customtnt commands.All TNT types can be configured in the plugin’s config.yml.
Each TNT entry supports:
name – Custom display name (supports gradients).power – Explosion power (radius is roughly power / 2).setfire – Whether the TNT ignites nearby blocks.breakblocks – Whether the TNT breaks blocks.replaceblocks – Configure block replacement (e.g., turn water/lava into air or ice).description – Lore text shown on the item.Plugin provides a simple API that allows developers to hook into custom TNT explosions.
You can listen to the CustomTntExploadEvent to detect when a custom TNT type explodes and modify its behavior.
Methods:
CustomTnt getCustomTnt() – Returns the CustomTnt object representing the exploding TNT (contains its key, power, and configuration).EntityExplodeEvent getEvent() – Returns the original Bukkit EntityExplodeEvent, allowing you to cancel or modify the explosion.
Adds customizable TNT types with unique effects and mechanics to enhance gameplay.