Download TNTQueue — Minecraft Mods — MetaMods

TNTQueue

Active

Downloads

0

Last update

4 months ago

Versions

1.21 — 1.21.8
Server
Fabric
Game optimization
Utils

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 demonstration video

Mod Configuration

The modification offers two main parameters for configuration:

  • maxPrimedTntAmount - determines the maximum number of simultaneously active TNT entities
  • maxQueueSize - 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.

Project members
somyk

somyk

Developer

Created: 17 Jul 2024

ID: 225392