TNTQueue
The mod is designed to limit the number of simultaneously active primed TNT entities.
介绍
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.
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.

You are welcome to support me via the following links:
常见问题
TNTQueue 支持哪些 Minecraft 版本?
TNTQueue 支持 Minecraft Java 版 1.21–1.21.10,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
TNTQueue 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
somyk 的其他作品
查看全部 →
Private Horses
Sick of having your horse, donkey, or mule jacked? With this mod, you can relax — no one but you can ride or leash your animal now!
Borukva Modpack
Optimization and QoL modpack for best multiplayer experience!
Map Art Copyright
A small server side mod designed to note the author who created the map. Allows to disable map copying.
TNTQueue
The mod is designed to limit the number of simultaneously active primed TNT entities.

评论
登录后评论和评分