Back to mods
Lag Protect project artwork

CurseForge · Minecraft mod

Lag Protect

Protects lagging players from damage

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Lag Protect release should I use?

Updated 3 months ago
Latest stable file lag_protect-2.1.0+mc26.1.jar
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

Lag Protect lag_protect-2.1.0+mc26.1.jar targets 26.1, 26.1.1, 26.1.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Lag Protect required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Lag Protect lag_protect-2.1.0+mc26.1.jar need?

lag_protect-2.1.0+mc26.1.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Lag Protect lag_protect-2.1.0+mc26.1.jar
required
Matching file found Matched file: [26.2] Fabric API 0.161.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Lag Protect without breaking your instance.

Built for Lag Protect lag_protect-2.1.0+mc26.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use lag_protect-2.1.0+mc26.1.jar. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside lag_protect-2.1.0+mc26.1.jar. It opens that exact file at the source.

About this project

What does Lag Protect add?

Requires Fabric API

Lag Protect

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.

How it works

The server sends each player a tiny ping on a configurable interval (default every 30 ticks). If the response is overdue by more than a second and the player has also stopped sending movement packets, they are considered lagging and incoming damage is cancelled. Protection ends the moment the client catches up.

Gamerule

/gamerule lag_protect <ticks> -- interval between pings (default 30, range 0-200, 0 disables the mod).

Lower = lag is detected faster, but packets are sent more frequently.

Notes

Protection covers damage only. A player who stays lagged past the vanilla keepalive timeout is still disconnected as normal.

License

This mod is available under the MIT license.

Project description from CurseForge.

Pick your setup

Lag Protect by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Showing the newest 12 of 18 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Lag Protect versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.