NeoForwarding

Enables modern player information forwarding in NeoForge servers for use with a Velocity proxy

by
3.5K Downloads
neoforgeutility
Rent Server with this Mod

About this Mod

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.

Available Versions

NeoForwarding 1.3.0beta
MC 1.20.4neoforge
December 19, 2024
NeoForwarding 1.3.0beta
MC 1.20.6neoforge
December 19, 2024
NeoForwarding 1.3.0beta
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4neoforge
December 19, 2024
NeoForwarding 1.2.1beta
MC 1.21, 1.21.1, 1.21.2, 1.21.3neoforge
October 24, 2024
NeoForwarding 1.2.0beta
MC 1.21, 1.21.1neoforge
October 17, 2024

How to Install NeoForwarding on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.4).

3

Install Mod

Open the mod browser in the dashboard and search for "NeoForwarding". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.21.4, 1.21.3, 1.21.2 (+4 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

NeoForwarding server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.4). You can switch loaders with one click in the panel.

Is NeoForwarding compatible with neoforge?

NeoForwarding officially supports neoforge for Minecraft 1.21.4, 1.21.3, 1.21.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with NeoForwarding – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NeoForwarding consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install NeoForwarding with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 only
Server-side
Required

Supported Versions

1.21.41.21.31.21.21.21.11.211.20.61.20.4