一款轻量级模组,可解决多种连接问题,例如登录超时、解码器异常、数据包大小限制、幽灵方块问题、载荷过大等。它还提供了用于分析网络流量的命令以及大量调试工具、高级错误日志和数据包日志等功能。
在新版本中需要安装Cupboard依赖项
- 登录超时
- 游戏内超时
- 详细的网络统计信息
- 修复登录/游戏期间出现的数据包大小异常
- 记录过大数据包的数据以显示来源
- 记录关于发送数据过大的警告
- 畸形/恶意流量防护
该模组并非必须在两端都安装,但为双方提供有用的功能。
与 Randompatches 的兼容性:
在 randompatches.toml 配置文件中设置以下内容,以便 Connectivity 与 Randompatches 同时启动时不会崩溃:
mixin_blacklist = ["ServerPlayNetHandlerKeepAlive"]
Connectivity 与 Randompatches 存在部分重叠,且 Connectivity 会优先应用,这会导致 Randompatches 崩溃。
Timeoutout/XL packets mod 与此模组不兼容/无需同时安装

如果您喜欢本模组,请考虑支持其开发,任何支持都将不胜感激。
本项目的开发是一项无偿的业余活动,因此任何支持都能帮助我投入更多时间进行开发。
你可以通过 Patreon 赞助我,或者帮忙宣传推广。
网络统计与命令:
网络统计命令会显示流量速率以及导致该流量的数据包。kb 是千字节(kilobyte)的缩写。
统计数据每分钟刷新一次,并保存最多 5 分钟的历史记录。所有命令均可附带一个可选的时间参数(分钟数),用于指定显示范围(1-5 分钟,若不传参则默认为 5 分钟)。
通常情况下,大部分流量由区块数据包引起,模组相关的数据包很少会超过这一数值。
客户端命令,用于查看出站流量: /connectivity packetsClient
服务器端命令:
列出所有玩家的流量速率: /connectivity packetsAllPlayers![]()
按类型列出发送给特定玩家的数据包(示例中目标玩家为 Dev): /connectivity packetsPlayer Dev

按数据类型列出服务器发送的所有数据包。/connectivity packetsSummary

将指定类型的最大数据包打印到 latest.log 中,例如名为 MovePacket 的数据包:/connectivity printpacket MovePacket
Lightweight mod which solves several connection problems like Login-Timeouts, DecoderException, Packet size limits, Ghostblock issues, Payload too large and more. It also offers commands to analyze network traffic and a bunch of debugging utilities, advanced error logging, packet logging etc.
Requires Cupboard dependency to be installed in newer versions
- Login timeout
- Play timeout
- Detailed Network statistics
- Fix packet size exceptions during login/play
- Log data of too large packet to show sources
- Log warnings about too large data beeing sent
- Malformed/Malicious traffic protection
The mod is not required on both sides, but offers useful functionality for both sides.
Randompatches (in)compatibility:
Set this in the randompatches.toml config file so random patches does not crash when started alongside connectivity:
mixin_blacklist = ["ServerPlayNetHandlerKeepAlive"]
Connectivity has some overlap with randompatches and happens to apply first, which makes random patches crash.
Timeoutout/XL packets mod is incompatible/not needed alongside this

If you enjoy this mod consider supporting the development, any support is greatly appreciated.
The development is an unpaid free-time activity, so any support helps being able to spend more time on it.
You can support me on Patreon or just spreading the word around.
Network stats and Commands:
Commands for network stats show the traffic rate aswell as which packet is causing it. kb is short for kilobyte
Statistics are refreshed once per minute and save a history of up to 5 minutes. All commands have an optional minute count you can give it to display(1-5, 5 is default when no argument is given)
Normally most traffic is caused by chunk packets, modded packets should rarely exceed those.
Client side command to show outgoing traffic: /connectivity packetsClient
Server commands:
List traffic rate of all players: /connectivity packetsAllPlayers![]()
List packets by type send to a specific player(example is player Dev): /connectivity packetsPlayer Dev

List all packets sent out by the server by packet type. /connectivity packetsSummary

Print the largest packet of a type to the latest.log, e.g. the packet called MovePacket: /connectivity printpacket MovePacket
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Connectivity
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
7.7:
格式错误的流量追踪器现在默认将本地主机地址视为代理,且不再可能阻止本地主机接收流量
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧