Description
LagShield
Server-side performance mod for NeoForge 1.21. Monitors server load in real time and dynamically adjusts entity AI, mob spawns, and movement speeds to keep TPS stable. No client install required.
Features
- Adaptive system — reacts to live MSPT, no static limits
- Async mob AI and density calculations off the main thread
- Per-chunk mob limits that scale with server load
- Tick rate controller — distant entities think less often
- Per-mob config (
mob_spawns.json) — auto-generated, edit spawn weight and mob cap per entity - Bosses, villagers, tamed animals, and name-tagged mobs are always protected
/lagshield reload— reload all configs without restarting
Configuration
Config lives in config/lagshield/ — lag_features.toml for module settings and mob_spawns.json for per-mob spawn control.
Compatibility
Designed for hybrid servers (Arclight, Mohist). Originally developed for the Werewolves vs Vampires modpack.


