This is where you run an executable, probably not on your personal computer, that does the heavy computation behind the scenes. If you are just looking to play with a couple friends in a private scenario, please check Local Multiplayer.

You should have experience with command-line interfaces and networking before setting this up. Alternatively, you can rent a dedicated server. There are multiple providers out there and for a fee they will set one up for you. We can’t recommend any as we don’t want to endorse any providers.



Setup

The dedicated server app ID is 2131400. Check https://developer.valvesoftware.com/wiki/SteamCMD for instructions on installation.

Be sure to open UDP ports 27015 and 7777. 27015 is used for Steam to check that the server’s up, and 7777 is the port that VEIN sends gameplay packets over.

Run VeinServer to start the server.

If you want, use -QueryPort=(port) and -Port=(port) to change 27015 and 7777 respectively.

Use -multihome=(IP address) to specify which address to bind to. This is usually not necessary.

Add -log or you will not see the console output.


Config

In Vein/Saved/Config/[Windows/Linux]Server, edit or create Game.ini. If that folder/file doesn’t exist, create them.

Unreal Engine will remove any config lines that are redundant by being the default. If you add config lines that have the default setting (e.g. MaxPlayers=16 ) and they vanish, this is why.

Basics

In Game.ini, add or modify these lines if they don’t exist. Each line is optional so if you don’t want to change a setting from the default, don’t add the line.

[/Script/Engine.GameSession]
MaxPlayers=16

[/Script/Vein.VeinGameSession]
bPublic=True
ServerName=Vein Server
BindAddr=0.0.0.0
SuperAdminSteamIDs=1234
AdminSteamIDs=1234
HeartbeatInterval=5.0
Password=secret

[OnlineSubsystemSteam]
GameServerQueryPort=27015
bVACEnabled=0

[URL]
Port=7777

[/Script/Engine.GameSession]

MaxPlayers: self-explanatory