Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
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.