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
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
| Feature | Velocity | BungeeCord / Waterfall |
|---|---|---|
| Player info forwarding | Modern forwarding: signed with a shared secret key | Legacy forwarding: unsigned, can be spoofed without an extra plugin |
| Config file | velocity.toml (TOML) | config.yml (YAML) |
| Development status | Actively developed by the PaperMC team | Waterfall is no longer developed; the team points users to Velocity |
| Plugin compatibility | Its own API; plugins need a Velocity version | Bungee plugins don't run on Velocity as-is |
| Backend servers for modern forwarding | Paper-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.
| Component | Recommended RAM (approx.) | Note |
|---|---|---|
| Velocity proxy | 512 MB - 1 GB | Stays low even with hundreds of players |
| Lobby | 2 - 3 GB | Small map, low view distance |
| Survival | 6 - 10 GB | The heaviest part of the network; grows as the world grows |
| Minigame | 3 - 4 GB | Depends on the game mode and number of arenas |
| Total | 12 - 18 GB | Leave 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
falseand be sure to set up account security with AuthMe. - player-info-forwarding-mode:
modernmode 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
- Start the backend servers first, then Velocity.
- Connect to the proxy address; you should land in the lobby.
- Try switching with
/server survival. - Type
glistin the proxy console to see which player is on which server. - Try connecting directly to a backend server port; the connection should be refused.
Common errors
| Error | Cause | Fix |
|---|---|---|
| Unable to verify player details | The secret on the backend server doesn't match forwarding.secret | Copy 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 mismatch | Velocity must use modern, and Paper must have proxies.velocity enabled and bungeecord disabled |
| Can't connect to the server, sent back to the lobby | The address or port under [servers] is wrong, or the server is down | Check in the console that the backend server is really running on that port |
| Player data was reset | UUIDs changed because forwarding wasn't working | Fix 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.
Recommended plugins and settings for a network
- 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.