LagShield Ultimate (Anti Lag) 图标

LagShield Ultimate (Anti Lag)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 16
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lagshield-ultimate-(anti-lag)
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: management optimization utility

资源介绍

LagShield [NeoForge 1.21]
LagShield is a server-side performance mod for NeoForge 1.21. It is designed specifically for hybrid server environments (such as Arclight or Mohist) to ensure compatibility with Forge mods while maintaining server stability.

The mod monitors the server load (MSPT) in real-time and dynamically adjusts mob spawns, entity AI, and movement speeds to keep the TPS stable.

Features
Adaptive Performance
Instead of enforcing static limits, the mod reacts to the current server load.

Stable (<40ms MSPT): No restrictions applied.

High Load (50ms+ MSPT): Mob spawns are reduced, and AI is disabled for distant entities.

Critical (>60ms MSPT): Strict limits on spawns and entity speeds are enforced to prevent crashes.

Asynchronous Processing
To reduce strain on the main thread, calculations such as mob density checks and AI logic are offloaded to a background thread. The system uses data snapshots to ensure thread safety on hybrid servers and to prevent conflicts with other mods.

Speed Limiter
Prevents entities (players or mobs) from loading chunks faster than the server can process them. This is particularly useful for mods that allow very fast movement (e.g., Vampirism, flight items). During high server load, these speeds are automatically throttled.

Mob Limits & Protection
Chunk Limit: Dynamically limits the number of mobs per chunk based on server load.

Protected Entities: Bosses, Villagers, tamed animals, and name-tagged mobs are ignored by the mod and will not be despawned or frozen.

Commands
The main command is /lagshield.

/lagshield status Displays current server information:

TPS & MSPT (Milliseconds per Tick)

Current Stress Level (Percentage)

Status of asynchronous processes (Number of frozen mobs/tracked chunks)

Configuration
The mod generates a configuration file at config/lagshield-common.toml. You can adjust the following settings:

Enable/Disable asynchronous modules.

Adjust speed limits and sensitivity.

Set the maximum number of mobs per chunk.

Edit the list of protected mobs (VIP List).

Installation: This mod is required on the server side only. Clients do not need to install it.

✔ Support & Origins
This mod was specifically developed for the Werewolves vs Vampires modpack to ensure a 24/7 lag-free experience.

Check out my other projects: CurseForge - epicskydex

Support the Developer: Support me on Ko-fi

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
FabriStorm

价格:0 墨喵币
下载量:0

查看详情
Simple Grapes

价格:0 墨喵币
下载量:0

查看详情
TakeItPairs

价格:0 墨喵币
下载量:0

查看详情
Quicreate Mod

价格:0 墨喵币
下载量:0

查看详情