Empyrion: Galactic Survival Wiki
Advertisement
Want to customizie your solar system? Read on here: Customizing Solar Systems

How to start the dedicated server

Go to: C:\Program Files\Steam\SteamApps\common\Empyrion - Galactic Survival (if Steam is not installed to standard location, see: https://support.steampowered.com/kb_article.php?ref=7418-YUBN-8129)

  • To start a dedicated server with rudimentary GUI: "EmpyrionDedicated.cmd" (without GUI start: "EmpyrionDedicated_NoGraphics.cmd")

How to configure your server

Servers can be configured via changing the value of the prop in "dedicated.yaml" in C:\Program Files\Steam\SteamApps\common\Empyrion - Galactic Survival folder.

Each property can be disabled by putting '#' in front of the line. To enable a property, remove the #
Available Props
Props Value Description
Srv_Port Numeric Default is 30000. If your are using a router and/or a firewall, you need to forward the ports 30000-30004 UDP and TCP. Please search the web on how this can be achieved for your router and firewall, as the setup process is different for each model/version!
Srv_Name alphanumeric name that will be shown in the Server Browser
Srv_Password Alphanumeric password to make server password protected
Srv_MaxPlayers Numeric maximum number of player allowed to join simultaneously in the server.
Srv_Description Alphanumeric Information About the Server
Tel_Enabled True/False enable/disable Telnet
Tel_Port numeric Telnet port
Tel_Pwd Alphanumeric Telnet password
GameName Alphanumeric without space this is the name of the save game created in the save game folder
Mode 2=Creative, 1=Survival Creative/Survival
Seed Can be any 7 digit or below number but negative numbers and 0 (zero) cannot be used seed for procedural generation
DecayTime Numeric Time after unused structure get de-spawns (in game hour)
MaxStructures Numeric Maximum number of structure allowed to build in a playfield
AntiGriefDistance Numeric Block distance of which other player cannot interact with the terrain form other players structure.

An Example

# Dedicated server settings
- { prop: Srv_Port, value: 30000 }
- { prop: Srv_Name, value: My Server }
#- { prop: Srv_Password, value: Abc }
#- { prop: Srv_MaxPlayers, value: 5 }
#- { prop: Srv_Description, value: "Put any server infos here" }

#- { prop: Tel_Enabled, value: true }
#- { prop: Tel_Port, value: 30004 }
#- { prop: Tel_Pwd, value: Abc }

- { prop: GameName, value: New Game }
- { prop: Mode, value: 1 }			
- { prop: Seed, value: 2309115 }
- { prop: DecayTime, value: 24 }			
- { prop: MaxStructures, value: 64 }		
- { prop: AntiGriefDistance, value: 30 }


FAQ / Q&A

Avoid dedicated.yaml to be overwritten

Q: My dedicated.yaml gets overwritten with each version update! What can i do?

A:

  • 1. Copy your dedicated.yaml and rename it to myserver_dedicated.yaml (or "whateveryoulike_dedicated.yaml")
  • 2. Open the EmpyrionDedicated.cmd (or EmpyrionDedicated_NoGraphics.cmd if you are used to start your server without GUI) with a text-tool, like Notepad++ or Windows Editor (DO NOT USE WORD or anything similar!)
  • 3. Find the line that says

start EmpyrionDedicated.exe -force-d3d9 -logFile Logs\Dedicated_%UDT%.log or

start EmpyrionDedicated.exe -batchmode -nographics -logFile Logs\Dedicated_%UDT%.log

  • 4. Add the parameter "-dedicated "myserver_dedicated.yaml" so it looks like this

start EmpyrionDedicated.exe -force-d3d9 -logFile Logs\Dedicated_%UDT%.log -dedicated "myserver_dedicated.yaml" or

start EmpyrionDedicated.exe -batchmode -nographics -logFile Logs\Dedicated_%UDT%.log -dedicated "myserver_dedicated.yaml"

  • 5. Use SAVE AS and rename your EmpyrionDedicated.cmd, like "EmpyrionDedicated-myserver.cmd". This will avoid that the server start batch (.cmd) gets overwritten with the next version update!
  • 6. Start your server with your EmpyrionDedicated-myserver.com. From now on, you will start your server via your own file!

Retrieving lost ships

(Workaround should also work for SP)

Retrieving lost ships can be achieved with a small workaround: Every ship ("entity") is saved in a distinct folder in your (singleplayer or) server world savegame D:\Steam\SteamApps\common\Empyrion - Galactic Survival\Saves\Games\5.1.0.276\Shared (<- same folder for singleplayer games!)

5.1.0.276 is the name of my server world savegame, set in the dedicated.yaml instead of 'New Game': - { prop: GameName, value: New Game }  

In the SHARED folder, you can find entries like SV_New_74922. Each of these entries has - as all windows folders have - a creation date.

If you can identify the folder of the ship that got LOST (f.ex. by asking the user when he created it), you/your player only needs to lay down a new starter block (SV for a SV and so on) and YOU, as the admin, just need to copy the four *.area files from the lost ships folder to the newly layed down starter block ship folder (overwrite!).

Steps to follow:

  1. Player places a new starter block (SV for SV, CV for CV ..)
  2. Save and Exit your server (or your game if SP)
  3. Copy the .area files from the lost-ships folder over to the newly created ship folder and hit yes if asked to overwrite
  4. Start your server (game)

Please do NOT do this while server/game is still running, as this may cause severe issues with the playfield! Of course you need FTP access to the installation folder at your hoster if you are not the host.

More Questions

Q: Is it possible to add more planets to a multiplayer world?

A: YES! You can add as many as you like. See Customizing Solar Systems for more details


Q: My server is not visible in the server browser. What can i do?

A: If you are using a router, please try port forwarding 26900-26904 instead of 30000-30004 and/or try to run the server with antivirus and firewall turned off. You might need to seach the web on how "port forwarding" is set up correctly with your firewall and/or router!

Advertisement