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).
- Copy
Templates/MyGameServer.Target.cstoYourProject/Source/and renameMyGameto your project name. - Package the server: Platforms → Windows/Linux → Development Server (or
RunUAT BuildCookRun -server -noclient). - 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 MyGameServerIt 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
playerJoiningandplayerDroppedto 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