How is it possible to create a sub proxy with velocity?

Hi all! Its my first time trying to setup a proper Minecraft network structure. I've messed around with a single velocity proxy (which works great). Cant seem to find out how to create a sub proxy behind the main one. Like I got a main proxy (for pvp sizs servers) with a sub proxy behind it. (for minigame servers) How do big minecraft server networks handle multiple proxyies? What do I need to do to make it work? [Servers] fully selfhosted 8 minecraft servers on pterodactyl.
11 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by sebasdt#0
Sebasdt
SebasdtOP2y ago
Here is the error I get when I try to use a second velocity server behind the main one. for "player-info-forwarding-mode" is set to modern. Yes I know what it means I dont see an option in the velocity config to set the secret so it can be a sub proxy.
No description
Sebasdt
SebasdtOP2y ago
here is my sub proxy config:
```

and my main proxy config:
```

and my main proxy config:
toml ```
Admincraft Meta
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
Requested by sebasdt#0
Sebasdt
SebasdtOP2y ago
sorry next time I will use pastebin.. yeh okay sure, what logs would you like to have?
Discount Milk
Discount Milk2y ago
You should not chain proxy solutions That is not recommended at all
Sebasdt
SebasdtOP2y ago
The servers are setup to use velocity and can connect to them without any issue. Im used to seperating website to each own sub proxy and so thought minecraft servers could work the same way. in my head that each sort of server (minigames, pvp hub's) should have there own proxy/ sub proxies. what should I then do?
Discount Milk
Discount Milk2y ago
Sebasdt
SebasdtOP2y ago
Proxy-behind-proxy (BungeeCord/Waterfall, Velocity, ...) These setups are completely unsupported. You are best advised to avoid them, as they can cause lots of issues. Most proxy-behind-proxy setups are either illogical in the first place or can be handled more gracefully by better, more scalable and performant solutions.
I see it now... The answer is no. now that is out of the way, How would you recommend i structure the servers?
ProGamingDk
ProGamingDk2y ago
Just use 1 proxy
Sebasdt
SebasdtOP2y ago
fair point... okay then thanks! /close\

Did you find this page helpful?