EN · $ USD
Minecraft Server Guides

How to Set Up a Minecraft Server Network with Velocity

7 min read Updated: OyunBulut technical team

In short

To set up Velocity, run the proxy jar in its own folder, set player-info-forwarding-mode to modern in velocity.toml, and add your lobby, survival and minigame servers under [servers]. On the backend servers, set online-mode=false, enable Velocity support in paper-global.yml and paste in the key from the forwarding.secret file. Don't forget to close backend server ports to the outside.

In this guide
  1. What is a proxy, and how does a network work?
  2. Velocity vs. BungeeCord
  3. Resource planning
  4. Velocity setup step by step
  5. Common errors
  6. Cross-server data: know what's shared
  7. Recommended plugins and settings for a network
  8. Next steps

Velocity is a modern proxy that puts multiple Minecraft servers behind a single address. Players connect to one IP, then move between servers such as survival or minigames with the /server command or a lobby menu, without disconnecting. Velocity setup comes down to three steps: run the proxy, define your servers in velocity.toml, and connect the backend servers to the proxy with a forwarding secret. In this guide we build a lobby + survival + minigame network from scratch and work out resource planning too.

What is a proxy, and how does a network work?

A proxy is software that sits between players and game servers. It doesn't run a game world; it only accepts connections, authenticates players and routes them to the right backend server. A typical network looks like this:

Oyuncu ──> Velocity (25565, herkese açık)
              ├── lobi      (127.0.0.1:30001)
              ├── survival  (127.0.0.1:30002)
              └── minigame  (127.0.0.1:30003)

Here, Oyuncu means the player, herkese açık means publicly open, and lobi is the lobby server. The advantage is clear: each server runs separately with its own plugins, world and RAM. A crash on survival doesn't kick players out of the lobby, and you don't have to shut down the whole network to update the minigame server.

Do you really need a network?

Not every server needs a network. For a single-mode survival server that never goes past 30-40 players, a network only adds maintenance work and RAM usage. A network makes sense when:

  • You offer several game modes (survival, skyblock, minigames) and each has its own plugin set.
  • Your player count is starting to strain a single server's main thread and you want to split the load.
  • You want to keep players in the lobby during maintenance while you update servers one at a time.
  • You want to bring different Minecraft versions or Bedrock players together under one address.

Velocity vs. BungeeCord

FeatureVelocityBungeeCord / Waterfall
Player info forwardingModern forwarding: signed with a shared secret keyLegacy forwarding: unsigned, can be spoofed without an extra plugin
Config filevelocity.toml (TOML)config.yml (YAML)
Development statusActively developed by the PaperMC teamWaterfall is no longer developed; the team points users to Velocity
Plugin compatibilityIts own API; plugins need a Velocity versionBungee plugins don't run on Velocity as-is
Backend servers for modern forwardingPaper-based servers on 1.13 and later-

If you're building a new network, choose Velocity. If you have backend servers on 1.12 or older, you'll need legacy forwarding, and in that case extra security measures are a must.

Resource planning

Velocity itself is lightweight; the backend servers use most of the RAM. The values below are a rough starting point for a mid-sized network with plugins, not a hard rule. Your real needs depend on your plugin count, view distance and concurrent players.

ComponentRecommended RAM (approx.)Note
Velocity proxy512 MB - 1 GBStays low even with hundreds of players
Lobby2 - 3 GBSmall map, low view distance
Survival6 - 10 GBThe heaviest part of the network; grows as the world grows
Minigame3 - 4 GBDepends on the game mode and number of arenas
Total12 - 18 GBLeave extra room for the JVM and operating system

Based on this table, the OB-MC-5 Minecraft server with 16 GB of RAM and 6 CPUs fits the lower end of a three-server network, while the OB-MC-6 plan with 24 GB of RAM and 8 CPUs gives you room to grow survival comfortably and add a second minigame server. Running the whole network on one plan depends on the panel letting you run multiple processes and open multiple ports; confirm this with a support ticket before you buy. Alternatively, you can run each server on a separate plan.

Velocity setup step by step

1. Download and run the proxy

Get Velocity from PaperMC's official download page and put it in a folder separate from your backend servers. Current Velocity releases need a recent Java version; install the Java version listed on the download page. Start command for Linux:

java -Xms1G -Xmx1G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar velocity.jar

On first run, the velocity.toml and forwarding.secret files are created. To stop the proxy, type end in the console.

2. Edit velocity.toml

bind = "0.0.0.0:25565"
motd = "<aqua>Sunucu ağımıza hoş geldiniz"
show-max-players = 200
online-mode = true
player-info-forwarding-mode = "modern"
forwarding-secret-file = "forwarding.secret"

[servers]
lobi = "127.0.0.1:30001"
survival = "127.0.0.1:30002"
minigame = "127.0.0.1:30003"
try = ["lobi"]

[forced-hosts]
"survival.ornekalanadi.com" = ["survival"]
  • bind: The address and port the proxy listens on. This is the only open port players connect to.
  • online-mode: Authentication happens on the proxy. If you're building an offline network, set it to false and be sure to set up account security with AuthMe.
  • player-info-forwarding-mode: modern mode passes the player's real IP and UUID to the backend server in signed form.
  • try: The list of servers players join first and fall back to if a server crashes.
  • forced-hosts: Sends players who connect through a specific domain straight to the matching server. Replace the example domain and the MOTD text ("Welcome to our server network") with your own.

3. Configure the backend servers

Do the same on each of the lobby, survival and minigame servers. Start with server.properties:

online-mode=false
server-ip=127.0.0.1
server-port=30001

Having online-mode=false on backend servers isn't a security hole; the proxy handles authentication. server-ip=127.0.0.1 makes the server reachable only from the same machine. If your servers are on different machines, leave this line empty and use a firewall to open the port only to the proxy's IP.

Next, make sure bungeecord: false is set in spigot.yml, and enable Velocity support in config/paper-global.yml:

proxies:
  velocity:
    enabled: true
    online-mode: true
    secret: 'forwarding.secret dosyasındaki anahtarı buraya yapıştırın'

Replace the placeholder value of secret with the key from the forwarding.secret file. The online-mode here must match the value on the proxy. The key is the content of the forwarding.secret file in the proxy folder; never share it anywhere.

4. Test it

  1. Start the backend servers first, then Velocity.
  2. Connect to the proxy address; you should land in the lobby.
  3. Try switching with /server survival.
  4. Type glist in the proxy console to see which player is on which server.
  5. Try connecting directly to a backend server port; the connection should be refused.

Common errors

ErrorCauseFix
Unable to verify player detailsThe secret on the backend server doesn't match forwarding.secretCopy the key again and make sure there are no extra spaces or line breaks
If you wish to use IP forwarding, please enable it in your BungeeCord config as well!Forwarding mode mismatchVelocity must use modern, and Paper must have proxies.velocity enabled and bungeecord disabled
Can't connect to the server, sent back to the lobbyThe address or port under [servers] is wrong, or the server is downCheck in the console that the backend server is really running on that port
Player data was resetUUIDs changed because forwarding wasn't workingFix forwarding; take a backup before deleting files created with the wrong UUIDs

Cross-server data: know what's shared

Velocity only carries the connection; data such as inventories, money, homes and ranks is stored separately on each backend server. Items from survival don't carry over to minigames, and on most networks that's exactly what you want. For data that should be shared, such as ranks, bans, a network-wide economy or friend lists, you connect the plugins to the same MySQL or MariaDB database. So when planning a network, account for a database server too, and back up the database regularly.

When updating Velocity, try it in a test environment first, then swap the jar file and restart the proxy. Players are briefly disconnected while the proxy restarts, but the backend servers keep running.

  • Shared permissions: Install both the Velocity and Paper versions of LuckPerms and connect them all to the same MySQL database. Details are in our LuckPerms setup guide.
  • Plugins with a Velocity version: Only put plugins written for Velocity on the proxy; Paper plugins don't run on the proxy.
  • Domain name: Create an SRV record so players can connect with a domain instead of an IP. The SRV record should point to Velocity's port; for the steps, see our connecting a domain to your Minecraft server guide.
  • Bedrock support: If you run Geyser on the proxy, the whole network opens up to Bedrock players.

Next steps

A Velocity network needs more RAM and cores than a single server, because each backend server runs in its own JVM. For a starter network with a lobby, survival and one minigame server, the OB-MC-5 with 16 GB of RAM fits well, and for a setup with room to grow, the OB-MC-6 with 24 GB of RAM is a good option. For bigger networks, you can check the higher plans on the Minecraft server plans page. OyunBulut plans run in our Istanbul data center and come with DDoS protection and a web panel; before you build your network, you can open a ticket with our support team for help choosing a plan.

Frequently asked questions

Which is better, Velocity or BungeeCord?

Velocity is recommended for new networks. It forwards player info in signed form with modern forwarding, is actively developed and performs well; BungeeCord only makes sense if you depend on Bungee-only plugins.

Is online-mode=false safe on backend servers?

Yes, as long as modern forwarding is enabled and the secret is set correctly; the proxy handles authentication. You should still close backend server ports to the outside.

How much RAM does Velocity need?

512 MB to 1 GB is usually enough for the proxy itself. The real RAM demand comes from backend servers such as the lobby, survival and minigame servers.

Where do I find forwarding.secret?

The forwarding.secret file is created in the proxy folder the first time you run Velocity. Paste the key inside it into the proxies.velocity.secret field in each backend server's paper-global.yml.

Do Paper plugins work on Velocity?

No. Only plugins written for Velocity go on the proxy; Paper plugins go in the plugins folder of the relevant backend server.

For this guide

Recommended plans

For a Velocity network running lobby, survival and minigame servers at the same time, OB-MC-6 with 24 GB of RAM leaves room to grow; for a smaller start, the 16 GB OB-MC-5 may be enough.

OB-MC-6

Recommended

24 GB RAM

$20.65/mo

+VAT

  • Processor8 CPU
  • Disk100 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

16 GB RAM

$12.58/mo

+VAT

  • Processor6 CPU
  • Disk80 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

Minecraft — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.