KABOOOM
A simple plugin to schredule tnt spawn on player
KABOOOM
TNTSpawn
<div align="center">
<br> <br> Make TNT rain from the sky on players! ☄️💣
</div>
<div>
How to install
<p>Setup a free Minecraft server <a href="https://minestrator.com/serveur/minecraft/gratuit" rel="noopener nofollow ugc">Minestrator - Free server</a></p> <p>Install the plugin software on your server - <a href="https://papermc.io/" rel="noopener nofollow ugc">PaperMC</a></p> <p>Download TNTSpawn and place it in your <code>plugins/</code> folder</p> <p>Restart your server and enjoy! 🎉</p>
</div>
---
<div> <h2>✨ Features</h2> <ul> <li>🎯 <strong>Admin Mode</strong>: Spawn TNT on all online players simultaneously</li> <li>👤 <strong>Personal Mode</strong>: Players can spawn TNT on themselves</li> <li>⏱️ <strong>Customizable Intervals</strong>: Set spawn time from 1 second to 1 hour</li> <li>🔒 <strong>Smart Protection</strong>: Players cannot activate personal mode when admin mode is active</li> <li>🎨 <strong>Fully Configurable</strong>: Messages, sounds, particles, and more</li> <li>🌍 <strong>World Control</strong>: Whitelist/blacklist specific worlds</li> <li>⚡ <strong>Lightweight</strong>: Optimized performance with minimal server impact</li> </ul> </div>
---
<div> <h2>📋 Commands & Permissions</h2>
<h3>Admin Commands</h3> <table border="1" cellspacing="0" cellpadding="8" style="border-collapse: collapse; width: 100%;"> <thead> <tr> <th>Command</th> <th>Description</th> <th>Permission</th> <th>Example</th> </tr> </thead> <tbody> <tr> <td><code>/tntspawn-all on [time]</code></td> <td>Spawn TNT on all players</td> <td><code>tntspawn.admin</code></td> <td><code>/tntspawn-all on 3</code></td> </tr> <tr> <td><code>/tntspawn-all off</code></td> <td>Disable admin mode</td> <td><code>tntspawn.admin</code></td> <td><code>/tntspawn-all off</code></td> </tr> <tr> <td><code>/tntspawn-off</code></td> <td>Disable ALL TNT spawning</td> <td><code>tntspawn.admin</code></td> <td><code>/tntspawn-off</code></td> </tr> </tbody> </table>
<h3>Player Commands</h3> <table border="1" cellspacing="0" cellpadding="8" style="border-collapse: collapse; width: 100%;"> <thead> <tr> <th>Command</th> <th>Description</th> <th>Permission</th> <th>Example</th> </tr> </thead> <tbody> <tr> <td><code>/tntspawn on [time]</code></td> <td>Spawn TNT on yourself</td> <td><code>tntspawn.use</code></td> <td><code>/tntspawn on 5</code></td> </tr> <tr> <td><code>/tntspawn off</code></td> <td>Disable your personal TNT</td> <td><code>tntspawn.use</code></td> <td><code>/tntspawn off</code></td> </tr> <tr> <td><code>/tntspawn reload</code></td> <td>Reload plugin configuration</td> <td><code>tntspawn.admin</code></td> <td><code>/tntspawn reload</code></td> </tr> </tbody> </table>
<h3>Aliases</h3> <ul> <li><code>/tntall</code>, <code>/tnta</code> → <code>/tntspawn-all</code></li> <li><code>/tnt</code> → <code>/tntspawn</code></li> <li><code>/tntoff</code> → <code>/tntspawn-off</code></li> </ul> </div>
---
<div> <h2>🎮 How it works</h2>
<h3>🔴 Admin Mode</h3> <p>When an admin activates the global mode with <code>/tntspawn-all on</code>:</p> <ol> <li>✅ TNT spawns on <strong>ALL online players</strong> at the specified interval</li> <li>❌ Players <strong>CANNOT</strong> activate their personal TNT mode</li> <li>🔄 All existing personal TNT modes are <strong>automatically disabled</strong></li> <li>💥 TNT appears 2 blocks above each player with a 4-second fuse</li> </ol>
<h3>🟢 Personal Mode</h3> <p>Players can activate their own TNT spawning with <code>/tntspawn on</code>:</p> <ol> <li>✅ TNT spawns <strong>only on the player</strong> who activated it</li> <li>❌ <strong>BLOCKED</strong> if admin mode is currently active</li> <li>👤 Each player controls their own TNT independently</li> <li>🔄 Automatically stops when the player disconnects</li> </ol>
<h3>⚡ Emergency Stop</h3> <p>Use <code>/tntspawn-off</code> to instantly disable:</p> <ul> <li>🔴 Admin mode (global TNT)</li> <li>🟢 All personal player TNT modes</li> <li>💯 Everything stops immediately!</li> </ul> </div>
---
<div> <h2>⚙️ Configuration</h2> <p>Customize everything in <code>config.yml</code>:</p>
Default Settings
<ul> <li>Default interval: <code>2 seconds</code></li> <li>TNT fuse time: <code>80 ticks (4 seconds)</code></li> <li>Spawn height: <code>2 blocks above player</code></li> </ul>
Custom Messages
<ul> <li>Full color code support (<code>&a</code>, <code>&c</code>, etc.)</li> <li>Customizable prefix</li> <li>All success/error messages editable</li> </ul>
Advanced Features
<ul> <li>Auto-disable on disconnect: <code>true/false</code></li> <li>Auto-disable on death: <code>true/false</code></li> <li>Play sounds: <code>ENTITY_TNT_PRIMED</code></li> <li>Spawn particles: <code>FLAME</code>, <code>EXPLOSION</code>, etc.</li> <li>World whitelist/blacklist support</li> <li>Interval limits: min/max seconds</li> </ul>
</div>
---
<div> <h2>🎯 Use Cases</h2> <ul> <li>🎪 <strong>Mini-games</strong>: Create challenging survival games</li> <li>🎭 <strong>Events</strong>: Host explosive events on your server</li> <li>😈 <strong>Pranks</strong>: Surprise your friends (and enemies!)</li> <li>🏃 <strong>Parkour</strong>: Add extra difficulty to obstacle courses</li> <li>⚔️ <strong>PvP Arenas</strong>: Make battles more chaotic</li> <li>🎓 <strong>Training</strong>: Practice dodging and survival skills</li> </ul> </div>
---
<div> <h2>📊 Requirements</h2> <ul> <li>✅ <strong>Minecraft</strong>: 1.21+ (Paper/Purpur/Spigot)</li> <li>✅ <strong>Java</strong>: 21+</li> <li>✅ <strong>Dependencies</strong>: None!</li> </ul> </div>
---
<div> <h2>🐛 Support & Issues</h2> <p>Found a bug? Have a suggestion?</p> <ul> <li>📝 Open an issue on GitHub</li> <li>💬 Join our Discord community</li> <li>⭐ Star the project if you like it!</li> </ul> </div>
---
<div align="center"> <strong>Made with ❤️ for the Minecraft community</strong> <p><em>Stay explosive! 💣</em></p> </div>