This guide covers how to set up and configure your Space Engineers dedicated server on Legion Hosting, including first start, GPanel startup variables, XML configuration, game modes, world settings, connecting, and save management. For mod installation, see Space Engineers Mod Installation. For common issues, see Space Engineers Troubleshooting.
First Start
When your Space Engineers server is first provisioned, it needs to install the game files and generate its initial configuration. This happens automatically on the first start.
- Log in to GPanel and select your Space Engineers server from the server list.
- Click Start on the Console tab. The server will download and install the Space Engineers Dedicated Server files via SteamCMD. This may take several minutes on the first run.
- Watch the console output for progress. Once you see a message indicating the server is ready and listening for connections, the initial setup is complete.
- The server will generate its default configuration files, including
SpaceEngineers-Dedicated.cfgand a default world save.
Server Configuration -- GPanel Startup Variables
The easiest way to configure your Space Engineers server is through the Startup tab in GPanel. These variables are applied as command-line arguments each time the server starts.
- Stop your server from the Console tab.
- Navigate to the Startup tab.
- Adjust the variables listed below as needed.
- Return to the Console tab and click Start to apply the changes.
| Variable | Example Value | Description |
|---|---|---|
| Server Name | My Legion SE Server |
The name displayed in the in-game server browser. Set something recognizable so players can find your server. |
| World Name | MyWorld |
The name of the world/save folder used by the server. Changing this creates or loads a different world. |
| Max Players | 16 |
Maximum number of simultaneous players. Should not exceed the slot limit on your hosting plan. |
| Game Mode | Survival |
The game mode for the world. See the Game Modes section below for details. |
| Save Interval | 5 |
How often (in minutes) the server auto-saves. Lower values reduce data loss on crash; higher values reduce disk I/O. |
Advanced Configuration -- SpaceEngineers-Dedicated.cfg
For more granular control, you can edit the server's XML configuration file directly. This file controls settings not exposed in the GPanel Startup tab.
Accessing the Configuration File
- Stop your server from the Console tab.
- Click the Files tab in GPanel.
- Locate and open
SpaceEngineers-Dedicated.cfgin the root directory of your server.
Key Configuration Settings
The configuration file uses XML format. Below are the most commonly adjusted settings within the <SessionSettings> block:
| Setting | Example Value | Description |
|---|---|---|
<ServerName> |
My Legion SE Server |
Server name shown in the browser. May be overridden by the GPanel startup variable. |
<ServerDescription> |
A Legion Hosting server |
Description shown in the server browser when players view server details. |
<ServerPassword> |
mypassword |
Password required for players to join. Leave empty for a public server. |
<MaxPlayers> |
16 |
Maximum number of simultaneous players. |
<AutoSaveInMinutes> |
5 |
Auto-save interval in minutes. Set to 0 to disable auto-save (not recommended). |
<PauseGameWhenEmpty> |
true |
Pauses the simulation when no players are connected. Saves resources but stops all in-game processes. |
<GroupID> |
0 |
Steam group ID. When set, only members of this group can join (unless <GroupAccessEnabled> is false). |
<Administrators> |
<unsignedLong>76561198012345678</unsignedLong> |
List of Steam64 IDs granted admin access. Add one <unsignedLong> entry per admin inside the <Administrators> block. |
<Banned> |
<unsignedLong>76561198012345678</unsignedLong> |
List of Steam64 IDs banned from the server. |
Example configuration snippet:
<MyObjectBuilder_SessionSettings>
<ServerName>My Legion SE Server</ServerName>
<ServerDescription>A Space Engineers server by Legion Hosting</ServerDescription>
<ServerPassword></ServerPassword>
<MaxPlayers>16</MaxPlayers>
<AutoSaveInMinutes>5</AutoSaveInMinutes>
<PauseGameWhenEmpty>true</PauseGameWhenEmpty>
<Administrators>
<unsignedLong>76561198012345678</unsignedLong>
</Administrators>
</MyObjectBuilder_SessionSettings>
Adding Admins
To grant admin access, add Steam64 IDs inside the <Administrators> block. You can find your Steam64 ID by looking up your Steam profile on steamid.io.
<Administrators>
<unsignedLong>76561198012345678</unsignedLong>
<unsignedLong>76561198087654321</unsignedLong>
</Administrators>
Game Modes
Space Engineers offers two primary game modes. The mode is set when the world is first created and can be changed in the configuration file or GPanel Startup tab.
| Mode | Description | Best For |
|---|---|---|
| Survival | Players must mine resources, refine materials, and build components to construct ships and stations. Health, oxygen, hydrogen, and energy must be managed. Players start with basic tools and work up to advanced equipment. | Standard multiplayer gameplay. Most servers run Survival mode for a balanced progression experience. |
| Creative | Players have unlimited resources and instant building. All blocks are available immediately with no material cost. No health or survival mechanics. Ships and stations can be built freely. | Building, prototyping, and testing designs. Useful for creative servers or for admins planning builds before switching to Survival. |
<GameMode> setting in SpaceEngineers-Dedicated.cfg or through the GPanel Startup tab. Changing from Creative to Survival will not remove existing blocks, but players will need to start managing resources going forward.
World Settings -- Sandbox.sbc
The world-specific settings are stored in the Sandbox.sbc file inside your world's save folder. These settings control the environment, physics, and gameplay balance of your specific world.
Accessing Sandbox.sbc
- Stop your server.
- Open the Files tab in GPanel.
- Navigate to the world save folder (typically at the path shown in GPanel or inside a
Saves/directory). - Open
Sandbox.sbcin the file editor.
Key World Settings
The following settings are found within the <SessionSettings> block of Sandbox.sbc:
| Setting | Values / Example | Description |
|---|---|---|
<ProceduralDensity> |
0.25, 0.35, 0.50 |
Controls asteroid density in procedurally generated worlds. 0.25 = low, 0.35 = normal, 0.50 = high. Set to 0 to disable procedural asteroids (used with preset asteroid maps). |
<EnvironmentHostility> |
SAFE, NORMAL, CATACLYSM, APOCALYPSE |
Controls hostile encounters like meteor showers, wolves, and spiders. SAFE disables all threats. NORMAL enables moderate threats. CATACLYSM and APOCALYPSE increase severity and frequency. |
<InventorySizeMultiplier> |
1, 3, 10 |
Multiplier for player and block inventory capacity. 1 = realistic (small inventories), 3 = default for most servers, 10 = very large inventories. |
<AssemblerSpeedMultiplier> |
1, 3, 10 |
Multiplier for assembler production speed. Higher values reduce crafting time. |
<AssemblerEfficiencyMultiplier> |
1, 3, 10 |
Multiplier for assembler material efficiency. Higher values mean fewer raw materials needed per crafted item. |
<RefinerySpeedMultiplier> |
1, 3, 10 |
Multiplier for refinery processing speed. Higher values refine ore into ingots faster. |
<WelderSpeedMultiplier> |
1, 2, 5 |
Multiplier for welding (building/repairing) speed. |
<GrinderSpeedMultiplier> |
1, 2, 5 |
Multiplier for grinding (deconstructing) speed. |
<EnableSpiders> |
true / false |
Enables or disables spider NPCs on planets. |
<EnableWolves> |
true / false |
Enables or disables wolf NPCs on planets. |
<MaxFloatingObjects> |
56, 100 |
Maximum number of floating objects (dropped items, debris) in the world. Lower values improve server performance. |
<MaxGridSize> |
0 (unlimited), 50000 |
Maximum number of blocks per grid (ship/station). Setting a limit prevents players from building excessively large grids that degrade performance. 0 = no limit. |
<BlockCountThreshold> |
100 |
Block count below which grids are considered "small" for cleanup purposes. |
<EnableAutorespawn> |
true / false |
Automatically respawns players at their last medical room after death. |
Example world settings snippet:
<SessionSettings>
<GameMode>Survival</GameMode>
<InventorySizeMultiplier>3</InventorySizeMultiplier>
<AssemblerSpeedMultiplier>3</AssemblerSpeedMultiplier>
<AssemblerEfficiencyMultiplier>3</AssemblerEfficiencyMultiplier>
<RefinerySpeedMultiplier>3</RefinerySpeedMultiplier>
<WelderSpeedMultiplier>2</WelderSpeedMultiplier>
<GrinderSpeedMultiplier>2</GrinderSpeedMultiplier>
<MaxFloatingObjects>56</MaxFloatingObjects>
<EnvironmentHostility>NORMAL</EnvironmentHostility>
<ProceduralDensity>0.35</ProceduralDensity>
<EnableSpiders>true</EnableSpiders>
<EnableWolves>true</EnableWolves>
<AutoSaveInMinutes>5</AutoSaveInMinutes>
</SessionSettings>
<MaxFloatingObjects> at or below 100 and consider setting a <MaxGridSize> limit on public servers. Very large grids and excessive floating debris are the most common causes of server lag in Space Engineers.
How to Connect
Option A -- Steam Server Browser
- Open Steam and click View > Game Servers (or View > Servers in older Steam versions).
- Click the Favorites tab, then click Add a Server.
- Enter your server IP and port (found in GPanel's Network tab) and click Add this address to favorites.
- Select the server from your favorites list and click Connect.
Option B -- In-Game Server Browser
- Launch Space Engineers and click Join Game from the main menu.
- In the server browser, use the search field to find your server by name.
- Select your server and click Join World.
- If the server has a password, you will be prompted to enter it.
Option C -- Direct Connect via IP
- Launch Space Engineers and click Join Game from the main menu.
- Click the Direct Connect tab (or enter the IP in the search/filter field).
- Enter your server IP and game port from GPanel's Network tab:
<your-server-ip>:<your-game-port> - Click Join World and enter the server password if prompted.
Save Management
Auto-Save
Space Engineers auto-saves at the interval configured in <AutoSaveInMinutes> (default: 5 minutes). Auto-saves overwrite the current world save. You can adjust this interval in SpaceEngineers-Dedicated.cfg or the GPanel Startup tab.
Save File Location
World saves are stored on the server in the world save directory. The exact path depends on your server configuration, but it is typically found inside a Saves/ or instance directory visible in the GPanel Files tab. Each world has its own folder containing:
| File | Purpose |
|---|---|
Sandbox.sbc |
World settings, mod list, session configuration. |
Sandbox_config.sbc |
Additional session configuration and settings. |
SANDBOX_0_0_0_.sbs |
The main world data file containing all grids, voxels, and entities. |
*.vx2 files |
Voxel data files (planet/asteroid terrain modifications). |
Backing Up Your World
- Stop your server from the Console tab to ensure the save is not being written to.
- Connect to your server via SFTP. See How to Upload Files via SFTP for instructions.
- Navigate to the world save folder.
- Download the entire world folder to your local machine. This includes all
.sbc,.sbs, and.vx2files.
Restoring a Backup
- Stop your server.
- Connect via SFTP.
- Navigate to the world save folder.
- Replace the existing save files with your backup files. Make sure you upload all files from the backup (
.sbc,.sbs, and.vx2files). - Start the server from GPanel. It will load the restored world.
Transferring a World from Single Player
You can upload a single-player world to your dedicated server:
- On your local machine, locate your Space Engineers saves folder (typically
%AppData%/SpaceEngineers/Saves/). - Find the world folder you want to upload.
- Stop your server and connect via SFTP.
- Upload the entire world folder to the server's save directory.
- Update the World Name in GPanel's Startup tab or in
SpaceEngineers-Dedicated.cfgto match the uploaded folder name. - Start the server.
Related Articles
- Space Engineers Mod Installation
- Space Engineers Troubleshooting
- How to Find Your Server IP and Port
- How to Upload Files via SFTP
- Server Startup Guide
Need Help?
If you continue to experience issues with your Space Engineers server, our support team is available to assist.