With the right configuration, you can make your Vein game server exactly the server you envision for your group: its own name and description in the server list, a password, the right number of players, and your admins. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can adjust directly in the configuration file.
Vein reads its server settings from the Game.ini file in the Vein/Saved/Config/LinuxServer folder. You don’t need to change the most important values manually, though: you’ll find them in ZapX under the Configuration tab in Startup parameters.
Whenever your server starts, it writes the values from the startup parameters to the corresponding locations in Game.ini. All other entries in the file remain unchanged. You can open the file in the Files tab.
Always change values that are available as startup parameters in Startup parameters, not directly in Game.ini. Any changes made in the file will be overwritten with the startup parameter values the next time the server starts.
After you save, ZapX will prompt you to restart the server. Your changes only take effect after the restart.
| Startup parameter | Description |
|---|---|
| Server name | Your server’s name in the in-game server list. Default: Vein Server |
| Server description | A short description of your server. Default: Managed VEIN server |
| Server password | Password required to join. Leave empty for an open server. |
| Publicly visible | true displays your server in the public server list; false hides it. Default: true |
| Heartbeat interval | How often your server contacts the master server to remain in the server list, in seconds from 1 to 300. Default: 5.0 |
| Max. players | How many players can play on your server at the same time, from 1 to 64. Default: 10 |
| Admin Steam IDs | SteamID64s of players with admin rights, separated by commas |
| Super admin Steam IDs | SteamID64s of players with full admin rights, separated by commas |
| Whitelist | SteamID64s of players who are allowed to join, separated by commas with no spaces. Leave empty to allow anyone to join. |
| Enable VAC | Turns Valve Anti-Cheat (VAC) on or off for your server. Default: off |
| Use beta version | Installs the selected beta branch of the server instead of the stable version. Default: false |
| Beta branch | Name of the Steam beta branch to install when the beta version is enabled. Default: experimental |
| Verify installation | Makes SteamCMD check all server files and redownload any damaged files during the update your server runs at every startup. This makes startup take a little longer. Default: false |
| Additional startup parameters | Additional parameters passed to the Vein server when your server starts |
Your server assigns the game port and Steam query port automatically each time it starts. To see which ports your server uses and which one you need to connect, see Connect to the server.
In Vein, you grant admin rights using players’ Steam IDs. There are two startup parameters for this:
- Admin Steam IDs: Players with admin rights.
- Super admin Steam IDs: Players with full admin rights.
To add admins:
- Open Startup parameters in the Configuration tab.
- Enter the players’ SteamID64s under Admin Steam IDs or Super admin Steam IDs. This is the 17-digit number that starts with
7656. Separate multiple IDs with a comma and no spaces, for example76561198000000001,76561198000000002. - Save and restart your server.
Each time your server starts, it writes a separate AdminSteamIDs=… or SuperAdminSteamIDs=… line for each ID to the [/Script/Vein.VeinGameSession] section of Game.ini.
Don’t add admins to Game.ini manually. Your server replaces these lines with the list from the startup parameters each time it starts. If the field is empty, it removes the lines entirely.
For players to find your server in Vein’s server list, Publicly visible must be set to true. If set to false, your server will no longer appear there. Your friends can still join directly using the IP address and game port. If you only want to play with friends, also set a Server password.
The Heartbeat interval determines how often your server contacts the master server. Values from 1 to 300 seconds are allowed, including decimal values such as 7.5.
There are two separate settings to protect against cheaters:
- Enable VAC in the startup parameters turns on Valve Anti-Cheat. Each time your server starts, it writes the value as
bVACEnabledto the[OnlineSubsystemSteam]section ofGame.ini. - To enable Vein’s own anti-cheat protection, set
bAntiCheatProtected=Truein the[/Script/Vein.VeinGameSession]section ofGame.ini. It is off by default.
Use Use beta version and Beta branch to choose which version of the server software your server installs from Steam. Each time your server starts, it checks for a new version through SteamCMD and installs it. A branch change therefore takes effect the next time the server restarts. If Steam is temporarily unavailable, your server starts with the installed version and tries the update again the next time it starts.
If your server is running on a beta branch, you and your friends must use the same Vein beta branch in Steam. Otherwise, the game and server versions won’t match and you won’t be able to connect. Back up your save before switching branches; see Manage savegames.
Under Additional startup parameters, you can enter extra parameters that your server passes to Vein when it starts. Separate multiple parameters with spaces. You can’t pass values that contain spaces here. Set ports and player count using their respective startup parameters, not here.
Your server overwrites these values with the startup parameter values each time it starts, so changing them manually won’t have any effect:
- In the
[/Script/Vein.VeinGameSession]section:ServerName,ServerDescription,Password,bPublic,HeartbeatInterval,HTTPPort, and the admin linesAdminSteamIDsandSuperAdminSteamIDs - In the
[/Script/Engine.GameSession]section:MaxPlayers - In the
[OnlineSubsystemSteam]section:bVACEnabledandGameServerQueryPort - In the
[URL]section:Port
All other entries in Game.ini are retained, such as bAntiCheatProtected. However, each time your server starts, it rewrites the WhitelistedPlayers lines in the [/Script/Vein.VeinGameStateBase] section using the Whitelist startup parameter. So manage your whitelist there, not in the file.
It’s best to edit Game.ini while the server is stopped, then restart it. Vein’s HTTP interface (HTTPPort) is disabled on your server.
Vein stores your world separately from the configuration, in the Vein/Saved/SaveGames folder. To learn how to back it up and restore it, see Manage savegames.
You’ve now set up your Vein server just the way you want it. To learn how you and your friends can join, see Connect to the server. If something isn’t working as expected, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂