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 How to Install CustomLag (Mod)
CustomLag by scrythe is verified for Fabric across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 1.1.1+1.21.6-1.21.8, file size: 824 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded CustomLag file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version(This is happens for 1.21.6-1.21.8 when using the build from 1.21.5)
(This is happens for 1.21.6-1.21.8 when using the build from 1.21.5)
- Toggle between config commands
- Option to change keep alive/ping packet interval time
- Option to see numeral ping bar (only for single player owner)
- Config is saved to toml file (including player lag map)
- Ability to lag for offline players (applied later when they join)
- Players who leave and rejoin continue to have their set lag value
- Show description and values for commands
- Toggle between config commands
- Option to change keep alive/ping packet interval time
- Option to see numeral ping bar (only for single player owner)
- Config is saved to toml file (including player lag map)
- Ability to lag for offline players (applied later when they join)
- Players who leave and rejoin continue to have their set lag value
- Show description and values for commands
- Toggle between config commands
- Option to change keep alive/ping packet interval time
- Option to see numeral ping bar (only for single player owner)
- Config is saved to toml file (including player lag map)
- Ability to lag for offline players (applied later when they join)
- Players who leave and rejoin continue to have their set lag value
- Show description and values for commands
- Toggle between config commands
- Option to change keep alive/ping packet interval time
- Option to see numeral ping bar (only for single player owner)
- Config is saved to toml file (including player lag map)
- Ability to lag for offline players (applied later when they join)
- Players who leave and rejoin continue to have their set lag value
- Show description and values for commands