Open your hosting company

Enzonic for Resellers

Open your hosting company

How to run a Velocity proxy for your Minecraft network

Set up Velocity for your community: velocity.toml, modern forwarding, Paper backends, locking down backend ports, plugins, permissions and updates.

Enzonic teamUpdated 7 minute read

Your community has more than one Minecraft server now: maybe a survival world and a creative world, maybe a lobby and a few minigames. Players should not have to remember several addresses or disconnect to switch. That is what Velocity does. It is a proxy from the PaperMC team: players connect to Velocity, and Velocity passes them to the server they want behind it.

This guide covers setting up Velocity, connecting backend servers with modern forwarding, keeping those backends safe, plugins and permissions, performance, backups and updates. If you are weighing up the older option, see how to host BungeeCord for your community.

How a proxy network fits together

There are two kinds of server in a network:

  • The proxy (Velocity). Players connect here. It handles login and authentication with Mojang, then forwards the connection to a backend. It does not load a world.
  • Backends (usually Paper). Real Minecraft servers with worlds, plugins and players. Players never connect to them directly.

The proxy tells each backend who the player is, including their real UUID, skin and IP address. That handoff is called player info forwarding, and getting it right is most of the work.

Installing Velocity

Velocity is a single jar. Download the latest build from papermc.io, put it in its own folder, and start it:

java -Xms512M -Xmx512M -jar velocity.jar

As a starting point, 512 MB of memory is enough for a small network; give it more if you run many proxy plugins or have a lot of players online. Velocity needs a recent Java version; check the download page for the current requirement.

On first start, Velocity creates velocity.toml (the main config), a forwarding.secret file and a plugins folder. Stop it with shutdown in the console, then edit the config.

The parts of velocity.toml that matter

Here is a trimmed example for a network with a lobby and a survival server:

bind = "0.0.0.0:25577"
motd = "<green>Welcome to our network"
show-max-players = 200
online-mode = true
player-info-forwarding-mode = "modern"
forwarding-secret-file = "forwarding.secret"

[servers]
lobby = "10.0.0.5:25566"
survival = "10.0.0.6:25567"
try = ["lobby"]

[forced-hosts]
"survival.example.com" = ["survival"]

What each part does:

  • **bind** is the address and port players connect to. Velocity's default port is 25577. Many networks set it to 25565 so players do not need to type a port. On a hosted panel, use the port your panel assigns.
  • **motd** is the server list message. Velocity uses MiniMessage formatting, so colors are written as tags like the example.
  • **online-mode** must stay true. The proxy is now the thing that checks Minecraft accounts.
  • **player-info-forwarding-mode** decides how player data reaches backends. Use modern whenever your backends support it.
  • **[servers]** lists each backend by name and address. The try list is the order Velocity uses when a player first joins, and where it sends them if a server they are on goes down.
  • **[forced-hosts]** maps a hostname to a server, so survival.example.com drops players straight into survival.

Velocity's [advanced] section has settings such as the compression threshold and login rate limit. The defaults are sensible; leave them until you have a reason.

Forwarding modes in plain words

ModeWhat it doesWhen to use it
modernSends player data signed with a shared secretPaper 1.13 and newer, and modded backends with a forwarding mod
legacyBungeeCord-style forwarding, no secretOlder or non-Paper backends that only support BungeeCord forwarding
bungeeguardLegacy forwarding plus a tokenBackends running the BungeeGuard plugin
noneNo forwardingAlmost never; players appear as offline accounts

Modern forwarding is the one to aim for. The backend only accepts a player if the data is signed with the secret, so nobody can join a backend directly and pretend to be someone else.

Configuring Paper backends

On each Paper backend, two changes:

  1. In server.properties, set online-mode=false. The proxy already authenticated the player; the backend must not try again.
  2. In config/paper-global.yml, enable Velocity support and paste the secret from Velocity's forwarding.secret file:
proxies:
  velocity:
    enabled: true
    online-mode: true
    secret: 'paste-the-contents-of-forwarding.secret-here'

Older Paper versions keep this setting in paper.yml instead. Restart the backend after the change. Players should now join through the proxy with their real skins and UUIDs.

For Fabric backends, a proxy forwarding mod such as FabricProxy-Lite handles modern forwarding. Forge and NeoForge backends also need a forwarding mod; check Modrinth for one that matches your loader and version, and test before opening.

Locking down backend ports

This is the security step people skip, and it is the one that matters. A backend with online-mode=false will accept anyone who can reach its port, unless forwarding verification stops them.

  • Use modern forwarding with a secret. A backend with Velocity support enabled rejects connections that did not come through your proxy. This is your main protection, especially when backends have public addresses.
  • Keep the secret private. Do not paste it in Discord or screenshots. If it leaks, generate a new one in forwarding.secret and update every backend.
  • Restrict backend ports where you control the firewall. On your own machines, let only the proxy's address reach backend ports, or bind backends to a private network.
  • Never run a backend in offline mode without forwarding. With legacy forwarding and no firewall, anyone who finds the port can log in as any player, including your admins.

Plugins and permissions

Velocity runs its own plugins, built for the Velocity API, from the plugins folder. Bukkit, Spigot and Paper plugins do not work on the proxy; they go on backends.

Useful proxy plugins for most communities:

  • LuckPerms (Velocity build) for permissions on proxy commands. Connect it to the same database as your backends if you want one set of ranks across the network.
  • ViaVersion on the proxy if you want players on different Minecraft versions to join.
  • Geyser if you want Bedrock players to connect.

Built-in commands include /server to switch servers, /glist to list players across the network, and /send to move players. Use LuckPerms to decide which staff can use the admin ones.

Performance

A proxy is light, but a few things help:

  • Keep the proxy and backends close together on the network when you can. Every packet goes through the proxy.
  • Watch CPU during peak hours. Encryption and compression for many players add up, and that is usually what limits a busy proxy, not memory.
  • Be picky with proxy plugins. A slow plugin on the proxy affects every player on every server.

Restarts, fallbacks and limbo

When a backend restarts, players on it get moved to the next server in the try list, usually the lobby. If the lobby itself is down, they get disconnected. A tiny limbo server in the try list gives them somewhere to wait instead. How to host a Limbo server for your network explains the setup.

Backups and updates

The proxy has no world, so backups are small. Back up velocity.toml, forwarding.secret and the plugins folder with plugin configs. Do it before every update.

To update Velocity, download the new build, replace the jar, and restart. Check that your proxy plugins support the new version first; plugin compatibility is the usual cause of trouble after an update. Update during a quiet hour, since restarting the proxy disconnects everyone on the network.

Running your network from a branded panel

With Enzonic for Resellers, your community gets its own panel under your name, logo and colors. Panel-only mode skips the storefront, so the address serves only sign-in and the panel, which suits a community that does not sell servers.

Each server in your network, proxy and backends alike, gets a live console with power controls and CPU, memory and disk stats, a file manager and SFTP for velocity.toml and plugins, backups on a schedule, scheduled tasks for restarts, network ports, and subusers for staff. With Enzonic for Resellers, Velocity runs on Enzonic nodes in Europe, North America and Asia and on your own Pterodactyl or Pelican Wings nodes, so you can sell it without running any hardware. Servers on Enzonic nodes are placed automatically, so your proxy and backends may not share a machine; modern forwarding with a secret is what keeps backends safe in that setup. You can also connect your own machine running Pterodactyl Wings or Pelican Wings.

You can grant your community servers for free, with the base price charged monthly from credits on Enzonic nodes, and a new site gets a one-time starting credit of $5.00 after confirming email. Open your site, or read about bringing your own Wings nodes if you want everything on your own hardware.

Frequently asked questions

Why do players get kicked when joining through Velocity?

The most common cause is a forwarding mismatch: Velocity is set to modern but the backend does not have Velocity support enabled, or the secret differs between the two. Compare forwarding.secret with the secret in each backend config.

Do backend servers need online-mode turned off?

Yes. Set online-mode=false on backends and keep online-mode = true on Velocity. Forwarding passes the verified identity from the proxy to the backend.

Can players connect to a backend directly?

Not if you use modern forwarding: the backend rejects connections without valid data from your proxy. With legacy forwarding, you must firewall backend ports or use BungeeGuard.

Can I run modded servers behind Velocity?

Yes, with a forwarding mod on each modded backend and testing for your pack. Modded networks need more setup than Paper networks.

#minecraft#velocity#proxy#networks#server-admin