NeoForwarding
This mod provides modern player information forwarding functionality for NeoForge-based servers, designed to work in conjunction with the Velocity proxy server. The modification also includes an adapted version of CrossStitch, which is necessary for proper interaction of modded commands.
Setup and Usage
For installation, simply place the appropriate jar file in your server's mods folder and perform an initial startup. After stopping the server, you need to edit the configuration file config/neoforwarding-server.toml, where you should insert your secret key and activate the "enableForwarding" option to true.
Important note: when using a significant number of additional modifications or modpacks, there is a high probability of needing to increase the max-known-packs limit in Velocity settings. Details are provided in the frequently asked questions section.
Frequently Asked Questions
Question: The authorization process fails, and Velocity displays an error message. What should I do?
Answer: Launch Velocity with an additional debugging parameter:
-Dvelocity.packet-decode-logging=true
If the logs contain mentions of exceeding the number of known packets, the following solution is recommended:
For servers with a large number of modifications, it's necessary to increase the standard known packets limit from the base value of 64 to 64 + the number of used mods. If you manage multiple modded servers, base your calculation on the server with the highest number of installed modifications.
For example: when using 200 mods, set the value to:
-Dvelocity.max-known-packs=264
Warning: Do not set excessively high values for this parameter, as it serves a protective function against potential abuses. Values significantly exceeding those recommended in the example provide no practical benefit.
Additional information can be found in the official Velocity documentation.