跳到正文

No Lag

作者:TreeOfSelf

Stop common causes of lag on your server. Configure to your likings.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

No Lag by TreeOfSelf

No Lag

Description

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

Hardcore Anarchy Skyblock Anarchy

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

CC0

常见问题

No Lag 支持哪些 Minecraft 版本?

No Lag 支持 Minecraft Java 版 1.21.4–26.3,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

No Lag 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

TreeOfSelf 的其他作品

查看全部 →