Home Minecraft Velocity setup servcity

Velocity setup servcity

Jelle
By Jelle • Last updated on Jun 25, 2024

How to setup velocity on servcity?

In this tutorial we will use 3 servers with the following names:

  1. Proxy

  2. Server-1

  3. server-2

First of all we will start by deleting the plugin ( HAPROXY-DONTREMOVE.jar ) from all server.

Then will start with putting the server to private that are not the velocity server (Server-1 and Server-2)!

This option can be found back in the Startup tab on the panel.

After this you will have to go to the velocity server (proxy) and follow these steps:

  1. Go to the network tab and check the port

  2. Go to files and open velocity.toml.

  3. Search for bind and change the port to the port from network.

  4. Next up search for player-info-forwarding-mode and change this to modern.

  5. Now you will have to get the ip and port from (Server-1 and Server-2)

  6. Back in the Proxy, We will add this in our velocity.toml config under the option [servers].

  7. Next we will change the [forced-hosts] to only lobby like this.

  8. Save your config!

This is everything that has to be done in the velocity.toml now we have to get the forwarding secret from the file this one can be found here in forwarding.secret.

Open this file and copy the forwarding secret code that's in there you will need this one in (Server-1 and Server-2).

Now we will move on to (Server-1) here you will have to do the following things:

  1. Go to Files and open server.properties and change online-mode to false.

  2. Go to the folder config and open paper-global.yml.

  3. Here you will have to find proxies and change the following things.

    • online-mode -> false

  4. Next you will have to find velocity and change the following things.

    1. enabled -> true

    2. online-mode -> true

    3. secret -> (Add the secret code from the proxy secret.forwarding)

  5. Repeat the steps from Server-1 on Server-2

If you would like to add additional servers to you proxy repeat the steps from Server-1 and add the servers on the Proxy in the velocity.toml config like this.

For further questions create a support ticket or contact us via discord.