Link several servers with Velocity
Set up a Velocity proxy and your Paper servers so players can move between them without disconnecting.
A proxy sits in front of several Minecraft servers (lobby, survival, mini-games…). Players connect to a single address, the proxy’s, then move from one server to another with /server. Velocity is the recommended modern proxy.
What you need
- A Koinswift Velocity proxy.
- One or more Minecraft Java Paper servers (on the same version).
1. Configure Velocity
- Start the proxy once
It creates
velocity.tomlandforwarding.secret. - Declare your servers
In
velocity.toml,[servers]section, one line per server with its address and port, then the connection order intry:[servers] lobby = "node001.koinswift.com:7011" survival = "node001.koinswift.com:7012" try = ["lobby"] - Enable modern forwarding
In
velocity.toml:player-info-forwarding-mode = "modern". Note the content offorwarding.secret.
2. Configure each Paper server
- Disable direct authentication
In
server.properties:online-mode=false. Player authentication is done by the proxy. - Enable Velocity in Paper
In
config/paper-global.yml,proxies.velocitysection:enabled: true,online-mode: trueandsecret:with the content offorwarding.secret. - Restart everything
The servers, then the proxy. Connect to the proxy’s address.
The secret stops anyone from connecting directly to your servers while pretending to be another player. Never share it.
Detailed tutorial: Link several Minecraft servers with a Velocity proxy.
Need a hand?
The Koinswift team answers 7 days a week, by ticket from your client area or on Discord.
