This Key Should Not Be Shared With Anyone

Expires in 8 months

09 August 2022

Views: 15

Here you can see the list of the server instances. There's always one instance named "Local/Console" and optionally several other instances with custom names. The "Local/Console" instance is run on foreground as a standard application and is always there, while the other instances that the user creates are run in the background as Windows services.

2. Global configuration Here you can decide if the game log files will have dates added to them, and if the server should automatically send log files to Keen Software House on a crash.

3. Administration warning This message is shown when the application is not run with administrator rights. Administrator rights are required if you wish to manage or create the server as a Service. Run the application as administrator by clicking "Run as Administrator"

4. Buttons - Add new instance - Creates a new instance of the dedicated server as a Windows service. - Remove instance - Removes an instance of the dedicated server - Continue to server configuration - Starts server instance configuration utility for the selected instances - Exit - Closes the configuration utility

1. Connect to Steam Some of the features of the UI are using Steam to help users to fill correct values. To access your mods and friends lists, you can connect to Steam. You must log into Steam on the machine to use this feature.

2. Features There are four main features in the UI.

- Server Settings - Plugins - Server plugin management - Remote Client - Console - Console output for running server

3. New game / Saved worlds option Lets you choose between starting a new world generated from a scenario or loading a previously saved world The previously saved worlds are loaded either from the "AppData\Roaming\SpaceEngineersDedicated" folder in your home directory (e.g. "C:\Users\John.Doe") or from the "ProgramData\SpaceEngineersDedicated" folder in the system root. To be able to play a world on the dedicated server that you previously created and saved in the game, you will have to copy it from your save game directory "AppData\Roaming\SpaceEngineers" to the respective folder

4. Game settings Scenario – Only available for the "New" option. Other settings work exactly as they are in the game. You can also change the numerical options to any value. (Warning: Values beyond the game interface's allowed range are not tested and are officially unsupported. They can cause serious problems with the game experience and performance.

5. Server settings

General Listen IP- The address of the network interface that will be listened to by the server. This can be set to "" (which is the default value) to listen on all interfaces, which should work fine in most cases Port - Number of the port that the server will listen on Server name - Name that will be shown in the server list World name - Name of the world, which shows up in the server list Steam Group ID - If set to non-zero value, the dedicated server will only be visible for the given Steam group Password - Password for the server, if you need protected private server Remote API - Remote API for controlling server with VRage Remote Client Server Description - Describes your server

Users This tab lets you select between Admins and Banned users. You can also use your friends or the history. Note: Steam ID is the unique numerical ID for a Steam Account in 64-bit format. Your Steam ID in this format can be found in the game log after running the game with Steam logged-in to your Steam account (see above) or using external tools like or

Mods On this tab, you can choose Active Mods. Steam lets you access your Subscribed Mods.

MotD: Message of the Day. On this tab you can fill in the Message of the Day, and Message of the Day URL. This message will be visible to all players connected to the server. Variables can also be used in the MotD. You can insert variables using the context menu. This variable will be replaced when it is displayed to the player.

Maintenance You can setup Auto Restart and Auto Update features on this tab. Only the DS GUI running will support the Auto Update feature.

How to setup auto-restart There are two ways how to start dedicated server and to use auto-restart:

1. Server as Local / Console 1. If you use DS GUI, auto-restart can be enabled. 2. You can make your own script if you don't want to use DS GUI or start server as a simple console application.

1. Auto-restart can be enabled if you are using DS GUI. You must keep GUI open. 2. If you don't want to use DS GUI, you will need to go to properties Windows Service (Control Panel/Administrative Tools/Services). You will find the service of the server in the properties. To restart the service, you will need to set the first failure, second failure and subsequent failures. Task Scheduler allows you to create your own task that checks if the server is running.

6. Configuration and Server controls Save config - Saves the configuration for the current server instance Edit config - Opens the current instance's configuration file in a text editor for manual editing Save & start - Saves the current configuration and starts the server Restart - Restarts the server Stop - Stops the server Back to instances - Returns to the screen with the list of server instances Exit - Closes the configuration utility (but not the dedicated server, if it is running as a service) Setup Actions - this feature can Stop/Restart server with delay and chat message on the server.


Remote Client helps you with the administering of your server without connecting to it. There is a monitoring tab with information about simulation speed and game play state. The Admin tools tab looks similar to the Admin Screen, (alt-F10). You can view global server chat, banned or kicked users, list of all grids and characters, floating objects planets and asteroids, as well as the status of connected players.

Standalone executable There is standalone version of Remote Client in the Dedicated Server directory. You can start it by executing VRageRemoteClient.exe file. Standalone version has more features like Profiles or Notifications.

You can run SpaceEngineersDedicated.exe with the following arguments -console: skips instance selection dialog, dedicated server configuration dialog, and goes directly to console application -noconsole: will run without black console window -path: will load config and store all files in path specified ("D:\Whatever\Something" in example) -ignorelastsession: ignores last automatic save of the world and uses values from config file -maxPlayers : overrides maximum players that can be in session -ip: overrides ip address of dedicated server stored in config file -port: overrides port value stored in config file

taskkill /IM SpaceEngineersDedicated.exe This will stop the dedicated server correctly, saving the world etc. To stop it immediately add argument "/f", which will kill the server without asking to stop and without saving the world.

To change data directory for dedicated server, mklink command may be used. 1) Make sure 'D:\Something\DirForData' exists 2) Make sure 'C:\ProgramData\SpaceEngineersDedicated' does not exists 3) Run command: mklink /J C:\ProgramData\SpaceEngineersDedicated D:\Something\DirForData

More information here (see Junction):

a) Static IP. If you want to run a game to which people can connect from all over the Internet, you will need to have a static public address. Your internet service provider should inform you if you have one. Without the static IP address, you will be able to host a dedicated server on your LAN, but people from outside the LAN won't be able to connect to it.

b. Port forwarding: The game uses UDP protocol as a communication channel. The default listen port is 27016, but this can be changed in the config tool. In order for people to be able to reach your server, you will have to configure your router to forward all incoming UDP traffic on port 27016 (or any other that you have specified) to the computer where your dedicated server is running.

c. Games Firewall settings: To allow UDP traffic to the listen port, make sure you set the firewall on your server computer.

1) First, you must be a member of the group. 2) On the group's pages (e.g., click "Invite Friends" 3) On the new page that will open, you can find your Group ID (long number in red) in the page's URL:


Custom Client You must create a request to create your own client. Remote API is using HMAC (HMACSHA1) to compute hash from specific data. HMAC uses a private key. This key should not ever be shared with anyone.

You need to compute hash (lines): URL, including query parameters Nonce, can be used only one time Date – UtcNow, format R, RFC1123 must be added in header

Example of code in C# (using RestSharp library) :

private readonly string m_remoteUrl = "/vrageremote/0";

public RestRequest CreateRequest(string resourceLink, Method method, params Tuple[] queryParams) string methodUrl = string.Format(m_remoteUrl, resourceLink); RestRequest request = new RestRequest(methodUrl, method); string date = DateTime.UtcNow.ToString("r", CultureInfo.


request.AddHeader(“Date”, date);

m_nonce = random.Next(0, int.MaxValue);

string nonce = m_nonce.ToString();

StringBuilder message = new StringBuilder();


if (queryParams.Length > 0)


for (int i = 0; i < queryParams.Length; i++)

var param = queryParams[i];

request.AddQueryParameter(param.Item1, param.Item2);

message.AppendFormat(“0=1”, param.Item1, param.Item2);

if (i != queryParams.Length - 1)





byte[] messageBuffer = Encoding.UTF8.GetBytes(message.ToString());

byte[] key = Convert.FromBase64String(m_securityKey);

byte[] computedHash;

using (HMACSHA1 hmac = new HMACSHA1(key))

computedHash = hmac.ComputeHash(messageBuffer);

string hash = Convert.ToBase64String(computedHash);

request.AddHeader(“Authorization”, string.Format(“0:1”, nonce, hash));

return request;

With custom client you can get information about available resources on API URL (for example http://localhost:8080/vrageremote/api).

My Website: