7 Days to Die

7 Days to Die

Not enough ratings
Simple Dedicated Server Install and Setup
By Vedui
How do you setup a dedicated server! Look no further!
   
Award
Favorite
Favorited
Unfavorite
Dedicated server setup!
How do you setup a dedicated server! Look no further!

Here's a simple guide for how to get it installed, and configured ready to play!

Video link if the YT preview below fails to load --> Guide - Simple Dedicated Server Install and Setup <--


⚫ Open steam!
⚫ Access the tools to display the 7DTD dedicated server.
⚫ Hit install!
⚫ Wait.. wait...
⚫ Done!

⚫ Change folder location? Why on earth?
⚫ Access serveradmin.xml and configure!
⚫ Run the game through startdedicated.bat
⚫ Telnet to connect!
⚫ Verify and shutdown!

⚫ Tips on how to error check and verify the downloaded files!

Ports to forward on firewall for external access: TCP: 26900, UDP: 26900-26902. Check your router manual for instructions.

⚫ Enabling telnet in Windows 10 🡺 https://www.technipages.com/windows-10-enable-telnet

⚫ 7D2D RAT Tutorial 🡺 https://youtu.be/Xbs9QamwGTQ

If you enjoy this guide, consider giving it a thumbs up for visibility, and hit https://steamhost.cn/steamcommunity_com/id/Vedui/myworkshopfiles/?appid=251570&section=guides and follow me to be notified of other guides I post!

Of course, make sure you subscribe to my YouTube channel to see new content sooner as well! :)
12 Comments
Vedui  [author] 10 Mar, 2022 @ 5:22am 
Yes :) Internal IP would only work for someone on your LAN (local area network). In order for friends outside to connect, you need to portfoward (through your router), and then pass your friends your WAN (external IP) and the port. :)

I made a new video with some updated information, that might help towards the end relating to port forwarding: https://www.youtube.com/watch?v=iliMhJopk2o
ANANASHE 9 Mar, 2022 @ 11:38am 
I always give them my internal IP adress to connect (192.16x.x.xx) Should they connect with my external IP adress(190.247.216.160)?
The sv info tab shows my internal IP as the server ip (in the game client) but maybe they have to connect via external.
Also, my router has a "port triggering" option panel, maybe it has something to do with that?
I dont know what to do or how to troubleshoot it, really a pain in the a**.
Vedui  [author] 8 Mar, 2022 @ 8:45pm 
Hello Ananshe. Ask them to try to connect over your IP and port as opposed to in the server browser. If that fails, normally it's due to port forwarding not working, although in rare cases it can be windows firewall OR the ISP blocking incoming traffic as well. If you can connect locally, that means the server is running and your issues unfortunately are network related, not server related. Can be a pain to troubleshoot tho!
ANANASHE 8 Mar, 2022 @ 8:42pm 
Im trying to set up a dedicated server for me and my friends but i cant make it work. They can't connect to it. It appears in the global dedicated servers but when they want to connect it tells them "connection timed out" or "couldn't retrieve server info". Any ideas why is this happening?
Vedui  [author] 2 Apr, 2020 @ 7:25pm 
Hello Sirus! Here's a video I made in A17 and it's essentially the same way for migrating a current world. The trick is to ensure you get the server to pick up the save file (easy if it's the same computer), but trickier with seed for the world. https://www.youtube.com/watch?v=HnjOMr0z510&list=PL5Z54hiemOAvaGeK8_3lOCst40s5vFYak
Gay Lumberjack 2 Apr, 2020 @ 10:18am 
Hello, looking to set up a server for me ans my friend but how do I load our old world into a new dedicated server? we really do not want to loose progress
Vedui  [author] 21 Aug, 2019 @ 4:38am 
Ah! @r4z0r84 that explains it. Yes I have shadows turned down to near, as it's a huge draw. You can notice that too if you have shadows on and a lot of grass with multiple light sources, it can tank your fps 30 points if unlucky... I had a guy on our a16 server who had major issue with that and ended up taking out all the grass to get better fps, but turning off shadows to me works the same :) esp for blood moon hordes it might be very useful.
r4z0r84 19 Aug, 2019 @ 6:07pm 
Found the cause of the lag, it's not server side at all thank god, it's from the "shadow distance" in the new engine, turn them all the way down to off and you have no lag what so ever. I'm running a 6700k and gtx1080 8gb ram and a 950pro m.2 but yeah shadows kills my frame rate when we have multiple burning barrels around our base and with shadows completely off it looks like it used to on the old engine but runs flawlessly.
Vedui  [author] 17 Aug, 2019 @ 2:03am 
A lot of people seem to run dedicated on their PC, and play on it on the same PC. I do that personally if I run with multiple people, as it keeps the save and executable separate from the client in case of updates, crashes, and it's generally a bit smoother.

As to lag, sadly the game is so terribly unoptimized, that there's very little one can do. I suspect all the AI code/pathing is causing a lot of issues, as well as game updates in general (such as when dropping buildings) that just spiral out of control and drop FPS. Electricity etc also, again probably as it's not efficiently coded and traps often just suck fps if you have too much going on. Hopefully a18 will improve it, esp with occlusion culling of the graphics being implemented!
r4z0r84 16 Aug, 2019 @ 8:32pm 
oh for sure, i didn't think of people running a dedicated server on their own computer, I was more talking about a physical server that can't actually play the game itself but can be used as a dedicated server. good to know that if i do launch the game it will reset some settings. I've more got issues with the netcode and zombie ai causing low frame rates on the 7th night. I've got 50Mbit up and 250Mbit down so i know its not my internet as i can host many other games with 100+ users. cpu usage doesn't go over 60% and ram usage only goes up when it initially loads.

Do you have any tips to make the server lag less? I'd love to get the source code for the game itself and fix up their ai and netcode but I doubt i'd ever get access to that as the game isn't open source.