作者:rebot | 分类:模组
Minecraft 版本: 1.20.4
平台: neoforge
标签: utility
All previously supported Minecraft versions also got an update.
Just download the update and replace the old jar.
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.
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.
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.
It is very likely that you have to also increase Velocitys max-known-packs limit! See 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
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!
https://docs.papermc.io/velocity/reference/system-properties#velocitymax-known-packs
If there is anything wrong with the code used, message me.
请登录后举报
暂无评论,抢个沙发吧~