Setup a Velocity Minecraft Server
Learn how to setup a Velocity Minecraft Server. Velocity is a Minecraft proxy server helping with scalability and distribution between your servers.
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 :
#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.
Reading is fine. Running one is better.
Every guide here was written against a real free AxentHost server. Claim fifteen credits and follow along on your own.