Basic Setup

Game.ini

In (install directory)/Vein/Saved/Config/[Windows or 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.

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
ServerDescription=A server. You can join it.
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

[/Script/Vein.VeinGameSession]

bPublic: change this to False if you don’t want your game to be listed in the server browser

ServerName: The server’s name in the browser.

ServerDescription: This will be displayed when the player selects your server. You can put server rules, gameplay style, etc. in here, like an MOTD.

BindAddr: sets what IP address the server listens on. Generally, this doesn’t need to be set or changed.

AdminSteamIDs or SuperAdminSteamIDs: Add admin SteamID64s here. You can find them at https://steamid.io/. If there’s more than just one, add a + before every entry:

AdminSteamIDs=765123123123123
+AdminSteamIDs=765456456456456
+AdminSteamIDs=765777777777777
...

<aside> <img src="/icons/shield_red.svg" alt="/icons/shield_red.svg" width="40px" />

Super admins are admins that have the added ability to grant or demote admin ranks to people from ingame. You don’t need to duplicate IDs between the two, so just adding your Steam ID to SuperAdminSteamIDs is fine.

</aside>

[OnlineSubsystemSteam]

GameServerQueryPort: The server query port for Steam.

bVACEnabled: Enable or disable Steam’s VAC.


Engine.ini

Create the file if it doesn’t exist.

[URL]

Port: The main game port. Defaults to 7777.

VEIN Settings

To change some of the in-game console commands such as zombie spawn rate or PvP being enabled, edit or create Engine.ini like you did with Game.ini in the same directory (Vein/Saved/Config/[Windows/Linux]Server). Add a section as below.

[ConsoleVariables]
vein.PvP=True
vein.AISpawner.Enabled=True
vein.TimeMultiplier=16
# etc.

Console Variable List