跳到正文

NeoForwarding

作者:Sonic2423

Enables modern player information forwarding in NeoForge servers for use with a Velocity proxy

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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:

https://docs.papermc.io/velocity/reference/system-properties#velocitymax-known-packs
##

Licenses:

If there is anything wrong with the code used, message me.

常见问题

NeoForwarding 支持哪些 Minecraft 版本?

NeoForwarding 支持 Minecraft Java 版 1.20.4–1.21.4,共 7 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

NeoForwarding 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分