NeoVelocity
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (2 images)
🔍 Analysis
- 👍 0.3% endorsement rate
- 🏆 #5 of 5 management mods in this game by downloads
📋 About This Mod
<img src="https://raw.githubusercontent.com/intergrav/devins-badges/d0dd406e1106cd0726bf85743575368e3c4b2f5e/assets/cozy/supported/neoforge_vector.svg" alt="NeoForge Logo" height="60" /> # NeoVelocity NeoVelocity enables **Modern Forwarding** support for NeoForge servers running behind a (https://papermc.io/software/velocity). Without this mod, NeoForge servers behind a proxy often see all players connecting from `127.0.0.1` or fail to validate UUIDs/Skins correctly. This mod implements Velocity's native forwarding protocol to ensure IP addresses, UUIDs, and game profiles are passed correctly to the server. ## Features * **Modern Forwarding:** Full support for Velocity's secure forwarding protocol. * **Auto-Reload:** Configuration changes (like updating the secret) apply immediately without restarting the server. * **Sinytra/Fabric Compatibility:** Automatically detects `fabric_networking_api_v1`. If you are running Forgified Fabric API and experience login disconnects, the mod includes a workaround (see `login-custom-packet-catchall` in the config). ## Installation 1. **Install the Mod** Drop the jar file into your server's `mods` folder. 2. **Server Properties** You do **not** need to set `online-mode=false` in `server.properties`, as this mod hooks into the login process directly. However, if you run into authentication loops, setting it to `false` is safe since the proxy handles auth. 3. **First Run** Start the server once to generate the configuration file at `config/neovelocity-common.toml`. 4. **Configure the Secret** Locate the `forwarding.secret` file in your **Velocity proxy's** root directory. Copy the content and paste it into `config/neovelocity-common.toml` on your NeoForge server. * *Option A:* Paste the string directly into the config. * *Option B:* Point the config to a file path containing the secret. ## Configuration & Compatibility ### Large Modpacks (Velocity Config) Velocity limits the number of known packs to 64 by default. If your modpack exceeds this limit, players will be disconnected, and your Velocity console will show `QuietDecoderException: too many known packs`. To fix this, add the following flag to your **Velocity Proxy's** startup arguments and set the number higher than 64: ```bash -Dvelocity.max-known-packs=64 # Increase this value (try 128 or higher) ``` ### Mod Compatibility (The "Catch-All" Setting) By default, NeoVelocity assumes **all** custom login packets are Velocity authentication attempts. However, the **Fabric Networking API** allows mods to send their own custom login packets. To allow these mods to work, you must set `login-custom-packet-catchall = false` in the configuration. *How it works:* When set to `false`, NeoVelocity checks the packet's signature first. * **If the secret matches:** NeoVelocity claims the packet and handles the login. * **If the secret does NOT match:** The packet is ignored and passed to other mods. **Warning:** If your forwarding secret is incorrect while this setting is `false`, NeoVelocity will ignore the Velocity packet. The server will treat it as unknown garbage data and disconnect you with an **"Incompatible mod detected"** error in the logs. ### Security Warning **Do not expose your NeoForge server port directly to the internet.** You must configure your firewall (iptables/UFW) to only accept connections from your Velocity Proxy's IP address. If the backend port is open, a malicious user could bypass authentication by knowing the forwarding secret. ## Troubleshooting If players are kicked during login, check the disconnect message and compare it below. * **"NeoVelocity configuration error. Check server logs."** The mod is installed, but you haven't configured the secret yet. * *Fix:* Open `config/neovelocity-common.toml` and paste your `forwarding.secret`. * **"Unable to verify proxy data integrity."** The secret in your Velocity proxy does not match the secret in your NeoForge server config. * *Fix:* Copy the content of `forwarding.secret` from your proxy again and ensure there are no extra spaces when pasting it into the NeoVelocity config. * **"This server requires you to connect via a Velocity Proxy using Modern Forwarding."** The server did not receive any forwarding data. * *Cause A:* You are trying to connect to the backend server port directly. You must connect through the Proxy IP/Port. * *Cause B:* Your Velocity `velocity.toml` is set to `player-info-forwarding-mode = "none"` or `"legacy"`. You must set it to `"modern"`. * **"Incompatible mod detected during login handshake."** Another mod (usually **Fabric Networking API**) has modified the login packet, causing the signature check to fail. * *Fix:* Open `config/neovelocity-common.toml` and set `login-custom-packet-catchall = false`. ## Further Documentation For detailed guidance on setting up your proxy, configuring firewalls
# NeoVelocity
NeoVelocity enables Modern Forwarding support for NeoForge servers running behind a (https://papermc.io/software/velocity).
Without this mod, NeoForge servers behind a proxy often see all players connecting from `127. 0. 0. 1` or fail to validate UUIDs/Skins correctly. This mod implements Velocity's native forwarding protocol to ensure IP addresses, UUIDs, and game profiles are passed correctly to the server.
## Features
Modern Forwarding: Full support for Velocity's secure forwarding protocol. Auto-Reload: Configuration changes (like updating the secret) apply immediately without restarting the server. Sinytra/Fabric Compatibility: Automatically detects `fabric_networking_api_v1`. If you are running Forgified Fabric API and experience login disconnects, the mod includes a workaround (see `login-custom-packet-catchall` in the config).
## Installation
1. Install the Mod Drop the jar file into your server's `mods` folder.
2. Server Properties You do not need to set `online-mode=false` in `server.properties`, as this mod hooks into the login process directly. However, if you run into authentication loops, setting it to `false` is safe since the proxy handles auth.
3. First Run Start the server once to generate the configuration file at `config/neovelocity-common.toml`.
4. Configure the Secret Locate the `forwarding.secret` file in your Velocity proxy's root directory. Copy the content and paste it into `config/neovelocity-common.toml` on your NeoForge server. Option A: Paste the string directly into the config. Option B: Point the config to a file path containing the secret.
## Configuration & Compatibility
### Large Modpacks (Velocity Config) Velocity limits the number of known packs to 64 by default. If your modpack exceeds this limit, players will be disconnected, and your Velocity console will show `QuietDecoderException: too many known packs`.
To fix this, add the following flag to your Velocity Proxy's startup arguments and set the number higher than 64: ```bash -Dvelocity.max-known-packs=64 # Increase this value (try 128 or higher) ```
### Mod Compatibility (The "Catch-All" Setting) By default, NeoVelocity assumes all custom login packets are Velocity authentication attempts.
However, the Fabric Networking API allows mods to send their own custom login packets. To allow these mods to work, you must set `login-custom-packet-catchall = false` in the configuration.
How it works: When set to `false`, NeoVelocity checks the packet's signature first. If the secret matches: NeoVelocity claims the packet and handles the login. If the secret does NOT match: The packet is ignored and passed to other mods.
### Security Warning Do not expose your NeoForge server port directly to the internet. You must configure your firewall (iptables/UFW) to only accept connections from your Velocity Proxy's IP address. If the backend port is open, a malicious user could bypass authentication by knowing the forwarding secret.
## Troubleshooting
If players are kicked during login, check the disconnect message and compare it below.
"NeoVelocity configuration error. Check server logs." The mod is installed, but you haven't configured the secret yet. Fix: Open `config/neovelocity-common.toml` and paste your `forwarding.secret`.
"Unable to verify proxy data integrity." The secret in your Velocity proxy does not match the secret in your NeoForge server config. Fix: Copy the content of `forwarding.secret` from your proxy again and ensure there are no extra spaces when pasting it into the NeoVelocity config.
"This server requires you to connect via a Velocity Proxy using Modern Forwarding." The server did not receive any forwarding data. Cause A: You are trying to connect to the backend server port directly. You must connect through the Proxy IP/Port. Cause B: Your Velocity `velocity.toml` is set to `player-info-forwarding-mode = "none"` or `"legacy"`. You must set it to `"modern"`.
"Incompatible mod detected during login handshake." Another mod (usually Fabric Networking API) has modified the login packet, causing the signature check to fail. Fix: Open `config/neovelocity-common.toml` and set `login-custom-packet-catchall = false`. ## Further Documentation
For detailed guidance on setting up your proxy, configuring firewalls
📊 Mod Details
- Game
- Minecraft Mods
- Author
- G_ab
- Version
- 1.2.6
- Downloads
- 6,936
- Endorsements
- 23
- Category
- management
- Created
- 2/11/2025
- Updated
- 1/15/2026
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
- Tags
- management, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does NeoVelocity support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5. Other versions may work but are untested by the author.
What is the latest version of NeoVelocity?
Version 1.2.6, published 2026-01-15 with 6,936 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await

