CustomLag

CustomLag

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

2 430 downloads 2 followers

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
Version Minecraft Loader Download

CustomLag 1.1.1+1.21.6-1.21.8

1.1.1+1.21.6-1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

CustomLag 1.1.1 for version 1.21.5

1.1.1+1.21.5

1.21.5
fabric
Download

CustomLag 1.1.0 for version 1.21.11

1.1.0+1.21.11

1.21.11
fabric
Download

CustomLag 1.1.0 for version 1.21.9 til 1.21.10

1.1.0+1.21.9-1.21.10

1.21.10, 1.21.9
fabric
Download

CustomLag 1.1.0 for version 1.21.5 til 1.21.8

1.1.0+1.21.5-1.21.8

1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric
Download

CustomLag 1.1.0 for version 1.21 til 1.21.4

1.1.0+1.21-1.21.4

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
fabric
Download

CustomLag 1.0

1.0

1.21.4
fabric
Download