Skip to content

06Templates (apps on your server)

Velocity – Minecraft proxy from a template

Install the Velocity proxy on your VPS using a template and connect several Minecraft servers: forwarding secret, Paper settings, fixing join problems.

In short

The template installs the Minecraft proxy Velocity with the matching Java as the nh-velocity service. Players connect to the proxy, which forwards them to your Minecraft servers. At the end, you get the forwarding secret for your Paper servers.

  • at least 768 MB RAM, 2 GB free storage
  • port 25565 free – if a Minecraft server already runs on the same server, choose 25577
  1. Server Hub → your server → Templates → Velocity → Install.
  2. Choose the port and Start installation. After about 3 minutes, the proxy is running.

In /opt/velocity/velocity.toml, add your Minecraft servers under [servers] (name = "IP:port") and use try to set where players go first. Then run systemctl restart nh-velocity.

On every Paper server behind it:

  1. In server.properties: online-mode=false
  2. In config/paper-global.yml under proxies.velocity: enabled: true, online-mode: true and the forwarding secret as secret.
What Where
Program and settings /opt/velocity
Plugins /opt/velocity/plugins
Restart systemctl restart nh-velocity