
No Lag
简介
此模组不仅能防止玩家因创建大型刷怪塔而无意中导致服务器卡顿(且不会中断他们的游戏体验),还能阻止有人故意使用卡顿机器使服务器崩溃或卡顿。
停止 Fabric 服务器上常见的卡顿原因。
该模组旨在通过允许你限制区域内的投射物实体数量、防止玩家加载过多的末影珍珠、对拥有过多生物的区域的生物刻进行分步处理,以及对拥有过多载具的区域的载具刻进行分步处理,来预防常见的卡顿来源。
这将阻止人们基于创建过多实体来制作卡顿机器。
它还会阻止人们通过加载过多区块的末影珍珠来占用过多内存或导致服务器严重卡顿。
此外,生物刻的分步处理允许玩家在区域内拥有数千只生物,只有他们自己的生物会经历卡顿,而服务器的 TPS 仍能保持在 20.0。
配置
config/PandaAntiLag.json 在运行时生成
{
"regionSize": 6, // 将多少个区块视为一个“卡顿区域”的正方形尺寸
"regionBuffer": 1, // 卡顿区域为了检查实体数量相互渗透的距离
"minimumRegionMobs": 75, // 在区域可能受到生物刻分步处理影响之前,区域内所需的最少生物数量
"minimumRegionVehicle": 75, // 在区域可能受到载具刻分步处理影响之前,区域内所需的最少载具数量
"projectileMax": 150, // 允许在卡顿区域内存在的单一类型投射物实体(如箭)的最大数量
"mobStaggerLenience": 200, // 值越高 = 生物数量对生物刻分步处理的影响越小
"vehicleStaggerLenience": 200, // 值越高 = 载具数量对载具刻分步处理的影响越小
"tickTimeLenience": 10, // 值越高 = MSPT 对生物和载具刻分步处理的影响越小
"updateInterval": 10000, // 允许区块统计实体的频率(毫秒)
"enderPearlUpdateInterval": 10000, // 检查玩家最大末影珍珠数量的频率(毫秒)
"maxEnderPearlsPerPlayer": 20 // 玩家可加载的最大末影珍珠数量
}
试用

hardcoreanarchy.gay (死亡禁令无政府状态)
sky.hardcoreanarchy.gay (天空岛无政府状态)
更多模组
All my mods
问题
Bug 和问题请提交至 GitHub Issues。没有 Discord 支持。
许可证


No Lag
Description
This mod not only stops people unintentionally lagging your server by creating massive mob farms (without interrupting their gameplay), but also stops people from intentionally crashing/lagging your server with lag machines.
Stop common causes for lag on your Fabric server.
This mod aims to prevent common causes of lag by allowing you to limit the amount of projectile entities in an area, prevent someone from having too many ender pearls loaded, stagger mob ticks in an area with too many mobs, and stagger vehicle ticks in an area with too many vehicles.
This will stop people from making lag machines based on creating too many entities.
It will also stop people from using too much RAM or lagging a server out by loading too many chunks with ender pearls.
And the staggering of mob ticks allows for players to have thousands of mobs in an area, and only their mobs experience lag while the server TPS stays at 20.0
Configuring
config/PandaAntiLag.json generated at runtime
{
"regionSize": 6, //The square dimensions of how many chunks to consider a "lag region"
"regionBuffer": 1, //How far lag regions bleed into each other for checking entity counts
"minimumRegionMobs": 75, //Minimum amount of mobs in a region before it can be affected by mob tick staggering
"minimumRegionVehicle": 75, //Minimum amount of vehicles in a region before it can be affected by vehicle tick staggering
"projectileMax": 150, //Max amount of single type of projectile entity (like arrows) allowed in lag region
"mobStaggerLenience": 200, //Higher values = mob count affects mob staggering less
"vehicleStaggerLenience": 200, //Higher values = vehicle count affects vehicle staggering less
"tickTimeLenience": 10, //Higher values = MSPT affects mob and vehicle staggering less
"updateInterval": 10000, //How often to allow chunks to count entities (ms)
"enderPearlUpdateInterval": 10000, //How often to check for a players max enderpearls (ms)
"maxEnderPearlsPerPlayer": 20 //Max amount of ender pearls a player can have loaded
}
Try it out

hardcoreanarchy.gay (Deathban Anarchy)
sky.hardcoreanarchy.gay (Skyblock Anarchy)
More mods
Anti-Exploit - A drop-in mod for preventing common exploits. Fully configurable and works well alongside other anti-cheats like GrimAC.
Dupe Fix - A simple drop-in mod to prevent all forms of duping. TNT-Duping, Gravity block duping, and much more will not work with this mod enabled.
TNT Fusion - Stop massive amounts of TNT from lagging or crashing your server
Attribute Swapping Fix - Simple drop-in mod to stop Attribute Swapping / Breach Swapping on Fabric
All my mods
Issues
Bugs and problems go on GitHub Issues. There is no Discord support.
License

评论 0
登录后参与评分
还没有评论,来抢沙发吧