请至少更新到 1.3.0 版本!
旧版本可能会泄露 Velocity 密钥!
所有之前支持的 Minecraft 版本也都进行了更新。 只需下载更新并替换旧的 jar 文件即可。
作为预防措施,你还应该重新生成你的 Velocity 密钥!
为此,请删除你的 "forwarding.secret" 文件并重新启动 Velocity,它将为你生成一个新的密钥。将新密钥复制到你的服务器的 neoforwarding-server.toml 中。
NeoForwarding
此模组为 NeoForge 服务器启用了现代玩家信息转发功能,以便与 Velocity 代理一起使用,并且还包括 CrossStitch 的移植版,因为这是使模组命令正常工作所必需的。
使用方法:
将相应的 jar 文件复制到服务器的 mods 文件夹并运行一次服务器。 停止服务器,然后进入 config/neoforwarding-server.toml 并 插入你的转发密钥并将 "enableForwarding" 设置为 true。
如果你运行任何数量的额外模组或整合包:
你很可能还需要增加 Velocity 的 max-known-packs 限制!请参阅常见问题解答。
常见问题解答:
问:登录失败,Velocity 给了我一个错误。如何解决?
答:以以下参数运行 Velocity
-Dvelocity.packet-decode-logging=true
并查看错误是否显示“too many known packs”,那么这应该能解决问题:
如果你使用了一些模组,则必须将 Velocity 中的已知数据包限制从其 vanilla 默认值 64 提高到最大 64 + 模组数量,这样就可以了。如果你托管多个模组服务器,请使用使用模组最多的服务器的模组数量。
示例:如果你使用 200 个模组,将其设置为 64+200(超过这个值通常是不需要的)。
-Dvelocity.max-known-packs=264
注意:
不要将其设置得太高,因为它旨在作为一种防止不良行为者的保护措施,而且比给定示例更高的值无论如何都没有好处!
另见:
许可证:
如果使用的代码有任何问题,请联系我。
Please update to at least 1.3.0!
Previous versions may leak the velocity secret!
All previously supported Minecraft versions also got an update. Just download the update and replace the old jar.
You should also regenerate your velocity secret as a precaution!
To do that delete your "forwarding.secret" and re-run velocity which generates you a new secret. Copy your new secret to your servers neoforwarding-server.toml.
NeoForwarding
This mod enables modern player information forwarding in NeoForge servers for use with a Velocity proxy and also includes a port of CrossStitch as it is necessary to make modded commands work.
How to use:
Copy appropriate jar to your server mods folder and run the server once. Stop the server and go to config/neoforwarding-server.toml and insert your forwarding secret and set "enableForwarding" to true.
If you are running any amount of additional mods or a mod pack:
It is very likely that you have to also increase Velocitys max-known-packs limit! See FAQ.
FAQ:
Q: The login fails and velocity gives me an error. How to fix?
A: Run velocity with
-Dvelocity.packet-decode-logging=true
and look if the error says "too many known packs" then this should do the trick:
If you are using a couple of mods you have to raise the known packets limit within velocity from its vanilla default of 64 to a maximum of 64 + number of mods and you should be good to go. If you host multiple modded servers use the mod count of the server with the most mods used.
EXAMPLE: if you use 200 mods set it to 64+200 (more than that should not be needed).
-Dvelocity.max-known-packs=264
CAUTION:
Do not set it too high as it is meant as a protective measure against bad actors and even higher values than in the given example have no benefit anyway!
See also:
Licenses:
If there is anything wrong with the code used, message me.
下载 NeoForwarding
下载 NeoForwarding
下载 NeoForwarding
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NeoForwarding
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NeoForwarding
下载 NeoForwarding
下载 NeoForwarding
下载 NeoForwarding
下载 NeoForwarding
下载 NeoForwarding
修复可能泄露密钥的问题
合并之前 1.21.X 的修复
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧