Difference between revisions of "Dedicated Servers"

From Space Engineers Wiki
Jump to: navigation, search
(Installation)
(User Interface)
Line 54: Line 54:
  
 
== User Interface ==
 
== User Interface ==
 +
[[File:dedicatedserver-interface.png]]
 +
 +
'''1. Server List'''<br>
 +
* 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.<br>
 +
* 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.<br>
 +
 +
 +
'''2. Global Configuration'''<br>
 +
* Here you can set, whether the game log files should have dates appended to them and whether the server should automatically send the log files to Keen Software House upon crash.<br>
 +
 +
 +
'''3. Service Management'''<br>
 +
* This message is shown when the application is not run with administrator right.<br>
 +
* If you want to create or manage the server as a service you need administrator rights. The button “Run as Admin” will restart the application with administrator rights.<br>
 +
 +
'''4. Buttons'''<br>
 +
;"Add new instance"'''
 +
:Creates a new instance of the dedicated server as a Windows service.
 +
;"Remove instance"
 +
:Continue to server configuration - Starts server instance configuration utility for the selected instances.
 +
;"Continue to server configuration"
 +
:Starts server instance configuration utility for the selected instances.
 +
;"Exit"
 +
:Closes the configuration utility
  
 
== Server Configuration ==
 
== Server Configuration ==

Revision as of 19:41, 1 June 2014





Dedicated servers in Space Engineers allow players to connect to a third party host, rather than using a player-host, in a peer-to-peer set-up. They are game instances intended for long time multiplayer games. They don’t depend on any player and they run without render and visual/audio effects. This will result to a faster connection and a more fluent multiplayer performance with less lag.

Dedicated servers are available for everyone who own Space Engineers. You don’t need an extra Steam account, you get Space engineers dedicated server for free to your existing Space Engineers account.

Notes:

  • Dedicated servers are currently allowed only for non-commercial use, so companies that host game servers or everyone who wants to host his server at such company will not be able to do so (this will be available very soon).
  • In order to run a dedicated server, players don't require a licensed copy of the game. However to legally obtain the game server files, at least one Steam account needs to have a valid license.

Dedicated Servers sub-forum

Dedicated Server Guide

Requirements

  1. Windows PC (if you want to run the server as a "service" you need to use administration account)
  2. .NET redistributable (version 4 or higher)
  3. Static IP address, if you intend to host the game publicly, so that anyone from the Internet can connect to it

Installation

On PC With Steam:

   The Dedicated server is installed along with SE
   Right-click on the game in your Steam library
   Select “Properties” and under the tab “Local Files”
   Click “Browse Local Files…”)
   Open folder "DedicatedServer(64)"
   In this folder you with find the server's executable


On PC Without Steam:

   Go to "C:\Program Files(x86)\Steam\SteamApps\SpaceEngineers\Tools"
   Extract the archive on the target machine
   Make sure Microsoft .NET Framework 4 is installed
   You should be ready to run the server

Quick Server Setup

Basic setup as a foreground process:

  Run SpaceEngineersDedicated.exe
  Choose “Local/Console” item in list of servers
  Click “Continue to server configuration”
  Here you can set variety of options. They work the same way as in the game.
  Fill in the name of the server
  Press “Save config and start” and you are ready to play

Setup as a service:

  Run SpaceEngineersDedicated.exe as Administrator
  Press the “Add new instance” button
  Fill in the name of the service (must be unique system-wide)
  Choose the service you just created from the list of server instances
  Setup your game the same way as with a foreground process
  Pay attention to ports in “Server settings”, as a single port can only be used by one server instance

User Interface

Dedicatedserver-interface.png

1. Server List

  • 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 set, whether the game log files should have dates appended to them and whether the server should automatically send the log files to Keen Software House upon crash.


3. Service Management

  • This message is shown when the application is not run with administrator right.
  • If you want to create or manage the server as a service you need administrator rights. The button “Run as Admin” will restart the application with administrator rights.

4. Buttons

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

Server Configuration

Group ID

Servers can be restricted to Steam groups to better control access.

Servers that are unrestricted should show a groupID of 0 in the groupid field in the server configuration window

The group ID in the server configuration window references the GroupID64 not the Group ID on the profile page of your group. To properly fill out the group ID field you must obtain your group ID64. [1]

  • Navigate to your steam community page, in steam or in a browser.
    • If you navigated to it in steam, right click the page then select Copy Page URL and paste it into a browser.
  • Append /memberslistxml/?xml=1 to your URL, If your group name is Example your url will look like this: http://steamcommunity.com/groups/example/memberslistxml/?xml=1 [1]
  • On the page that opens up copy your GroupID64 from between the GroupID64 tags.
  • Paste that number into the group ID field.

Command Line Tool

the following arguments can be used with SpaceEngineersDedicated.exe:

  1. “-console” - starts a server instance as an application

Router and Firewall Settings

All info taken from the Official Page


References

  1. 1.0 1.1 http://forums.keenswh.com/post/6923894