
Modrinth · Minecraft mod
CustomLag
Fabric mod to simulate lag for servers and single player worlds by delaying packets from sending and receiving
Quick answer
Which CustomLag release matches 1.21.4?
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.
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.
Install Fabric API first. We found matching files for this game-version and loader setup.
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.
- 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.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 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?
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.
1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
CustomLag versions and loaders
1.1.0+1.21-1.21.4
customlag-1.1.0+1.21-1.21.4.jar
29 Dec 2025
1.0
customlag-1.0.jar
15 Aug 2025
Looking for an older file? The official Modrinth project page is in Resources.