ImperialHost.cc · Guides · Minecraft
Minecraft proxy: Velocity and BungeeCord
A proxy links several Minecraft servers into one network. Players join the proxy's address and switch between servers with the /server command. You order the backend servers with us as plain Minecraft servers.
Before you start
- A Minecraft proxy with us (Velocity or BungeeCord).
- At least one Minecraft server with Paper or Purpur that will sit behind the proxy (a backend server).
1. Find the backend addresses
- In the client area open Services and for every backend server note the address under IP address, for example
node1.imperialhost.cc:25570. Always write the address with the port. - Players get the proxy's address. You find it the same way, on the proxy's page under IP address.
2. Velocity: add the backend servers
- In the proxy's game panel open the Files tab and the
velocity.tomlfile. - In the
[servers]section replace the sample lines with your backend servers, one line per server, for examplelobby = "node1.imperialhost.cc:25570". You choose the name before the equals sign. - In the
tryline put the server a player joins first, for exampletry = ["lobby"]. - In the
[forced-hosts]section delete the sample domains (lobby.example.comand the others) with the lines under them. If they point to a server that is not in[servers], Velocity won't start. - Set
player-info-forwarding-mode = "modern", save with Save Content and restart the proxy (Restart, the circular arrow at the top near the server's name). - Open the
forwarding.secretfile and copy what it holds. It is a secret key, don't send it to anyone.
Don't change the bind line. The panel sets it to the proxy's port at every start.
3. Velocity: set up the backend servers
- On every backend server stop the server (Stop, the square at the top near the server's name).
- In
server.propertiessetonline-mode=false. The proxy takes over checking the players. - In the
config/paper-global.ymlfile find theproxies:section andvelocity:under it. Setenabled: true,online-mode: trueand paste whatforwarding.secretholds intosecret:, in quotes. - Save (Save Content) and start the server (Start, the triangle).
In modern mode the backend server lets in only players who came through your proxy. It refuses a direct connection to its address.
4. BungeeCord: add the backend servers
- In the proxy's game panel open the Files tab and the
config.ymlfile. - In the
servers:section change theaddressline of the sample serverlobbyto your backend server's address, for exampleaddress: node1.imperialhost.cc:25570. Add more backend servers the same way, each under its own name. - In the
listeners:section, thepriorities:list holds the server a player joins first. - Set
ip_forward: true, save (Save Content) and restart the proxy (Restart). - On every backend server stop the server and set
online-mode=falseinserver.properties,bungeecord: trueinspigot.ymlandconnection-throttle: -1inbukkit.yml. Then start the backend server.
With BungeeCord anyone who knows a backend server's address can join it directly under any name, even yours. Protect the backend servers with the BungeeGuard plugin, or use Velocity in modern mode.
5. Plugins and admins
- Upload proxy plugins into the
pluginsfolder on the proxy and restart the proxy. A plugin must be made for Velocity or BungeeCord, Paper plugins don't work there. - Velocity plugins are on Hangar and Modrinth, BungeeCord plugins on SpigotMC.
- You set operators and the whitelist on the backend servers: Whitelist and operators (op) on a Minecraft server.
- BungeeCord: the proxy's admin commands go to players in the
admingroup. Inconfig.yml, in thegroups:section, replace the sample namemd_5with your in-game name. - Velocity has no permissions of its own. Type the proxy's commands into the console in the panel, or install the LuckPerms plugin in its Velocity version.
Troubleshooting
Velocity won't start
The console output gives the reason. Most often try or [forced-hosts] points to a server that is not in [servers], or forwarding.secret is empty.
A player gets onto the proxy but not onto a backend server
Check the backend server's address with the port and that the backend server is running. With Velocity, secret in config/paper-global.yml must match what forwarding.secret holds, and server.properties must have online-mode=false.
Players can join a backend server directly
With Velocity check enabled: true under velocity: in config/paper-global.yml. With BungeeCord protect the backend servers with the BungeeGuard plugin.
Not an official Minecraft service. Not approved by or associated with Mojang or Microsoft.
Still stuck?
Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.