TNTQueue is a Minecraft modification that effectively solves the problem of severe server lag during massive TNT explosions. Instead of completely banning dynamite, the mod intelligently manages the number of active TNT entities, ensuring stable performance even during large-scale explosions.
How TNTQueue Works
The system sets a limit on the maximum number of simultaneously activated TNT charges. When this limit is exceeded, additional charges are placed in a special queue and activated gradually as "slots" become available. This approach preserves the visual effects of explosions without overloading the server.

Mod Configuration
The modification offers two main parameters for configuration:
maxPrimedTntAmount- determines the maximum number of simultaneously active TNT entitiesmaxQueueSize- sets the size of the queue for TNT awaiting activation
⚠️ Default parameter values are set arbitrarily and require adjustment according to your server's performance. The main goal of the mod is to prevent server freezes during excessive TNT usage.
Settings can be changed in two ways:
- Through the configuration file
- Using the in-game command:
/tntqueue <parameter> <value>
Command usage requires operator privileges or the tntqueue.modify permission.