01
How a Minecraft network works
A Minecraft network is made of two kinds of programs:
- The proxy: this is the front door. It loads no world; it receives connections, checks accounts and hands each player over to a server.
- The servers (also called backend servers): ordinary Paper servers, each with its own world and plugins. For example a welcome
lobby, a survie (survival) server and a minijeux (minigames) server.
Players only need to remember one address, the proxy's. Once connected, they switch servers with the /server survie command or through a menu, without leaving the game. The proxy's /glist command shows the players connected to each server.
Each server is still a full server: choose its software with the guide Paper, Purpur or Spigot and its memory with how much RAM for a Minecraft server. The proxy itself loads no world and needs little memory.
02
Velocity, BungeeCord or Waterfall
Three proxies have been used for Minecraft Java:
- BungeeCord: the original proxy, maintained by the Spigot team.
- Waterfall: a modified version of BungeeCord released by the Paper team. It has been discontinued: it no longer receives updates, so do not install it for a new network.
- Velocity: the proxy developed by the Paper team, which it now recommends. It passes player identity securely (modern forwarding, below) and is downloaded from
papermc.io.
Plugins do not carry over from one proxy to another: a BungeeCord plugin does not work on Velocity. The best-known plugins (LuckPerms, ViaVersion, Geyser) come in a Velocity version.
03
Install Velocity and set up velocity.toml
Velocity is a .jar file that needs a recent version of Java. Run it once in an empty folder:
java -Xms1G -Xmx1G -jar velocity.jar
It creates the velocity.toml file, the forwarding.secret file and the plugins folder. Stop it with the shutdown command, then edit velocity.toml:
bind = "0.0.0.0:25565"
online-mode = true
player-info-forwarding-mode = "modern"
forwarding-secret-file = "forwarding.secret"
[servers]
lobby = "127.0.0.1:30066"
survie = "127.0.0.1:30067"
try = ["lobby"]
[forced-hosts]
"survie.example.com" = ["survie"]
bind: the address and port the proxy listens on, the ones players use.
online-mode: leave it at true; the proxy is what checks Minecraft accounts with Mojang.
[servers]: a name followed by the address and port of each server. If the servers run on a different machine from the proxy, enter their real address instead of 127.0.0.1.
try: the servers tried in order when a player joins, then when a player is kicked from a server. Put the lobby first.
[forced-hosts]: sends players who type a specific address straight to one server. Here, survie.example.com leads to the survival server. Each domain name must point to the proxy.
Ports. Only the proxy's port needs to be known to players. Each server has its own port, set by server-port in its server.properties (see server.properties), which must match the one in velocity.toml. Two programs cannot listen on the same port at the same address: the guide game server ports explains this.
04
Connect Paper to the proxy with modern forwarding
Behind a proxy, the servers no longer check accounts themselves: that is the proxy's job. Each server is therefore switched to online-mode=false in its server.properties. With no other setting, it would then see every player with the proxy's IP address, without their real identifier (UUID) or their skin.
Forwarding solves this: the proxy passes each player's address, UUID and skin to the server. Velocity's modern mode signs this information with the secret from the forwarding.secret file. On each Paper server:
- in
server.properties, set online-mode=false;
- in
spigot.yml, leave bungeecord: false (that setting is for BungeeCord forwarding);
- in
config/paper-global.yml, fill in the proxies section:
proxies:
velocity:
enabled: true
online-mode: true
secret: "the-contents-of-forwarding.secret"
The online-mode setting in this block mirrors the proxy's. Paste the exact contents of the forwarding.secret file into secret, then restart the server. On older Paper versions, these settings are in paper.yml.
Why this matters for security. A server in online-mode=false would accept any username. With modern forwarding, Paper refuses any connection that does not come from the proxy with the right secret: nobody can connect directly to the server while posing as an administrator. So keep the secret private. Modern forwarding works with Paper from Minecraft 1.13; for Fabric, the FabricProxy-Lite mod does the same job. Older versions only have the legacy (BungeeCord) mode, which has no secret: you then have to block all direct access to the servers with a firewall.
05
Proxy plugins and LuckPerms across the network
The proxy has its own plugins folder, reserved for plugins written for Velocity. A few common uses:
- ViaVersion: lets in players whose game version differs from the servers'.
- Geyser: opens the network to Bedrock players; installed on the proxy, it covers every server (see Java and Bedrock crossplay).
- LuckPerms: ranks and permissions, on the proxy as well as on the servers.
Gameplay plugins (protection, economy, minigames) stay on the Paper servers: the guide essential Minecraft plugins covers the main ones.
LuckPerms across the network. By default, LuckPerms keeps its data in a local file, different on each server. To have the same ranks everywhere:
- install the Velocity version of LuckPerms on the proxy and the Bukkit version on each Paper server;
- create a MySQL or MariaDB database reachable from the proxy and every server;
- in each one's LuckPerms configuration file, set
storage-method: mariadb (or mysql) with the same address, database name and user;
- give each server a different name in the
server setting, so you can limit a permission to a single server.
The guide LuckPerms for Minecraft covers commands, contexts and syncing between servers in detail.
06
On CloudFive
On our Minecraft hosting plans, Paper, Purpur, Fabric, Forge and NeoForge install in one click: that is the base of each server in the network. Each one has its console, SFTP file access to upload plugins and edit paper-global.yml, and its backups, from the client area manager.cloudfive.fr. A network needs one server for the proxy and one per game mode: support, in French 7 days a week, helps you choose the right layout.
Servers run in France on Ryzen 9 9950X, with DDR5 memory and NVMe storage, with Anti-DDoS Premium included and a profile tailored to Minecraft. Plans are monthly, with no commitment, from €8. To keep the whole network on a single machine you run yourself, see which VPS for a game server.
07
Frequently asked questions
What is the difference between Velocity and BungeeCord?
Both are proxies that link several Minecraft servers behind a single address. Velocity is developed by the Paper team, which recommends it, and passes player identity in signed form with modern forwarding. Plugins for one do not work on the other.
Is Waterfall still maintained?
No. Waterfall, the version of BungeeCord released by the Paper team, has been discontinued and no longer receives updates. For a new network, the Paper team recommends Velocity.
Should online-mode be set to false on servers behind Velocity?
Yes. The proxy checks accounts, so each server is switched to online-mode=false in server.properties. At the same time, enable modern forwarding in config/paper-global.yml with the proxy's secret: without it, anyone could connect directly to the server with a fake username.
Where do I find the Velocity modern forwarding secret?
Velocity creates it on first launch in the forwarding.secret file, next to velocity.toml. Copy its exact contents into the proxies.velocity.secret setting of config/paper-global.yml on each Paper server, then restart them.
How do I share LuckPerms ranks across a whole Velocity network?
Install LuckPerms on the proxy and on each server, then point them all to the same MySQL or MariaDB database with storage-method in their configuration. Give each server a different name with the server setting so you can limit a permission to one of them.