Back to mods
Lag Protect project artwork

Modrinth · 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 matches 26.1?

Updated 3 months ago
Best match for your filters 2.1.0+mc26.1
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

Lag Protect 2.1.0+mc26.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

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

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
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

This file is marked server-only.

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

2.1.0+mc26.1 on 26.1. Every mod below is checked against that same setup.

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 2.1.0+mc26.1
required
Matching file found Matched file: 0.155.3+26.1.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 2.1.0+mc26.1 on 26.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.1.0+mc26.1. 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

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.1.0+mc26.1. 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 Modrinth.

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

1 of 4 releases match
Clear filters

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