Back to mods
CustomLag project artwork

Modrinth · Minecraft mod

CustomLag

Fabric mod to simulate lag for servers and single player worlds by delaying packets from sending and receiving

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

Quick answer

Which CustomLag release matches 1.21.4?

Updated 11 months ago
Best match for your filters 1.1.0+1.21-1.21.4
Game version 1.21, 1.21.1, 1.21.2
Loader Fabric

CustomLag 1.1.0+1.21-1.21.4 targets 1.21, 1.21.1, 1.21.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 CustomLag 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 CustomLag 1.1.0+1.21-1.21.4 need?

1.1.0+1.21-1.21.4 on 1.21.4. 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 CustomLag 1.1.0+1.21-1.21.4
required
Matching file found Matched file: [1.21.4] Fabric API 0.119.4+1.21.4

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

Before you install it

Add CustomLag without breaking your instance.

Built for CustomLag 1.1.0+1.21-1.21.4 on 1.21.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0+1.21-1.21.4. It targets 1.21, 1.21.1, 1.21.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 1.1.0+1.21-1.21.4. It opens that exact file at the source.

About this project

What does CustomLag add?

Your browser doesn't support HTML video.

About the Mod

This Mod simulates lag by delaying the processes of receiving and sending packets. This is done by injecting a ContextHandler inside the ChannelPipeline of a minecraft connection. This mod works only for servers and single player worlds.

Usage

To set or change the latency/ping for a player, just use the lag command:

/lag set <playername> <latency>

Setting lag will be saved to a toml file, so even after restart, the settings
will remain. You can also set the lag of offline players (who have not currently
joined yet.)

In order to remove the lag of a player, you can use:

/lag remove <playername>

(this removes the ContextHandler that delays packets from sending)

Some additional commands are:

There are also some addional quality of live -ish commands, like increase the
keep alive / ping packets interval, to find more, just enter

/customlag

Project description from Modrinth.

Pick your setup

CustomLag by Minecraft version and loader

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

12 available setups

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

Recent files

CustomLag versions and loaders

2 of 7 releases match
Clear filters

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