Gamehost

Minecraft server network on Velocity: lobby and game modes

How to build a Minecraft server network on Velocity: lobby and game modes under one address, velocity.toml, modern forwarding and securing the servers behind the proxy.

Gamehost team·5 min read·Updated:
Minecraft serverPlans from 2 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

A network is a few ordinary servers with one proxy in front of them. Players connect to the proxy, and it moves them between the lobby, survival and minigames without leaving the game. Setting it up takes about fifteen minutes if you know where the two trap settings are.

Do you need a network

A network makes sense when you want several modes under one address: lobby, survival, skyblock, minigames. Each mode is a separate server with its own world and plugins, and players move between them with a command or a portal.

If you have one mode for a group of friends, a network only adds work. One server is enough.

PartEngineHow much RAM
proxyVelocity1 to 2 GB is enough even with several dozen players
lobbyPaper2 to 3 GB
game modesPaper or Purpurdepends on the mode, like a normal server

Velocity is the modern successor to BungeeCord and Waterfall: faster and more secure in its default configuration. For new networks, that is the one we recommend.

Step 1: a server running Velocity

  1. Order a separate service for the proxy. The smallest plan is plenty.
  2. In Version and engine, choose Velocity and install it.
  3. Start the server once so it generates velocity.toml and forwarding.secret, then stop it.

The address of this service is the address of the whole network. That is the one you give players, and the one to put a custom address on.

Step 2: velocity.toml

The most important parts of the file after your changes:

bind = "0.0.0.0:PROXY_PORT"
online-mode = true
player-info-forwarding-mode = "modern"

[servers]
lobby = "LOBBY_IP:LOBBY_PORT"
survival = "SURVIVAL_IP:SURVIVAL_PORT"
try = ["lobby"]

[forced-hosts]
  • bind: enter the port marked as primary in IP addresses and ports of the proxy service. The default 25577 is not assigned to your server, so a proxy bound to it will not let anyone in.
  • [servers]: the names and addresses of the network's servers, exactly as you see them in IP addresses and ports of each service.
  • try: the order in which the proxy tries to send a player after they join. The lobby should be first.
  • [forced-hosts]: clear the example entries or enter your own domains. The default examples point to servers that do not exist.

Step 3: the servers behind the proxy

On every server in the network (lobby, survival and the rest), set two things.

In server.properties:

online-mode=false

In config/paper-global.yml:

proxies:
  velocity:
    enabled: true
    online-mode: true
    secret: 'contents of the forwarding.secret file from the proxy'

online-mode=false looks scary, but it is required: the proxy already checks the login, and the server behind it only trusts connections that know the secret. That is why the secret has to be identical on the proxy and on all servers.

A server behind a proxy with premium mode off and without Velocity configured is open to anyone who knows its address: they can join it directly, bypassing the proxy, under any name. Before you start it, make sure proxies.velocity.enabled is set to true.

Step 4: moving between modes

Velocity has a built-in /server name command. For players it is more convenient to put a menu or an NPC in the lobby: there are plugins that send a player to the chosen server on click. The server names in those plugins must match the [servers] section.

Permissions, cross-server chat and a shared friends list are handled by plugins installed on the proxy, in the plugins folder of the Velocity service. Velocity only accepts plugins written for Velocity, Paper plugins do not work there.

Common errors

  • "Unable to connect you to lobby": a wrong address or port in [servers], or the lobby server is off.
  • "This server requires you to connect with Velocity": the player is trying to join a server behind the proxy directly. That is how it should be. Give them the proxy address.
  • Players have Steve skins and wrong UUIDs: forwarding is not working. Check that the secret is identical everywhere and that the mode is modern.
  • A Forge modded server does not connect through the proxy: modern forwarding on Forge and Fabric needs an extra mod on the server side.

Velocity is on the engine list in Version and engine on every plan of our Minecraft server hosting.

FAQ

Velocity for new networks. It is faster, actively developed and more secure in its default configuration thanks to modern forwarding. BungeeCord and Waterfall only make sense with old plugins that have no Velocity version.

Not much. One to two gigabytes is enough even with several dozen players, because the proxy only passes traffic along.

Because the proxy checks the login. The server behind it only accepts connections that know the secret from forwarding.secret, which is why the proxies.velocity setting in Paper is mandatory.

No. The proxy and every server in the network are separate processes with their own ports, so each needs its own service.

Yes, if you install Geyser and Floodgate on the proxy. Then they serve the whole network at once. See Java and Bedrock on one server.

Your own Minecraft server

Plans from 3.79 € a month, set up in a few minutes and managed from one panel.

See plans