A whitelist is an access list that controls who can join your server. Space Engineers uses a Steam group for this: only members of the group can connect.
Create a Steam group for your server and add the players you want to allow. To configure the whitelist, you need the group ID in 64-bit format (groupID64, an 18-digit number). You can find it, for example, by opening https://steamcommunity.com/groups/[GRUPPENNAME]/memberslistxml/?xml=1 in your browser.
The setting is in the SpaceEngineers-Dedicated.cfg file. If you set up Space Engineers using the Game Server Installer, the file is located at C:\ZapX-GameServers\space-engineers\data\SpaceEngineers-Dedicated.cfg.
- Connect to your VPS using Remote Desktop.
- Stop the server using the
Space Engineers (space-engineers) - Stopshortcut. It saves the world and shuts down the server cleanly. Changes made to the file while the server is running may be lost. - Open
C:\ZapX-GameServers\space-engineers\data\SpaceEngineers-Dedicated.cfgwith a text editor, such as Notepad++. - Find the
GroupIDelement and enter your group ID:
<GroupID>103582791400000000</GroupID>
- Save the file and start the server using
Space Engineers (space-engineers) - Start.
Leave OnlineMode set to PUBLIC. The installer configures the server this way so players can connect through Steam. Manage the whitelist using GroupID only.
To add someone to the whitelist, invite them to the Steam group and make sure they have joined. Once they are a member, they can connect.
To remove someone, remove them from the Steam group. To switch the whitelist to a different group, change the value of GroupID while the server is stopped. Set the value to 0 to disable the whitelist.
After starting the server, try connecting with a Steam account that is not in the Steam group. The server should reject the connection. Then try connecting with an account that is a group member.
If the server still allows anyone to join, check that the value of GroupID is saved in C:\ZapX-GameServers\space-engineers\data\SpaceEngineers-Dedicated.cfg and that you stopped the server before making the change. You can find more information in the SpaceEngineersDedicated_*.log file in the data\ folder.
