Home Games Compare Blog
Login Register
/ Knowledgebase / Minecraft / Setup a Velocity Minecraft Server
minecraft card image

Setup a Velocity Minecraft Server

minecraft knowledgebase

What is Velocity

Velocity is a Minecraft Server proxy. It allows to create scalable and flexible servers thanks to its specific API. It is known for its really good performances, since it can handle thousands of players per proxy.

It supports Paper, Sponge, Fabric and Forge. It also support Bedrock and Java crossplay by default with a built-in GeyserMC.

We will now cover how to setup a Velocity Minecraft Server.

Create a Velocity Minecraft server

  • Login to AxentHost
  • Create and Activate a Minecraft Server
  • Once activated, click "Stop" to modify the server
  • Navigate to its "Files" tab and delete all the server files
  • Navigate to its "Variants" tab and switch to Velocity

Setup your Velocity server

By default, AxentHost provides a minimal configuration that you need to edit to make your velocity server functional. This file is called

velocity.toml
and contains the next configuration :

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#If you are using modern or BungeeGuard IP forwarding, configure a file that contains a unique secret here.
#The file is expected to be UTF-8 encoded and not empty.
forwarding-secret-file = "forwarding.secret"
config-version = "2.7"
bind = "0.0.0.0:40005"
#Should the proxy enforce the new public key security standard? By default, this is on.
force-key-authentication = true
# What should be the MOTD? This gets displayed when the player adds your server to
# their server list. Only MiniMessage format is accepted.
motd = "AxentHost.com Server"
online-mode = false

[advanced]
  #Allows players transferred from other hosts via the
  #Transfer packet (Minecraft 1.20.5) to be received.
  accepts-transfers = false

[servers]
  # Configure your servers here. Each key represents the server's name, and the value
  # represents the IP address of the server to connect to.
  lobby = "xxxx.axenthost.me:xxxxx"
  games = "xxxx.axenthost.me:xxxxx"
  # In what order we should try servers when a player logs in or is kicked from a server.
  try = ["lobby"]

[forced-hosts]

Set your servers addresses in the

[servers]
part. Don't forget to include the port number in the servers addresses.

Recommended configuration

It is not recommended to use Vanilla servers with server proxies such as Bungeecord or Velocity. Make sure to follow the official server compatibility guide to make sure you are doing well.

In each servers configuration, you need to set

online-mode: false
in their
server.properties
file.

Advanced configuration

For advanced configuration, check the available parameters on the Velocity documentation.

Conclusion

You have now all the keys to know how to use Minecraft Velocity on a server. It will help to scale your server to a larger community, and you'll be ready for better performances.