SteamCMD + Windows + Dedicated Server

AaronG85

Active member
UPDATE: USING WRONG LAUNCHER 🙄

I'm currently using the Steam installable version of the 7D2D Dedicated server and everything runs great, but recently I was told that I really should use SteamCMD to install and run the server. Now I followed the advice to download and install the server, but when I double click to run it, the terminal opens for a second and then closes. Is there something in my serverconfig.xml that is wrong?

Also, what is the best way to configure the UserDataFile as I want to run two servers (not at the same time though)

 
Last edited by a moderator:
Don't even need to duplicate the client. Just make separate starup batch files and configs for each server. Set the ports to be gapped by five. (Server 1 on 26900/8080 Server 2 on 26905/8085)

You can even use different mods on the different servers by using the Mods folder inside the user data folder instead of the dedi client.

 
AaronG85 said:
UPDATE: USING WRONG LAUNCHER 🙄

I'm currently using the Steam installable version of the 7D2D Dedicated server and everything runs great, but recently I was told that I really should use SteamCMD to install and run the server.
Just curious, were you given a reason as to why your initial method is inferior in some way to the Steamcmd method? Is there a technical advantage?

 
Just curious, were you given a reason as to why your initial method is inferior in some way to the Steamcmd method? Is there a technical advantage?
Either method installs the exact same files. The advantage to steamcmd is that you can run it from a cmd line if your server doesn't use a gui. Smaller install too but that's not really a big deal. You don't need to input your steam credentials so I guess it's more secure as well.

 
It seems that your server port is not quite right. As specified, it should be between 26900 and 26905. Maybe that's the reason?

Your server visibility is probably not correct either. It is not listed. Try setting it to "1", or test them as an public server.

<property name="ServerVisibility" value="0"/> <!-- Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. As you are never friend of a dedicated server setting this to "1" will only work when the first player connects manually by IP. -->




For two different servers, create two different "serverconfig.xml" files and save them in two folders. Before starting the server, copy the config file you want to play into the Dedicated Server folder.

Regards Orpenda

 
Thank you for pointing that out. It seems the server port may indeed be incorrect. As mentioned, the port should be between 26900 and 26905. Please double-check the settings and adjust the port accordingly. This could resolve the issue you're experiencing. Let me know if you need further assistance.

 
Back
Top