Language

CustomLag

CustomLag

Modrinth

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

1.3k downloads 1 followers updated 5mo ago
Modrinth
Fabric 1.21 – 1.21.11 Game-mechanicsManagementUtility

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

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download CustomLag

Files are served directly from the original source. Modgrid does not host or modify them.