介绍
Lag Protect
A lightweight, server-side Fabric mod that protects players from taking damage during lag spikes. When a player’s connection stops responding, damage to them is cancelled until they catch back up, so nobody dies to a frozen screen.
How it works
The server sends each player a tiny ping on a configurable interval (default every 30 ticks). If the response is overdue by more than a second and the player has also stopped sending movement packets, they are considered lagging and incoming damage is cancelled. Protection ends the moment the client catches up.
Gamerule
/gamerule lag_protect <ticks> — interval between pings (default 30, range 0-200, 0 disables the mod).
Lower = lag is detected faster, but packets are sent more frequently.
Notes
Protection covers damage only. A player who stays lagged past the vanilla keepalive timeout is still disconnected as normal.
License
This mod is available under the MIT license.
常见问题
Lag Protect 支持哪些 Minecraft 版本?
Lag Protect 支持 Minecraft Java 版 1.20.5–26.2,共 18 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Lag Protect 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Producks 的其他作品
查看全部 →
Compass Manhunt
Manhunt is a simple serversided fabric mod that uses the classic compass or the new locator bar to track the speedrunner/s
Disable End
Adds a gamerule that allows you to dynamically disable collisions with end portal blocks
ItemDisplay
A server-sided fabric mod that lets players show off their gear in chat.
EzRestart
Restarts the server when it is empty and flagged. Auto-flags once per day at a configurable time, and adds a /ezrestart command.

评论
登录后评论和评分