How to build a hub server Velocity
Learn how to configure a Velocity proxy to link your Minecraft servers together. Follow our guide for both AwakeNode users and manual setups.
Introduction to Velocity
Velocity is a high-performance Minecraft proxy designed to connect multiple server instances into a single network. It is the modern standard for hub-based networks, offering superior scalability and security compared to older alternatives like BungeeCord.
Prerequisites
To run a Velocity proxy, you will need:
- A dedicated server instance for the proxy (do not run this on the same instance as your backend servers).
- Java 17 or higher installed on your proxy instance.
- A set of backend servers (Paper, Purpur, or Spigot) configured in 'online-mode=false'.
Configuring the Proxy
On AwakeNode
- Use the Version Changer in your panel to select 'Velocity' as your server type.
- Once installed, use the File Manager to edit the
velocity.tomlfile directly in your browser. - Restart your server via the panel to apply changes.
On other hosts / manually
- Download the latest Velocity
.jarfrom the official website. - Create a startup script or command to run the jar file.
- Edit the
velocity.tomlfile via SFTP or your host's file editor to define your backend servers under the[servers]section.
Connecting Backend Servers
For your backend servers to accept connections from Velocity, you must modify the server.properties file:
- Set
online-mode=false(Velocity handles authentication). - Set
network-compression-threshold=256. - Ensure
server-portmatches the port defined in yourvelocity.toml.
Important: Memory and Startup Flags
Velocity is lightweight, but performance depends on your network traffic.
- On AwakeNode: We automatically optimise your startup flags for Velocity. If you require more memory, simply upgrade your plan in the client area; the Xmx values will update automatically without manual config.
- On other hosts: You will need to manually edit your startup command to include
-Xmxflags. If you experience lag or connection drops, contact your host's support team to review your JVM garbage collection settings.
Frequently asked questions
Related guides
tutorial
How to Monetize Your Minecraft Server Without Breaking the EULA
Learn how to monetize your Minecraft server while staying compliant with Mojang's EULA. Discover acceptable donation models and avoid common pitfalls.
tutorial
How to Set Up a Web Store for Your Server Using Tebex
Learn how to integrate a Tebex web store with your AwakeNode Minecraft server to manage donations and rank sales efficiently.
tutorial
Minecraft Server Security: How to Protect Your World from Griefers, Bots, and DDoS Attacks
Learn how to secure your Minecraft server against griefers, malicious bots, and DDoS attacks with our expert guide on configuration and best practices.
Ready to host your Minecraft server?
Spin up a high-performance UK server in seconds - AMD Ryzen, NVMe, DDoS protection, and 24/7 support from £1/mo.