ModsFinder

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.

FabricServer-side onlyMIT LicenseOpen source1.20.5 – 26.2

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

  1. Damage cancellation while lagging

    Incoming damage to a player with an unresponsive connection is set aside until the client catches up.

  2. 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.

  3. Faster lag detection

    Sending pings more often lets the server recognize a stalled connection sooner.

  4. 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
26.22.1.0+mc26.1
26.1.22.1.0+mc26.1
26.1.12.1.0+mc26.1
26.12.1.0+mc26.1
1.21.x12 of 12 versions with builds
1.21.112.1.0+mc1.21.11
1.21.102.1.0+mc1.20.5-1.21.10
1.21.92.1.0+mc1.20.5-1.21.10
1.21.82.1.0+mc1.20.5-1.21.10
1.21.72.1.0+mc1.20.5-1.21.10
1.21.62.1.0+mc1.20.5-1.21.10
1.21.52.1.0+mc1.20.5-1.21.10
1.21.42.1.0+mc1.20.5-1.21.10
1.21.32.1.0+mc1.20.5-1.21.10
1.21.22.1.0+mc1.20.5-1.21.10
1.21.12.1.0+mc1.20.5-1.21.10
1.212.1.0+mc1.20.5-1.21.10
1.20.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Lag ProtectFabric1.20.5 – 26.2Server-side only2026-08-20
CustomLagFabric1.21 – 1.21.11Server-side only2025-12-29
AFK to GhostFabric1.20.1 – 26.2Server-side only2026-08-11
Panda Anti-LagFabric1.21.4 – 26.3Server-side only2026-10-08

Questions

Does Lag Protect need Fabric API?

Yes. Fabric API is a required dependency and must be installed on the server next to Lag Protect.

Do players need to install Lag Protect?

No. Players join without it, since only the server has to run the mod.

Can the ping interval be changed?

Yes. The ping interval is configurable, and the default is 30 ticks. Shorter intervals detect lag faster but send more packets.

Does Lag Protect stop players from being disconnected?

No. Protection covers damage only, so a stalled connection that exceeds the server's timeout window still ends in a normal disconnect.

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

All projects

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…
Producks, on the Modrinth page

Official listing

Owner
Producks
Published
2025-04-27
Updated on Modrinth
2026-08-20
Facts verified
2026-10-15

Tags