COWMODSКаталог модов

TNTQueue

The mod is designed to limit the number of simultaneously active primed TNT entities.

Автор: somyk2,4 тыс.14обновлён 21 дек. 2025 г.
ОптимизацияУтилиты

Описание

TNTQueue

This a mod that prevents excessive server lag caused by large amounts of primed TNT. It does this by limiting the number of TNT entities that can be active at the same time.

When the active TNT count exceeds the configured limit, additional TNT is placed into a queue and activated later, ensuring explosions remain manageable without overwhelming the server.

Warning: this may break the vanilla behavior of TNT, as the logic of its spawn has changed.


godlikehost

Configuration

The mod provides two configurable options, which can be adjusted either manually in the config file or via an in-game command:

  • maxPrimedTntAmount: — The maximum number of primed TNT entities allowed to exist simultaneously.

  • maxQueueSize: — The maximum number of TNT entities that can be stored in the queue.

⚠️ Default values are arbitrary and should be tuned for your specific server setup. The intention of the mod is to block TNT usage at levels that could otherwise cause the server to freeze.

You can adjust the configuration in-game using the command:
/tntqueue <option> <value>
Requires the tntqueue.modify permission or op.

In the example limit is up to 3 tnt.
TNT gif


You are welcome to support me via the following links:
ko-fi monobank

Последние версии

Все версии →
release

TNTQueue 1.21.9-0.4

1.21.9-0.4
21 дек. 2025 г.131Minecraft: 1.21.9, 1.21.10fabric
Скачать
Что нового
Update to 1.21.9
release

TNTQueue 1.21.6-0.4

1.21.6-0.4
5 июл. 2025 г.239Minecraft: 1.21.6, 1.21.7, 1.21.8fabric
Скачать
Что нового
Update to 1.21.6-1.21.8
release

TNTQueue 1.21-0.4

1.21-0.4
5 июл. 2025 г.195Minecraft: 1.21, 1.21.1fabric
Скачать
Что нового
Cloning TNT entities using NBT for accurate preservation of properties (including fuse, owner, velocity); Implementing a maximum queue size to prevent memory exhaustion; Implementing logging for debugging and monitoring queue status and discards;
release

TNTEntityLimiter 1.21-0.3

1.21-0.3
5 сент. 2024 г.867Minecraft: 1.21, 1.21.1fabric
Скачать
Что нового
Now it's queued up, not "frozen"
release

TNTEntityLimiter 1.21-0.2

1.21-0.2
17 июл. 2024 г.876Minecraft: 1.21fabric
Скачать
Что нового
Now you can use the config command if you are operator.
release

TNTEntityLimiter 1.21-0.1

1.21-0.1
16 июл. 2024 г.110Minecraft: 1.21fabric
Скачать