Configure the Velocity Proxy
Velocity is installed manually using its server JAR.- Log in to the game panel at
gamepanel.fourseasonshosting.com. - Open the server you want to use for the proxy.
- Stop the server from the Console page.
- Download the latest Velocity release from PaperMC.
- Open Files and upload the Velocity JAR to the server’s main directory.
- Go to Startup.
- Set Server Jar File (
SERVER_JARFILE) to the exact name of the uploaded JAR, such as: - You can optionally set Flag Preset (
FLAG_PRESET) to Velocity Proxy to use a lightweight set of startup flags intended for proxy servers. - Start the server once.
- Allow Velocity to finish its initial setup, then stop the server again.
velocity.toml and forwarding.secret.
Security: Keep forwarding.secret private. Anyone who obtains the secret may be able to impersonate a trusted backend connection.
Configure a Custom Forwarding Secret
Velocity automatically generates a forwarding secret for you. If you want to use your own value:- Open
forwarding.secretfrom Files. - Replace the existing contents with your chosen secret.
- Save the file.
Add Your Backend Servers
Thevelocity.toml file controls which Minecraft servers are available through the proxy.
- Open
velocity.tomlfrom Files. - Find the
[servers]section. - Add an entry for each backend server.
- Use the server’s primary allocation from its Network page.
hub and minigames, are simply identifiers that Velocity uses when referring to each backend.
If you are not using domain-based routing, you can remove the [forced-hosts] section from velocity.toml.
Save the configuration when finished.
Configure the Backend Servers
Every Minecraft server that connects to Velocity needs to be configured to accept connections through the proxy. Repeat the following steps for each backend server:- Stop the server.
- Open Files.
- Open
server.properties. - Find:
- Change it to:
- Save the file.
- Open
config/paper-global.yml. - Locate the
proxiessection. - Enable Velocity support:
- Set
velocity.secretto the same value stored in the proxy’sforwarding.secret. - Save the configuration.
- Start the server.
Important: Backend servers should not be publicly accessible when using a proxy. Ideally, firewall the backend servers so players can only reach them through Velocity.
Connecting to the Network
Players should use the address and port assigned to the Velocity proxy when connecting. They should not connect directly to the addresses of the backend servers. Once connected to Velocity, players can be transferred between the servers configured invelocity.toml.
Troubleshooting
Players Cannot Connect
Verify that:- The player is connecting to the proxy address rather than a backend server.
- The Velocity server is running.
- Every backend address in
velocity.tomlis correct. - The backend servers are running.
- The required network ports are accessible.
Forwarding Errors
If players receive an error during login, checkvelocity.toml and make sure the forwarding mode is configured correctly:
