Lag Protect
by Producks
Lag Protect is a server-side Fabric mod that cancels damage to players whose connection has stalled, so they are not killed while frozen.
What it does
When the server stops receiving movement packets from a player for longer than the overdue threshold, that player is treated as lagging and incoming damage to them is set aside. Once the client resynchronizes, the protection lapses at that same instant, and it never grants lasting invulnerability. The mod concerns damage alone, so a stalled connection that exceeds the server's timeout window still ends in a normal disconnect.
To detect lag, the server sends each player a small ping on a configurable interval, with 30 ticks as the default. Lower intervals detect lag faster at the cost of more frequent packets. Lag Protect is server-side only, so players join without installing anything, and it is released under the MIT License as open source. It requires Fabric API, and files cover game versions 1.20.5 – 26.2 for Fabric.
Key features
Damage cancellation while lagging
Incoming damage to a player with an unresponsive connection is set aside until the client catches up.
Configurable ping interval
The server sends a tiny ping to each player on an interval that can be changed, with 30 ticks as the default.
Faster lag detection
Sending pings more often lets the server recognize a stalled connection sooner.
Damage-only protection
The mod changes nothing else, so a stalled connection that exceeds the server's timeout window still ends in a normal disconnect.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Server owners who run survival or multiplayer worlds where players on unstable connections are killed during lag spikes. Players on the server need nothing installed.
How it compares
CustomLag is also a server-side Fabric mod under the MIT License, open source, for 1.21 – 1.21.11. AFK to Ghost is server-side only and open source under the MIT License, with Fabric files for 1.20.1 – 26.2, a wider range than Lag Protect's. Panda Anti-Lag is server-side only and open source under the CC0 1.0 Universal license for 1.21.4 – 26.3.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Lag Protect | Fabric | 1.20.5 – 26.2 | Server-side only | 2026-08-20 |
| CustomLag | Fabric | 1.21 – 1.21.11 | Server-side only | 2025-12-29 |
| AFK to Ghost | Fabric | 1.20.1 – 26.2 | Server-side only | 2026-08-11 |
| Panda Anti-Lag | Fabric | 1.21.4 – 26.3 | Server-side only | 2026-10-08 |
Questions
Does Lag Protect need Fabric API?
Do players need to install Lag Protect?
Can the ping interval be changed?
Does Lag Protect stop players from being disconnected?
In the catalog
Lag Protect is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 13,894 mods support Minecraft 26.2.
More from Producks
Similar mods
What the author says
A lightweight, server-side Fabric mod that protects players from taking damage during lag spikes. When a player's connection stops responding, damage to them is cancelled until they catch back up, so nobody dies to a frozen screen. The server sends each player a tiny ping on a configurable interval (default every 30…
Official listing
- Modrinth page
- modrinth.com/mod/lag-protect
- Owner
- Producks
- Published
- 2025-04-27
- Updated on Modrinth
- 2026-08-20
- Facts verified
- 2026-10-15
