关于模组
本模组通过延迟接收和发送数据包的过程来模拟卡顿。这是通过在 Minecraft 连接的 ChannelPipeline 中注入一个 ContextHandler 来实现的。此模组仅适用于服务器和单人世界。
用法
要为玩家设置或更改延迟(ping),只需使用 lag 命令:
/lag set <playername> <latency>
设置的延迟将保存到 toml 文件中,因此即使重启后,设置也会保留。您也可以为离线玩家(尚未加入的玩家)设置延迟。
若要移除玩家的延迟,您可以使用:
/lag remove <playername>
(这会移除延迟数据包发送的 ContextHandler)
还有一些其他附加命令:
此外,还有一些提升体验的命令,例如增加心跳/ping 数据包的间隔时间。要查找更多命令,请输入:
/customlag
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
下载 CustomLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomLag
下载 CustomLag
下载 CustomLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomLag
修复按下 Tab 键导致 Minecraft 崩溃的 bug(此问题出现在使用 1.21.5 版本构建的 1.21.6-1.21.8 版本中)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧