NeoVelocity is a compatibility mod for NeoForge servers to enable secure and modern player information forwarding when used in conjunction with a Velocity proxy. By leveraging Velocity’s modern forwarding protocol, this mod ensures that essential player data—such as IP addresses, UUIDs, and authentication details—is transmitted reliably from the proxy to your server.
- Modern Forwarding Support: Implements Velocity’s native, modern forwarding protocol to securely receive player data.
- Configuration File: On first startup, the mod creates a default configuration file.
-
Download & Install:
Place the NeoVelocity mod jar file into your NeoForge server’smods
folder. -
Server Properties:
Theserver.properties
file does not requireonline-mode=false
since the mod replaces the whole login process.
(If you encounter any issues you can set it to false) -
Restart Your Server:
Launch the server to allow NeoVelocity to initialize. During this process, the mod will automatically generate its configuration file at:config/neovelocity-common.toml
. -
Setting The Secret:
Simply open the config file located at:config/neovelocity-common.toml
, and change the secret to the one assigned to your proxy. Usually the secret is inside the file:forwarding.secret
inside your proxy's running directory. (This can be done while the server is running the config will be automatically reloaded!) -
Tell Velocity About The Mods:
You need to add-Dvelocity.max-known-packs=[n]
to launch arguments of Velocity otherwise it won't let you connect. Replace[n]
by the number of mods you have + vanilla default(64) or more if it still gives you errors. See Docs for more information.
-
Port Leaking:
The NeoForge server should not be exposed to the internet, as someone could impersonate the proxy with the correct forwarding secret and successfully authenticate any account. -
Troubleshooting:
Possible Disconnect MessagesUnable to verify player details.
:
This means your forwarding secret is not the same as the proxy's. Please refer to the Installation step 4.Unsupported forwarding version.
:
This means you are not using the right forwarding method on your proxy. If you wish for me to implement more methods send me a DM on discord or open an Issue on GitHub.This server requires you to connect with Velocity.
:
This means you are connecting to the server directly, you need to be connecting through the proxy.Unable to connect you to {servername}. Please try again later.
:
This is velocity related, make sure Installation step 5 is done properly otherwise you might want to see you Velocity logs.
-
Further Documentation:
For comprehensive guidance on setting up and fine-tuning your Velocity proxy—including details on advanced configurations and security best practices—please refer to the Velocity Documentation.
You can contact me through my GitHub or on Discord as g_ab
The project is open source you can contribute anytime. If you encounter any issues or want another compatibility layer you can contact me.
NeoVelocity serves as an essential bridge between NeoForge and Velocity, ensuring that modded servers can benefit from modern proxy features with minimal setup. Enjoy a more secure, efficient, and modernized server experience!