BungeeCord or Velocity? Running a proxy network
A proxy lets players move between several Minecraft servers without leaving the game: a lobby, a survival world and a minigame server, all behind one address. This guide explains what a proxy does, how the two main proxies differ, and how to connect your servers to one safely.
What a proxy does
Players connect to the proxy, not to the game servers. The proxy has no world of its own. It holds each player's connection and passes it to one of your game servers, called backends. When a player types /server survival or picks a server from a lobby menu, the proxy moves them to another backend without sending them back to the title screen.
This gives you:
- One address for the whole network.
- Plugins that work across every server, such as network chat, staff tools and bans.
- Separate resources for each backend, so a busy minigame cannot lag your survival world.
- The option to restart one backend without disconnecting everyone.
The proxy also checks players' accounts. The backends trust the proxy to have done that, and that trust is why the forwarding section below matters.
BungeeCord and Velocity compared
BungeeCord is the original Minecraft proxy, from the team behind Spigot. It has been around for over ten years and has a huge plugin library, though many of those plugins are no longer maintained. Its settings live in config.yml.
Velocity comes from the PaperMC team and was written from scratch. It uses less memory and processor time for the same number of players, keeps up quickly with new Minecraft versions, and has a secure way of passing player details to backends (modern forwarding). Its settings live in velocity.toml. PaperMC ended its own BungeeCord fork, Waterfall, in 2024 and points people to Velocity.
Plugins are not interchangeable: a BungeeCord plugin will not load on Velocity, or the other way round. Most popular proxy plugins, such as LuckPerms and ViaVersion, have Velocity builds, but check any plugin you depend on before you switch.
For a new network, choose Velocity. Stay on BungeeCord only if you rely on a plugin that exists for nothing else. On Pat Host, the Crossplay switch works on Velocity but not on BungeeCord.
Why forwarding matters
Behind a proxy, every backend must have online-mode=false in server.properties. The proxy has already checked each player's account, and the backend cannot repeat the check on a connection that comes from the proxy.
Without forwarding, the backend sees every player as coming from the proxy, with an offline ID calculated from their name. Skins go missing, IP bans stop working and player data does not match the player's real account. Forwarding passes the real name, ID, skin and IP address from the proxy to the backend.
There is a catch. A backend in offline mode believes whatever it is told, and its address is public. With BungeeCord's basic forwarding, anyone who connects to a backend directly can claim to be any player, including you. Two things close that gap:
- Velocity modern forwarding signs the player details with a secret that only the proxy and your backends know. A direct connection without the secret is refused.
- BungeeGuard is a plugin for BungeeCord networks. It adds a secret token to each connection, and backends refuse connections without it.
Never run a BungeeCord network with plain forwarding and no BungeeGuard.
Setting up Velocity
- Create the proxy as a Velocity server and your backends as Paper or Purpur servers. Start the proxy once so it creates its files.
- In
velocity.toml, setplayer-info-forwarding-mode = "modern"and leaveonline-mode = true. - Open
forwarding.secret, next tovelocity.toml, and copy its contents. Treat it like a password. - Under
[servers], add each backend aslobby = "address:port", using the address and port from that backend's Network tab. List the server players should arrive on intry. - On each backend, set
online-mode=falseinserver.properties. Inconfig/paper-global.yml, underproxiesandvelocity, setenabled: true,online-mode: trueandsecretto the value you copied. Leavebungeecordset to false inspigot.yml. - Restart the backends, then the proxy, and join using the proxy's address.
Modern forwarding needs backends on Minecraft 1.13 or newer. Fabric backends need a mod such as FabricProxy-Lite to understand it, and plain Vanilla backends cannot use it at all.
Setting up BungeeCord
- In the proxy's
config.yml, setip_forward: trueandonline_mode: true, and add each backend's address and port underservers. - On each backend, set
online-mode=falseinserver.propertiesandbungeecord: trueinspigot.yml. - Install BungeeGuard on the proxy and on every backend, and copy the proxy's token into each backend's BungeeGuard settings.
- Restart the backends, then the proxy.
Backend addresses: not 127.0.0.1
Guides written for a single home computer often tell you to list backends as 127.0.0.1. On Pat Host each server runs in its own isolated space, so 127.0.0.1 on the proxy points at the proxy itself. Always use the backend's address and port from its Network tab.
Keep the proxy and its backends in the same location where you can. Every player's traffic passes through both, so a proxy in the UK with a backend in Australia adds the distance between them to everyone's ping.
Crossplay on a network
Turn Crossplay on for the Velocity proxy only. Geyser on the proxy translates for Bedrock players as they arrive, and they then move between backends like everyone else. See the crossplay guide.
Switching from BungeeCord to Velocity
- Take a backup of the proxy in the Backups tab, and note the backend list from
config.yml. - In the proxy's Versions tab, choose Velocity and a version. Pick back up + keep or move old files to a folder so the old settings stay to hand. See changing the server version.
- The server's specs reset to Velocity's defaults; change them in Settings if you need to.
- Start the proxy once, stop it, and set up
velocity.tomlas above. - Replace each BungeeCord plugin with its Velocity version. The Plugins tab only shows plugins that fit the server.
- On every backend, set
bungeecord: false, turn on the Velocity settings with the secret, and remove BungeeGuard. - Start the backends, then the proxy. Turn on Crossplay if you want it.
A tip for permissions
Install LuckPerms on the proxy and on every backend, and point them all at one MySQL database from the Databases tab. Ranks then match everywhere, and you only set them once.
Common problems
- The proxy cannot reach a backend: the backend is not running, or it is listed as
127.0.0.1. Free servers sleep when empty, so a stopped backend has to be started first. - "This server requires you to connect with Velocity": you joined the backend directly, or the proxy is not set to modern forwarding.
- "If you wish to use IP forwarding, please enable it in your BungeeCord config as well!": the backend expects BungeeCord forwarding, but
ip_forwardis off on the proxy. - Players are refused after you copied the secret: copy it again carefully, with no extra spaces or line breaks.
- Missing skins or wrong player data: forwarding is off on one side.
For general joining problems, see fixing "Failed to connect". For account checks, see online mode vs cracked servers.
