01
Before you start: Windows and resources
Keen Software House, the developer, publishes its dedicated server for Windows and offers no Linux version: a Windows VPS is therefore the normal route. The server does not require a game licence and needs no graphics card.
- Software: .NET Framework 4.8 and the Visual C++ redistributables Keen asks for (2013 and 2017, or newer, 64-bit). Install them if they are missing on the VPS.
- Keen's minimum: a 3.2 GHz processor with 3 logical cores, 6 GB of memory. Below that, the server runs but forces the game's experimental mode.
- Recommended: a 4.5 GHz processor with 3 logical cores, 10 GB of memory. Add the memory used by Windows itself.
- Disk: about 8 GB for the server, plus room for logs, saves and mods, which grow quickly.
The general method (Remote Desktop, firewall, automatic startup) is described in a game server on a Windows VPS.
02
Install the server and create the world
Connected through Remote Desktop, open PowerShell as administrator, install SteamCMD (Steam's command-line tool), then the server, with an anonymous login:
New-Item -ItemType Directory -Force C:\steamcmd, C:\SEDS
Invoke-WebRequest https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip -OutFile C:\steamcmd\steamcmd.zip -UseBasicParsing
Expand-Archive C:\steamcmd\steamcmd.zip -DestinationPath C:\steamcmd
C:\steamcmd\steamcmd.exe +force_install_dir C:\SEDS +login anonymous +app_update 298740 +quit
Then run C:\SEDS\DedicatedServer64\SpaceEngineersDedicated.exe. The tool offers two ways to run the server:
- Local/Console: the server runs as an open program. Simple, but you must start it again by hand after a Windows restart.
- Add new instance: an instance running as a Windows service, which restarts on its own with the machine. The tool must be run as administrator. It is the right choice on a VPS, and each instance is a separate world.
Pick the instance, click "Continue to server configuration", then:
- New game creates a world from a scenario;
- Saved worlds loads an existing world. To continue a world created in the game, copy its folder from
%AppData%\SpaceEngineers\Saves on your computer to the Saves folder of the server's data (see below).
Set at least the server name and the world name, then "Save & start".
03
Server settings
The configuration tool groups settings into tabs:
- Server settings: the listen address (leave
0.0.0.0), the port, the server and world names, a description, a password for a private server, and a Steam Group ID: if it is not zero, only members of that Steam group see the server.
- Users: administrators, banned players and reserved slots, identified by their 17-digit Steam ID (SteamID64).
- Mods: the world's mods (next section).
- MotD: the message shown to every player who connects.
- Maintenance: automatic restart and update. According to Keen, automatic update only works while the configuration tool stays open.
The game settings mirror those of the game. The tool accepts values outside the usual limits, but Keen warns they are neither tested nor supported and can degrade the game.
The files. Data (configuration, worlds, logs) is in %AppData%\SpaceEngineersDedicated for the Local/Console instance and in C:\ProgramData\SpaceEngineersDedicated for service instances. The "Edit config" button opens the instance's SpaceEngineers-Dedicated.cfg file directly, in XML format, with for example <ServerPort>27016</ServerPort>. The world's settings and mod list, however, are edited in the sandbox_config.sbc file of the world folder, not in this file.
From the command line, SpaceEngineersDedicated.exe -console starts without going through the configuration windows, and -path followed by a folder stores the configuration and all data there. To stop the server cleanly, saving the world: taskkill /IM SpaceEngineersDedicated.exe. With /f, the stop is immediate and the world is not saved.
04
Add Workshop mods
Two ways to choose a world's mods:
- The Mods tab of the configuration tool. With "Connect to Steam", it shows the list of mods you are subscribed to, provided Steam is open and logged in on the VPS.
- The world's
sandbox_config.sbc file, with the server stopped, with one block per mod. The example from the official game wiki:
<Mods>
<ModItem FriendlyName="Text HUD API">
<Name>758597413.sbm</Name>
<PublishedFileId>758597413</PublishedFileId>
<PublishedServiceName>Steam</PublishedServiceName>
</ModItem>
</Mods>
PublishedFileId is the mod's number, at the end of its Workshop page address. By default, the server adds the mods a mod depends on by itself (the AutodetectDependencies setting). Players have nothing to install: the game downloads the server's mods when they connect.
- Crossplay with consoles: a server open to console players cannot use Steam Workshop mods.
- If mods do not download, the game wiki explains that the server ships with outdated Steam files. Copy
steamclient64.dll, tier0_s64.dll and vstdlib_s64.dll from C:\steamcmd to C:\SEDS\DedicatedServer64, then restart. The error details are in workshop_log.txt, stored in C:\SEDS\DedicatedServer64\logs.
05
Port, backups and updates
The port. The game communicates over UDP, on port 27016 by default. Open it in the Windows firewall:
New-NetFirewallRule -DisplayName "Space Engineers" -Direction Inbound -Protocol UDP -LocalPort 27016 -Action Allow
Each instance must have its own port (see hosting several game servers and game server ports). The Remote API, used to administer the server remotely with VRage Remote Client (VRageRemoteClient.exe, shipped with the server), listens on port 8080 by default and is protected by a security key: only open this port if you use it.
Backups. Stop the server cleanly, then archive its data folder, here for a service instance:
New-Item -ItemType Directory -Force C:\sauvegardes
Compress-Archive -Path C:\ProgramData\SpaceEngineersDedicated -DestinationPath "C:\sauvegardes\space-engineers-$(Get-Date -Format yyyy-MM-dd).zip"
This folder also holds the downloaded mods and can become large; at the very least keep the world folder (in Saves) and SpaceEngineers-Dedicated.cfg. Copy the archive off the VPS.
Updates. Turn on automatic update in the Maintenance tab, leaving the tool open, or stop the server and run the SteamCMD installation command again: it only downloads what has changed.
06
On CloudFive
CloudFive has no ready-made Space Engineers plan: the server is installed on a VPS. Since the official server is Windows-only, the Windows VPS, from €8.50 per month, is the logical choice:
- Windows Server preinstalled, licence included, and Remote Desktop ready on delivery;
- an AMD Ryzen 9 9950X with NVMe storage, administrator access and a dedicated IPv4 address;
- basic DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protecting a game server against DDoS).
Aim for at least the 10 GB Keen recommends, plus Windows' share, and more for a large world full of builds. Servers are in France, on our own network, billed monthly with no commitment, with support in French 7 days a week. To size the VPS, see which VPS for a game server and the gaming VPS page.
07
Frequently asked questions
How do I create a Space Engineers dedicated server?
Install the server with SteamCMD (ID 298740, anonymous login) on a Windows machine, run SpaceEngineersDedicated.exe, create an instance, choose a scenario or an existing world, then click Save & start. Finally, open UDP port 27016.
Does the Space Engineers dedicated server run on Linux?
Keen Software House only publishes its dedicated server for Windows, with .NET Framework 4.8 and the Visual C++ redistributables. On a VPS, choose a Windows VPS to stay within what the developer supports.
Which port should I open for a Space Engineers server?
Port 27016 UDP by default, changeable in the server settings. Each instance needs its own port, and the Remote API port (8080 by default) only needs opening if you administer the server remotely.
How do I add mods to a Space Engineers server?
In the Mods tab of the configuration tool, with Steam logged in on the machine, or in the world's sandbox_config.sbc file, with each mod's Workshop number. Players download them when they connect; a server open to consoles cannot use Steam Workshop mods.
How much RAM does a Space Engineers server need?
Keen asks for 6 GB minimum and recommends 10 GB, with a processor of 3 logical cores at 3.2 GHz minimum and 4.5 GHz recommended. On a Windows VPS, add the memory used by the system, and plan for more with a large world.