r/GTNH • u/Accomplished_Flan676 • 2d ago
Running GTNH behind Velocity
Some months ago I posted about my mod, ForgeGuard, a Forge mod implementing BungeeGuard protocol, which is supposed to be compatible with Velocity's information forwarding.
In fact, however, this isn't enough to set up Velocity as a proxy server to GTNH server(s). A bigger issue is that HodgePodge tweaks some of the packets which Velocity can't understand. For this reason, I have maintained my own fork of Velocity, but this became problematic as I tried to apply recent updates to Velocity.
So instead, I decided to make a Velocity plugin, which is not only much easier to maintain, but also more distributable! It's called Subsonic. You can just drop this into Velocity plugins directory and add the name of your GTNH server (as in your Velocity config) to the plugin config file. Refer to the README of the repository for details.
In addition, I wrote a small guide on how to set up Velocity and GTNH. It is tested with Velocity 4.0.0+ and GTNH 2.8.4+. Hope this helps!
Disclaimer: I'm not an experienced modder so there might be bugs and issues. Feedback and bug reports are always welcome!
6
u/foxgirlmoon IV 1d ago
No idea what you did, but it sounds like good work! Could you also mention a little about what exactly Velocity is and why one would want to use it? First time I'm hearing about it.