Hello. Because there are some people that need help with creating a dedicated server i'll post a mini tutorial here. The tutorial will include steam installation of the server and steamcmd for pc's that do not have steam and want to setup only the server. STEAM : 1)On your main steam windows click on LIBRARY and choose "Tools" from the drop down menu. 2)A window will appear that contains various tools (devkits/modding) and dedicated servers for a lot of games 3)Scroll down a bit to find "Empyrion galactic survival dedicated server" 4)Download it 4.5) If you want the experimental server and not the live one then in tools right click the downloaded dedicated server and go to properties-->beta and choose the experimental option from the pull down menu. 5)Now you have 2 empyrions your \Steam\steamapps\common\ folder "Empyrion - Galactic Survival" and "Empyrion - Dedicated Server" 6)Go into the dedicated server folder and copy the file dedicated.yaml and paste it and rename it to whatever name you want. For the tutorial i'll use "mysettings1.yaml" . 7)Do the same thing for the file "EmpyrionDedicated.cmd" and for the tutorial i'll name it "server1.cmd" 8)Open server1.cmd with notepad (notepad++ recommended) add to the end of "EmpyrionLauncher -startDediWithGfx" -dedicated mysettings1.yalm It should look like this: EmpyrionLauncher -startDediWithGfx -dedicated mysettings1.yaml 9)Edit the file mysettings1.yaml with notepad++ or notepad. Below i'll copy paste mine and you will just adjust the settings and the seed.
# Dedicated server settings # To use your own dedicated.yaml (e.g., "MyDedicatedConfig.yaml"), add "-dedicated MyDedicatedConfig.yaml" to the corresponding batch file ServerConfig: Srv_Port: 30000 Srv_Name: <Name of your server> # Srv_Password: <password of the server> (With the # infront the server do not have a password) # Srv_MaxPlayers: 8 Srv_ReservePlayfields: 1 # Idle playfield servers held in reserve. For busy public servers, we recommend at least 2 (default = 1) # Server description shown in Server Browser # max 127 chars: "-------------------------------------------------------------------------------------------------------------------------------" # Srv_Description: "Server info, can contain bold text or a link." # All playfield servers will be automatically stopped every <n> real time hours. Players will get some warning messages before # Srv_StopPeriod: 48 Tel_Enabled: true # Activate Telnet server Tel_Port: 30004 Tel_Pwd: <put a password here. it helps to manage the server and 3rd party server manager programs> # EACActive: false # Activate Easy Anti Cheat (clients have to enable EAC via Options -> Misc to connect to a EAC protected server) # SaveDirectory: Saves # Restrict allowed Blueprint size class: restricted types are not allowed to be produced or spawned # 1 = allow only small blueprints, ... , 5 = allow very large blueprints, 6 = no limits (default) MaxAllowedSizeClass: 6 # Restrict Blueprint types allowed for production in factory # None = Blueprint system completely disabled # StockOnly = only stock blueprints can be produced # All = all types allowed (default) AllowedBlueprints: All GameConfig: GameName: server1 # Determines name of the save game Mode: Survival # Survival or Creative Seed: 2309115 # The seed determines how the world is procedurally generated - the same seed means the same world # Note: All times are given in real time hours, 1h real time = approximately 24h in game (Important: Timer counts down as long as the dedicated process is active - deactivated playfields do not stop the timer) DecayTime: 20 # Time after which player-built structures without core or less than 10 blocks get removed when not visited (0 = disabled) WipeTime: 240 # Time after which any player-built structures get removed when not visited (0 = disabled) ProtectTime: 72 # Time during which structures are offline protected MaxStructures: 200 # Max number of structures per playfield (limit = 255, reduce on performance problems) AntiGriefDistance: 30 # Distance (in m) around a faction's base where no other faction's base can be built AntiGriefZone: PvE # Zone where the AntiGriefDistance is valid (All, PvP, PvE) AntiGriefOresDistance: 30 # Distance (in m) around ore deposits where no other faction's base can be built AntiGriefOresZone: PvE # Zone where the AntiGriefOresDistance is valid (All, PvP, PvE) EnableTrading: GlobalVirtual # Enables a global virtual marketplace for player-to-player trading EnableMaxBlockCount: True # Enable or disable the max counting of blocks # --- Difficulty settings --- # Notice: Changing some of the difficulty settings require to start a new game in order to take effect DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of the Escape Pod when you crash land on the planet DiffPlayerProgression: Slower # Faster, Normal, Slower --- Influences the overall player progression speed by earning more or less XP DiffAmountOfOre: Poor # Rich, Normal, Poor --- Influences the average amount of ore that a deposit contains DiffNumberOfDeposits: Few # Plenty, Normal, Few --- Influences the average number of deposits per planet DiffDroneBaseAttack: Hard # Easy, Medium, Hard, Off --- Influences the difficulty of the drone base attacks (infinite waves, number of waves etc.) DiffDronePresence: High # Low, Normal, High, Off --- Influences the overall number of drones that are present on a planet DiffEnemySpawnRate: High # Low, Normal, High --- Influences the spawn rate of enemy NPCs on a planet DiffAttackStrength: Medium # Easy, Medium, Hard --- Influences the overall difficulty when attacking enemies DiffConstrCraftTime: Faster # Faster, Normal, Slower --- Influences the overall craft speed of constructors DiffBpProdTime: Faster # Faster, Normal, Slower --- Influences the overall production speed of the blueprint factory
Do not copy paste the above post just edit the file with your settings because it needs to be in the right format. <Name of your server> = the name on the list of server if you redirect the 30000-30004 ports to the pc that hosts the server <password of the server> = the password to join (not administrator just join) GameName: server1 # Determines name of the save game on the difficulty settings do not remove just the # but also the space after it. For example: this is ok: this is not ok The D in DiffEscapePodContent must be directly below the # of the previous line. (All settings must start at row 5)
STEAMCMD : This is for ppl who know about steamcmd make a batch file and type in it the following For the experimental server(Thanks @Citizen) : <Path to Steamcmd>\SteamCMD.exe +login anonymous +force_install_dir <Server install folder> +app_update 530870 -beta experimental validate +quit For the live server : <Path to Steamcmd>\SteamCMD.exe +login anonymous +force_install_dir <Server install folder> +app_update 530870 validate +quit save the file and run it (you run for updating the server too) Now follow the steps from #6 from the first post to setup the server
In both cases you run the server by executing the server1.cmd I rename the dedicated.yaml and EmpirionDedicated.cmd because the default names of files are overwritten with a server update There is a no-gui version of the server and you must replace in server1.cmd the -startDediWithGfx with -startDedi but I find it easier to just click save and exit with the gui. In the non-gui version u must open task manager and kill the process to stop the server. To connect to the server while empyrion is searching the servers and you do not have open the ports 30000-30004 hit stop refresh and type in the "Direct ip and port" the ip of the server. If the server is on the same pc with your game then in the direct ip and port put the 127.0.0.1 To manage the server (give yourself admin.,xp, stat points spawn the creative window etc etc) i advise to download a community tool unless u wanna mess with telnet I use a tool but i do not know if its allowed to post it so go search steam forums and find whatever tool fits you I hope you find this tutorial useful and feel free to correct any mistake i've made or post your way of doing it. The End
The new 647 experimental build added this: - Support 'EnableMaxBlockCount' in dedicated.yaml (thus you can disable MaxCount on your dedicated server if you prefer - we will have this possibility also in SP very soon) So if u have renamed settings like the tutorial read change-logs because the devs add something that is needed for the server to function properly. I've added the setting line in the tutorial but it is not needed to run the server(It's the last setting line before the difficulty settings).
I noticed the dedicated server files do not seem to be included in the game install anymore. Found this thread and thought I would try this method but Empyrion dedicated server is not showing up in the steam tools for me? Anyone else having this issue? Also the "dedicated server only" beta install is only for 3.4.2. Bit lost on how I am supposed to install an updated version of the dedi now...
Tried uninstalling, reinstalling, with same result no dedicated server files. Tried clearing the steam download cache and uninstalling and reinstalling again with same result. SteamCMD did work though.
So in tools after "E.Y.E dedicated server you have Eternal silence? : I use steamcmd on another LAN computer that 's why its uninstalled steamcmd command order inside steamcmd without the batch file is : login anonymous force_install_dir <Server install folder> app_update 530870 -beta experimental validate quit i type it again here because i had en extra " somehow in my batch file and it didn't install the experimental 640 but the 620 build back then.
Correct. I have had an Empyrion server running off and on since the Pre-Alpha, I do not know why suddenly the server files are not in the install. All was fine with 3.4.2, since then I have had to run SteamCMD to be able to get a copy of the server files.
A bug that's very strange and hard to pin-point tbh. I wont tell you to reinstall steam(only steam not the games) cause it might not fix it as well. Report it to steam as a bug and HOPE for the best. Unless you are ok with steamcmd install.
Do not think that a steam re-install will fix it as the same issue is appearing on two different computers, my personal computer and my dedicated server. SteamCMD is working fine for the server, but I will probably still report it.
I have edited and changed the names of the files in the cmd and Yaml files and then tried starting the server withthe empyrion server icon and got the below screen. I have also tried starting it by double clicking the CMD application in the folder but when I go to the multiplayer function of the game, I do not see my server nor does typing in the 127.0.0.1 IP allow me to connect. I have also tried using the IP of my switch and of the computer the server is supposedly running on. Any help as to what I am doing wrong would be appreciated. @echo off EmpyrionLauncher -startDediWithGfx -dedicated Gor.yaml echo. echo IMPORTANT NOTICE: echo Do not use this batch file (i.e. graphics version) if you connect echo via a Remote Desktop connection to the Dedicated Server. echo This can lead to output log spamming and thus bad performance echo (severe lags, etc.). pause # Dedicated server settings # To use your own dedicated.yaml (e.g., "MyDedicatedConfig.yaml"), add "-dedicated MyDedicatedConfig.yaml" to the corresponding batch file ServerConfig: Srv_Port: 30000 Srv_Name: GorServer # Srv_Password: ********* # Srv_MaxPlayers: 4 Srv_ReservePlayfields: 2 # Idle playfield servers held in reserve. For busy public servers, we recommend at least 2 (default = 1) # Server description shown in Server Browser # max 127 chars: "Testing Testing Testing" # Srv_Description: "Server info, can contain bold text or a link." # All playfield servers will be automatically stopped every <n> real time hours. Players will get some warning messages before # Srv_StopPeriod: 48 Tel_Enabled: true # Activate Telnet server Tel_Port: 30004 Tel_Pwd: ************** # EACActive: false # Activate Easy Anti Cheat (clients have to enable EAC via Options -> Misc to connect to a EAC protected server) # SaveDirectory: Saves # Restrict allowed Blueprint size class: restricted types are not allowed to be produced or spawned # 1 = allow only small blueprints, ... , 5 = allow very large blueprints, 6 = no limits (default) MaxAllowedSizeClass: 6 # Restrict Blueprint types allowed for production in factory # None = Blueprint system completely disabled # StockOnly = only stock blueprints can be produced # All = all types allowed (default) AllowedBlueprints: All GameConfig: GameName: GorServer # Determines name of the save game Mode: Survival # Survival or Creative Seed: 348296 # The seed determines how the world is procedurally generated - the same seed means the same world # Note: All times are given in real time hours, 1h real time = approximately 24h in game (Important: Timer counts down as long as the dedicated process is active - deactivated playfields do not stop the timer) DecayTime: 0 # Time after which player-built structures without core or less than 10 blocks get removed when not visited (0 = disabled) WipeTime: 0 # Time after which any player-built structures get removed when not visited (0 = disabled) ProtectTime: 120 # Time during which structures are offline protected MaxStructures: 200 # Max number of structures per playfield (limit = 255, reduce on performance problems) AntiGriefDistance: 30 # Distance (in m) around a faction's base where no other faction's base can be built AntiGriefZone: PvE # Zone where the AntiGriefDistance is valid (All, PvP, PvE) AntiGriefOresDistance: 30 # Distance (in m) around ore deposits where no other faction's base can be built AntiGriefOresZone: PvE # Zone where the AntiGriefOresDistance is valid (All, PvP, PvE) EnableTrading: GlobalVirtual # Enables a global virtual marketplace for player-to-player trading EnableMaxBlockCount: True # Enable or disable the max counting of blocks # --- Difficulty settings --- # Notice: Changing some of the difficulty settings require to start a new game in order to take effect DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of the Escape Pod when you crash land on the planet DiffPlayerProgression: Faster # Faster, Normal, Slower --- Influences the overall player progression speed by earning more or less XP DiffAmountOfOre: Rich # Rich, Normal, Poor --- Influences the average amount of ore that a deposit contains DiffNumberOfDeposits: Plenty # Plenty, Normal, Few --- Influences the average number of deposits per planet DiffDroneBaseAttack: Medium # Easy, Medium, Hard, Off --- Influences the difficulty of the drone base attacks (infinite waves, number of waves etc.) DiffDronePresence: Normal # Low, Normal, High, Off --- Influences the overall number of drones that are present on a planet DiffEnemySpawnRate: Normal # Low, Normal, High --- Influences the spawn rate of enemy NPCs on a planet DiffAttackStrength: Medium # Easy, Medium, Hard --- Influences the overall difficulty when attacking enemies DiffConstrCraftTime: Faster # Faster, Normal, Slower --- Influences the overall craft speed of constructors DiffBpProdTime: Faster # Faster, Normal, Slower --- Influences the overall production speed of the blueprint factory
Good luck getting any kind of help here. Support simply does not answer questions about dedicated servers. If you are lucky a play will answer you but that is not likely.
Always type the ip of the computer the server is on. for example 192.168.1.5 (127.0.0.1 is the static ip for the "localhost" aka the pc itself and make sure empyrion is not blocked by your firewall on the pc it is on (try disabling the firewall the dedicated server is on and connect via the ip) . You will not see your server on the server list because that requires port forwards from your router to the dedicated server pc and that another story Connect directly with the ip. Do not run the server with the exe file (the one with the icon) but with the cmd. Anyway your server is running normally and have 1 playfield open as far as i can see in the printscreen so probably it's a firewall or something else is blocking the connection. Try via telnet or a server config program (google them its easy ) There is also a tool here in the forums for managing a server. I'm not working For Eleon game studios, I'm not a developer or anything else and noone pays me to do what i did or respond here . I'm just a gamer. I have experience setting up dedicated servers for a lot of games (dated back to unreal tournament 1 or UT99) I just like the game and though it will be nice to make a how-to for empyrion. The post was originally posted in the experimental branch but i added live servers and asked a moderator to move it here. (i can not create a post here.) Support and official responses you will get from here : http://empyriononline.com/threads/troubleshooting.3358/page-24#post-76117 Here you will get answers from me or anyone else from the community who knows and want to help.
The wiki link for dedicated servers: http://empyrion.gamepedia.com/Dedicated_Server_Setup A forum member who created a management tool for dedicated servers and more: http://empyriononline.com/threads/empyrion-management-suite.7983/#post-76661 The tool is from some1 here in the forums... if you do not like it go there: http://www.google.com/