Be Quiet Negotiator
Be Quiet Negotiator 是一款轻量级的仅客户端 NeoForge 模组,允许使用模组加载器的客户端连接到原版或最少模组化的服务器(例如仅包含服务端模组的 Fabric 服务器),而不会触发 NeoForge 严格的网络协商流程。
工作原理
通常情况下,NeoForge 会强制实施握手协议,以确保客户端和服务器在模组负载和功能特性上达成一致。本模组在连接到不支持 NeoForge 的服务器时,会静默抑制该协商过程,使连接能够顺利通过,不会出现断开连接或错误——因此,它通过“保持沉默”来进行“协商”。
此外,连接过程中可能出现的其他错误(如数据包解码错误或意外的大小的数据包)也会被忽略,从而允许客户端无问题地连接。
具体来说,Be Quiet Negotiator 使用 Mixins 来修补 NeoForge 客户端代码,专门针对那些在连接到不支持 NeoForge 的服务器时会产生错误或导致断开的令人烦恼的方法。
此外,所有补丁都是可配置的,允许用户根据需要启用或禁用特定补丁。
适用场景
此模组非常适合以下情况:
- 希望加入原版服务器的 NeoForge 客户端玩家,防止因缺少网络协商响应而导致的断开连接。
- 通过混合网络或代理网络连接的球员,其入口是原版或非 NeoForge 服务器,避免当客户端期望 NeoForge 时握手失败。
- 在客户端使用全栈 NeoForge 模组的整合包开发者或测试人员,希望连接到未模组化或不同模组化的服务器,而无需每次禁用模组。
- 尝试加入没有 NeoForge 的服务器,但安装了预期服务端有模组支持的模组(例如具有网络功能的世界生成、物品或 GUI 模组)的玩家。
- 局域网或休闲多人游戏设置,其中只有客户端运行带有全功能模组的 NeoForge,而服务器未模组化或运行不同的模组加载器。
准备搭建生产级代理网络?
不要使用此模组!你很可能会遇到模组兼容性问题,因为 Be Quiet Negotiator 只是抑制错误,并不能让不兼容的模组神奇地正常工作。
我建议不要使用传统的代理将连接路由到后端服务器,而是为每个 NeoForge 服务器分配独立的公共 IP 地址/域名。
如果你没有足够的 IP 地址,可以使用反向代理,如 Gate Lite Mode 或我自己的 mc-router,根据 Handshake 数据包中的 Server Address 字段来路由连接。
要在服务器之间转移玩家,请使用 Minecraft 1.20.5 中引入的原版 /transfer 命令,或安装 Server Redirect mod。
包含的补丁(自 v1.0.1 起)
bypassNegotiationErrors- 允许客户端连接到不支持 NeoForge 的服务器,通过忽略协商错误。bypassCustomFeatureFlags- 在连接服务器时忽略自定义功能标志,允许客户端无问题地连接。ignorePacketDecodingErrors- 在连接服务器时忽略数据包解码错误,允许客户端无问题地连接。ignorePacketHandlerErrors- 在连接服务器时忽略客户端侧的数据包处理错误,允许客户端无问题地连接。
重要说明
连接安全性
Be Quiet Negotiator 在设计上是安全的:它仅在服务器被识别为非 NeoForge 时才激活,完全不影响正常的模组间连接。配置简单且可切换,让用户可以精细控制何时允许静默协商。
模组兼容性
某些模组可能依赖于成功的协商,或期望服务器端支持某些功能。在这些情况下,功能可能会无声地失效或导致令人困惑的行为。
请谨慎使用,并避免在未运行 NeoForge 的服务器上放置或与模组化的方块、物品或 GUI 进行交互。此模组实现了连接兼容性,但它不能使不兼容的模组神奇地正常工作。
我们在 docs/incompatibility.md 中列出了已知不兼容的模组列表。
Be Quiet Negotiator
Be Quiet Negotiator is a lightweight, client-side-only NeoForge mod that lets modded clients connect to vanilla or minimally modded servers (such as Fabric servers with only server-side mods) without triggering NeoForge’s strict network negotiation process.
How it works
Normally, NeoForge enforces a handshake protocol to ensure both client and server agree on modded payloads and capabilities. This mod quietly suppresses that negotiation when connecting to servers that don’t speak NeoForge, allowing the connection to go through cleanly without disconnects or errors — hence, it “negotiates” by staying silent.
In addition, other errors that may occur during the connection process, such as packet decoding errors or unexpected packet sizes, are also ignored, allowing the client to connect without issues.
Specifically, Be Quiet Negotiator uses Mixins to patch the NeoForge client code, specifically targeting any annoying methods which produce errors or disconnects when connecting to servers that do not support NeoForge.
Furthermore, all patches are configurable, allowing users to enable or disable specific patches as needed.
Use cases
This mod is ideal for:
- Players using NeoForge clients who want to join vanilla servers, preventing disconnects caused by missing network negotiation responses.
- Players connecting through hybrid or proxy networks, where the entrypoint is a vanilla or non-NeoForge server, avoiding failed handshakes when the client expects NeoForge.
- Modpack developers or testers using full-stack NeoForge mods client-side, who want to connect to unmodded or differently modded servers without having to disable mods each time.
- Players attempting to join servers without NeoForge, while still having mods installed that expect a modded server-side (e.g., worldgen, item, or GUI mods with networking).
- LAN or casual multiplayer setups, where only the client is running NeoForge with full-feature mods, and the server is unmodded or running a different mod loader.
Making a production-ready proxy network?
Do not use this mod! You will likely run into issues with mod compatibility, as Be Quiet Negotiator just suppresses errors and does not magically make incompatible mods work.
Instead of using a traditional proxy to route connections to backend servers, I recommend giving each NeoForge server its own public IP address / domain.
If you don't have enough IP addresses, you can use a reverse proxy like Gate Lite Mode or my own mc-router to route connections based on the Handshake packet's Server Address field.
To transfer players between servers, use the vanilla /transfer command introduced in Minecraft 1.20.5, or install the
Server Redirect mod.
Included Patches (since v1.0.1)
bypassNegotiationErrors- Allows the client to connect to servers that do not support NeoForge by ignoring negotiation errors.bypassCustomFeatureFlags- Ignores custom feature flags when connecting to a server, allowing the client to connect without issues.ignorePacketDecodingErrors- Ignores packet decoding errors when connecting to a server, allowing the client to connect without issues.ignorePacketHandlerErrors- Ignores client-side packet handling errors when connecting to a server, allowing the client to connect without issues.
Important notes
Connection Safety
Be Quiet Negotiator is safe by design: it only activates when the server is identified as non-NeoForge, leaving normal modded-to-modded connections completely untouched. Configuration is simple and toggleable, giving users fine control over when quiet negotiation is allowed.
Mod Compatibility
Some mods may depend on successful negotiation or expect server-side support for certain features. In these cases, functionality may break silently or result in confusing behaviour.
Use caution, and avoid placing or interacting with modded blocks, items, or GUIs on servers that aren’t running NeoForge. This mod enables connection compatibility, but it cannot make incompatible mods magically work.
We have a list of known incompatible mods in docs/incompatibility.md.
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
下载 Be Quiet Negotiator
v2.0.0-rc1 候选版本标志着 BeQuietNegotiator 开发的一个重要里程碑,引入了多版本支持并与新版 Minecraft 兼容。本次发布重点在于扩大支持的 Minecraft 版本范围,同时确保在所有目标版本上的稳定性和性能。
亮点
- 添加了多版本支持,并明确兼容新版 Minecraft/NeoForge 版本。
- 新增对 Minecraft
1.21.8和1.21.11开发版本的支持。 - 改进了 CI 流程,用于发布构建产物和上传文件。
新增
- 初始多版本支持,允许构建和发布针对多个 Minecraft 版本的制品。(180bb11)
- 添加了对
1.21.8的支持。(5c28f0f) - 添加了
1.21.11版本条目。(e23ccc6)
更改 / 重构
- 重构了
NetworkRegistryMixin及其他 mixin 以适应多版本 NeoForge 支持。(9df1bcc) - 更新了 VCS 和主版本号字符串以匹配新目标和构建元数据。(7bdfbdd, fa310a7, fb150e8, 0286291)
修复
- 修复了各目标版本之间的编译问题,确保所有配置的目标都能顺利编译。(1350036)
- 条件性地移除 mixins 以允许在 JDK 21 下运行并避免启动崩溃。(a3f0e8f)
- 修正了可能导致兼容性处理错误的版本范围。(f4bc139)
CI / 维护
- 更新 CI/CD 以发布带版本号的制品,并添加了制品上传步骤。(4b421b0, dfc7075)
- 仓库常规维护:更新了作者链接和问题模板。(038748c, 9fee61a)
测试者须知
- 此候选版本稳定了多版本构建并增加了对新版映射的支持;请在每个目标 Minecraft 版本的开发服务器上进行测试。
- 如果遇到任何问题,请在提交 issue 时附上完整的服务器日志以及仓库的
build日志。
完整更新日志:比较 v1.0.4 与 v2.0.0-rc1
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
评论 0
登录后参与评分
还没有评论,来抢沙发吧