GamesLauncherNewsDocsCommunityMy accountMy serversDownload Launcher
DocsVantix Menu plugin

Build a dedicated server

Test a server from the editor, package a real server build and make the server package.

#Test without a source build of the engine

Run the editor as a server: fix the paths in ServerFiles/start-editor-test.bat and run it. Start the game and use Connect by IP → 127.0.0.1:7777.

#A real server build

A real server build needs Unreal Engine built from source (from GitHub).

  1. Copy Templates/MyGameServer.Target.cs to YourProject/Source/ and rename MyGame to your project name.
  2. Package the server: Platforms → Windows/Linux → Development Server (or RunUAT BuildCookRun -server -noclient).
  3. Put ServerFiles/ (server.cfg, resources/, start.bat / start.sh) next to the packaged server.

#Make the server package

Run in PowerShell:

powershell
.\Tools\MakeServerPackage.ps1 -ServerDir "C:\Builds\WindowsServer" `
                              -Version 0.1.0 -ExeName MyGameServer

It makes VantixServer-0.1.0.zip and always empties sv_licenseKey in the package, so your own key never ships.

Players download the package from the server portal when they're signed in.

#Game mode

Gameplay maps must use a game mode that inherits from VantixServerGameMode. It:

  • checks the server key, the password and sv_maxplayers,
  • adds the Lua bridge (VantixNetComponent) to each player,
  • sends playerJoining and playerDropped to Lua.

The menu level uses VantixMenuGameMode.

#Run it

See Run the server for start scripts, command line options and ports.

Last updated 2026-12-06