Still loading

SBlock holds a map linking a village, hub and arena in Minecraft.
Minecraft · Guide

Scale Paper servers using a Velocity proxy

Link hub, survival, and Lifesteal Paper backends behind a Velocity proxy using modern forwarding secrets, backend firewalls, and Floodgate sync.

On this page

Download Velocity, Paper, Floodgate, and backend tools

Velocity connects separate Minecraft servers behind one proxy, allowing players to move between a hub, survival server, and other backends. Separate server processes can distribute work, though capacity depends on the hardware and workload .

Download Velocity and Paper from PaperMC. Add Geyser and Floodgate if you want Bedrock crossplay, and choose gameplay plugins for the backends that need them .

Proxy scaling and crossplay network stack

Velocity proxy official project iconVelocityHigh-throughput PaperMC proxy linking lobby, survival, and Lifesteal backends.DownloadPaperMC official project iconPaperMCModern forwarding targets configured in config/paper-global.yml.DocsFloodgate official plugin iconFloodgateAllows Bedrock players to join without a Java account; backend installation is optional.ModrinthGrim Anticheat official plugin iconGrim AnticheatRemains installed inside each gameplay backend Paper server's plugins/.Modrinth

Place public ports strictly on Velocity and firewall every backend

Because Paper backend servers behind a proxy set online-mode=false inside their local server.properties files, leaving backend ports (such as 25566, 25567) reachable directly from the public internet lets attackers spoof arbitrary admin UUIDs straight onto your backends .

Bind Velocity cleanly onto public port 25565, bind backend Paper servers running on the same Linux box strictly to server-ip=127.0.0.1 (localhost), or block all external backend ports at your firewall (ufw/iptables) so traffic can enter strictly through the Velocity proxy .

Configure modern forwarding and forwarding.secret accurately

For modern Paper versions, start Velocity once, then set player-info-forwarding-mode = "modern" in velocity.toml. Add each backend address under [servers] and set the try list to the server players should join first .

On each Paper backend, set online-mode=false in server.properties and settings.bungeecord: false in spigot.yml. In config/paper-global.yml, set proxies.velocity.enabled: true, copy the contents of Velocity’s forwarding.secret into proxies.velocity.secret, and set proxies.velocity.online-mode to match online-mode in velocity.toml. Restart the backend. Keep the secret private and firewall every backend .

Paper 1.18.2 and older use settings.velocity-support in paper.yml instead. Check PaperMC’s forwarding documentation for version compatibility and exact settings .

Network diagram showing Velocity proxy modern forwarding routes to firewalled Hub, Survival SMP, and Lifesteal backend Paper nodes
Velocity modern forwarding separating public proxy ingress from firewalled backend Paper instances.INFIRALS · AI-assisted illustration
Velocity proxy velocity.toml vs Paper backend config/paper-global.yml settings
# --- velocity.toml (on Proxy) ---
# player-info-forwarding-mode = "modern"
# forwarding-secret-file = "forwarding.secret"

# --- config/paper-global.yml (on each Paper backend) ---
proxies:
  velocity:
    enabled: true
    online-mode: true
    secret: "PASTE_EXACT_FORWARDING_SECRET_HERE"

Sync Geyser, Floodgate key.pem, and shared LuckPerms SQL

For Bedrock crossplay, install Geyser and Floodgate on Velocity, set Geyser’s auth-type to floodgate, and restart. Follow the current Geyser network instructions for the selected transport and ports .

Backend Floodgate is optional for its API and improved Bedrock skin support. If installed on backends, set send-floodgate-data: true in the proxy Floodgate configuration and copy the proxy’s key.pem into each backend Floodgate folder. Restart and keep the key private .

Install gameplay plugins on the appropriate Paper backends. Follow each plugin’s documentation for network storage and synchronization.

Data table

Where each plugin runs in a multi-server Velocity network

Where each plugin runs in a multi-server Velocity network
Software / PluginInstalled on Velocity proxy?Installed on Paper backends?Notes
Velocity JARYes (proxy host)NoListens on public TCP 25565
Geyser & FloodgateYes (Geyser-Velocity + Floodgate)Optional: Floodgate for backend APIIf installed on backends, share key.pem privately and enable send-floodgate-data
LuckPerms & LibertyBansDepends on plugin and topologyDepends on plugin and topologyFollow each project’s network setup and test sync
GrimAC & Gameplay PluginsNoYes (in backend plugins/)Per-server combat & survival mechanics

Test seamless /server hops without duplicate inventories

Once hub, survival, and Lifesteal servers boot behind Velocity cleanly, log in via port 25565, verify /server switches between hub and survival cleanly without getting kicked for invalid modern forwarding secrets, and confirm Floodgate Bedrock logins pass UUID checks across worlds . Review our Java SMP setup guide and Paper plugin troubleshooting guide whenever modern forwarding rejects a new backend.

Basic Velocity proxy player routing and status commands
/server
/server survival
/server lifesteal
/velocity info
/velocity plugins

Production Velocity network verification checklist

Confirm directly from an external connection (outside localhost) that attempting to connect straight to any backend port fails at firewall level, whereas joining the Velocity proxy routes into your hub cleanly .

Velocity proxy deployment checks

  • Keep backends isolated and open only the proxy and Geyser transport ports required by your setup.
  • Set player-info-forwarding-mode = "modern" inside velocity.toml .
  • Match each backend’s Velocity secret and online-mode setting to the proxy; use the configuration path for your Paper version .
  • If backend Floodgate is installed, share the proxy key privately and enable send-floodgate-data on the proxy .
  • Verify /server routing, shared LuckPerms/LibertyBans database sync, and GrimAC alerts cleanly .

Frequently asked questions

Why does Paper kick players with 'If you wish to use IP forwarding, please enable it in your BungeeCord config'?

Check whether the backend has BungeeCord forwarding enabled by mistake, and confirm the proxy and Paper backend use matching modern forwarding settings. Connect through the proxy, and consult PaperMC’s forwarding troubleshooting guide.

Can I put Paper gameplay plugins like LifeStealZ or EssentialsX inside Velocity's plugins folder?

No. Velocity uses its own proxy API and only accepts Velocity-native plugins; gameplay plugins stay inside each backend Paper server's plugins/ directory.

How much RAM does a Velocity proxy need compared with Paper worlds?

Memory needs depend on player count, proxy plugins, and traffic. Monitor memory and performance under a representative load, then adjust the Java heap and available system memory.

Should online-mode stay true in velocity.toml even when backend Paper server.properties reads false?

Yes. Velocity authenticates Mojang Java logins cleanly when online-mode = true in velocity.toml and passes verified modern forwarding tokens onto online-mode=false firewalled backends.

Explore core INFIRALS Minecraft setup guides

Java SMP server setup guidePaper plugin troubleshooting

Sources & evidence

Was this article helpful?

Share this post