GamesLauncherNewsDocsCommunityMy accountMy serversDownload Launcher
DocsHosting a server

Run the server

Start scripts, command line options, environment variables and the ports of a dedicated server.

The server package runs on Windows and Linux - your own PC, a VPS or a game server panel like Pterodactyl.

#Start

SystemScriptNotes
Windowsstart.batPasses -stdin, so you can type in the server console.
Linuxstart.shConsole input is on, so it works in Pterodactyl and similar panels.

The map is set on the command line, or by the game's default server map:

text
MyGameServer.exe /Game/Maps/World -port=7777

#Command line

OptionWhat it does
-port=7777The game port.
-servercfg=path/server.cfgUse another config file.
-resources=path/resourcesUse another resource folder.
-licensekey=vx_...The server key (instead of server.cfg).
-stdin / -nostdinTurn console input on (Windows) / off (Linux).
-logShow a log window.

#Environment variables

VariableWhat it does
VANTIX_LICENSE_KEYThe server key. Good for panels that keep secrets out of files.

#Where the key comes from

The server uses the first key it finds, in this order:

  1. -licensekey= on the command line
  2. The VANTIX_LICENSE_KEY environment variable
  3. sv_licenseKey in server.cfg

#Ports

PortProtocolUsed for
7777UDPThe game (change with -port=)
7778UDPServer list ping - game port + 1, or sv_queryport

Open both in your firewall and router. Every server on the same machine needs its own ports, e.g. 7777/7778 and 7787/7788.

Tip

Behind a panel or proxy with its own domain? Set sv_endpoint in server.cfg to the address players should use.

#How a server gets listed

  • The server sends a heartbeat with its key to the master server every 30 seconds.
  • A server is online in the list if it sent a heartbeat in the last 90 seconds.
  • Players connect straight to your server. The master server is only the list.
  • When the server shuts down, it removes itself from the list.

Last updated 2026-12-06