7 Days to Die

7 Days to Die

データを表示:
How to set up a dedicated Server guide
  • create a .bat file lets call it startserver.bat

    (in your game folder where the 7DaysToDie.exe is located) . if you got the game over steam its "C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die"

    startserver.bat
    @echo off cls echo starting sevendaystodie Dedicated Server start 7DaysToDie.exe -batchmode -nographics -configfile=serverconfig.xml -dedicated Pause
    the parameter -dedicated needs to be the last of all parameters


  • edit the serverconfig.xml

    serverconfig.xml

    <?xml version="1.0"?> <ServerSettings> <property name="ServerIP" value="yourexternalip_not_127.0.0.1"/> <property name="ServerPort" value="25000"/> <property name="ServerIsPublic" value="true"/> <property name="ServerName" value="InternationalFreaks"/> <property name="ServerPassword" value="*****"/> <property name="ServerMaxPlayerCount" value="64"/> <property name="GameWorld" value="Navezgane"/> <property name="GameName" value="t3"/> <property name="GameDifficulty" value="2"/> <property name="GameMode" value="GameModeSurvival"/> <property name="EnemySpawning" value="true"/> <property name="ShowAllPlayersOnMap" value="false"/> <property name="FriendlyFire" value="true"/> <property name="BuildCreate" value="false"/> <property name="DayNightLength" value="20"/> <property name="DayCount" value="0"/> <property name="FragLimit" value="0"/> <property name="MatchLength" value="0"/> <property name="RebuildMap" value="false"/> <property name="ControlPanelEnabled" value="true"/> <property name="ControlPanelPort" value="8080"/> <property name="ControlPanelPassword" value="******"/> <property name="TelnetEnabled" value="false"/> <property name="TelnetPort" value="25003"/> <property name="DisableNAT" value="false"/> </ServerSettings>


    ServerIP use your external you can find hit on a webside like this http://www.whatismyip.com/




  • Port forwarding
    TCP/UDP 26900
    UDP 26901-26902
    TCP 8080-8082

    and 8080 for the web panel

    for normal routers INBOUND and OUTBOUND are the same.



  • Start the server

    1.make sure by opening the task manager that no other instance of the server is still running.
    2.double check you saved the changes to the configs.
    3.start the startserver.bat file

If its not working (you cant connect or whatever...)
  • 1.after you started the startserver.bat you need to get the press any key to continue button or somthing went wrong.
  • 2.remember the External IP is not the same as your internal ip http://www.whatismyip.com/
  • 3.make sure no instance of the server is running in the task manager before you start a new
  • 4.try to open yourweb panel in your browser http://ServerIPAdress:8080/ (change ServerIPAdress to your server ip adress) if this is not working somthing with your port forwarding went wrong
  • 5 try to change this value
    <property name="DisableNAT" value="false"/>
    to true
  • 6 the server needs some time to start up wait at least 1 minute before you try to connect

  • 7 make sure you use a proper text editor like notepad ++ so you dont srew up the formatation of the .xml file.

  • 8 How can my friends join my game? give them your external ip adress if you are hosting the game on your pc (internal_IP --> router --> external_IP) find it here http://www.whatismyip.com/ or you join the server, and if its running on your PC you can connect by 127.0.0.1 to it. after that they follow you over the join game button in steam friend list.

  • 9 if your ip starts with 192.168 you can be sure its a internal and no external

  • 10 if you cant run the game after you started the server copy the folder "C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die" to a differed location and start the server from that location and the game normal.

  • 11 How do i join my own server? Just try to connect to 127.0.0.1 or localhost


  • 12 Do i need a second copy. The awnser is no . Just copy(doublicate not cut)the folder "C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die" to your desktop or where ever you like and run you server from that location that should do the trick.

  • 13 0.000 EXC: FormatException: An invalid IP address was specified
    You dident change the ip adress in the config file to your ip adress. do so.


  • 14 Only blank spash screen when trying to join via local or external ip. Try to connect via server browser.

  • 15 cant connect to your own game. Try to connect via "localhost" or "127.0.0.1" instead of the server browser.

  • 16 How can i wipe the world/restart the level . Just change the game name in the config file
    <property name="GameName" value="whatevernameyouwant"/> <!-- Whatever you want the game name to be -->
    to a differend name you want :D


So i have to say thanks to all the people posting stuff i keep this up to date so noone has to search to long for a answer
最近の変更は-=IF=- QBallDukeが行いました; 2016年8月31日 13時15分
< >
226-240 / 342 のコメントを表示
i^ve got the same Problem
on8.8 or 8.9 the server runs easy an pretty fast, but since the last update to 9.0 the server doesnt start either i can join on it.
i think they made something wrong, because the game crashes alltime when a friend try to join on my game (MP from the normal game)
It's a nice update, but @ the moment still not playable for me or my friends
I've done everything so far, and i can connect to my server just fine! However, when my friends try to join (Using my external ip/internal ip) it just says fails to connect for them, or game is unavailable. What am i doing wrong that prevents everyone from connecting to my server (except me)?
So after I updated my server with the latest windows updates(only 8, all security updates) still I had the issue. It was only after I saw an issue with the serverconfig.xml file that I found out that the install didn't have the right files. Everyone that is having the same issue as I, please uninstall your game through steam, then navigate to the steam common folder and delete the 7 Days to Die folder(as one will still be there after you uninstall the game through steam). Then re install. This is the line that you need to make sure is EXACTLY like this:
<property name="GameWorld" value="Random Gen"/> <!-- Navezgane, MP Wasteland Horde, MP Wasteland Skirmish, MP Wasteland War, Random Gen -->
in the serverconfig.xml. Mine looked like this before and was wrong:
<property name="GameMode" value="GameModeSurvivalMP"/> <!-- GameModeSurvivalMP, GameModeSurvivalSP (MP has land protection) -->
SoullessDreamer の投稿を引用:
So after I updated my server with the latest windows updates(only 8, all security updates) still I had the issue. It was only after I saw an issue with the serverconfig.xml file that I found out that the install didn't have the right files. Everyone that is having the same issue as I, please uninstall your game through steam, then navigate to the steam common folder and delete the 7 Days to Die folder(as one will still be there after you uninstall the game through steam). Then re install. This is the line that you need to make sure is EXACTLY like this:
<property name="GameWorld" value="Random Gen"/> <!-- Navezgane, MP Wasteland Horde, MP Wasteland Skirmish, MP Wasteland War, Random Gen -->
in the serverconfig.xml. Mine looked like this before and was wrong:
<property name="GameMode" value="GameModeSurvivalMP"/> <!-- GameModeSurvivalMP, GameModeSurvivalSP (MP has land protection) -->

Thats awesome mate... sorry I didnt pick up on that in the config.

Highfly Kelevra の投稿を引用:
i^ve got the same Problem
on8.8 or 8.9 the server runs easy an pretty fast, but since the last update to 9.0 the server doesnt start either i can join on it.
i think they made something wrong, because the game crashes alltime when a friend try to join on my game (MP from the normal game)
It's a nice update, but @ the moment still not playable for me or my friends


Sir Moo Moo の投稿を引用:
I've done everything so far, and i can connect to my server just fine! However, when my friends try to join (Using my external ip/internal ip) it just says fails to connect for them, or game is unavailable. What am i doing wrong that prevents everyone from connecting to my server (except me)?

Try SoullessDreamer's fix. Fist check your config to see if you have the right version.
It's cool man. I am just glad it's working.....although now I am stuck with blood in my stool and no antibiotics........note to everyone do not drink murky water and if you have to make sure you have some of that golden tea >.>
SoullessDreamer の投稿を引用:
It's cool man. I am just glad it's working.....although now I am stuck with blood in my stool and no antibiotics........note to everyone do not drink murky water and if you have to make sure you have some of that golden tea >.>

The goldenrod is the treatment for what ale's you. Nothing that some crusty bread , potassium and a breaker cant fix.. umm... If symptoms persist see a doctor,

Glad to be of help.
最近の変更はSuPerTeDが行いました; 2014年8月19日 14時59分
Dana 2014年8月19日 8時38分 
nice
Ya I would have made the antibiotic SuPerTed, if I had the recipe for it. Having a hard time finding it. Luckily I have a lot of healing items.
Could someone give me a updated "how to" guide? This one seems to be way outdated....
Hey buddy... Thanks for the Vid, I think it will help a lot of ppl. I have been running a server for a while now but have not been using the dedicate server. Thanks for that I have changed over to the dedicated.

My issue is with the server manager. I have had issues with it before on 8.8, were when it was connected (the server manager), I can not connect to the game. It sees me connecting gives me an ID then I get disconnected. My info was still in the server manager and I was using the same PC to run the game and the server, which had no issues. I was also connecting the server manager to the server using the web option.

So now I have the server set up as in your video using the dedicated server and putty with telnet true and web fulse. passwords and ports set as usual.

So started my old game save on the new dedicated server login in OK. Logged out shut down the server through TM. Started the server with FRT and connected it to the server. All good then tried to connect myself and again no not even a blip on the server manager. I went back and watched your video again and saw that I didn't login to putty. So I did that. Now I restarted the server using the .BAT file, I try to connect to the the server with the server manager and it will not connect. Do I have to start the server with the server manager?

Have checked and rechecked. I have run a few different types of game servers over the past year. Any insight would be appreciated.

PS I think I will try a fresh install of FRT
最近の変更はSuPerTeDが行いました; 2014年8月21日 4時04分
my friend cant join my server i have portforward the game and it work fine in the early alpha but they changed something so now he cant join me
Doesn't sound complicated at all, lol. I usually just give up when I hear that dreaded word.. Hamachi.

Seriously tho. Why can't games be simpler to play with friends. Why do they all require network knowledge and all this stuff? A game shouldn't require any more complexity to jump into with a friend as it is to jump into and just play. Would it be really hard to implement that? Have a friend start a game and join them through Steam and just have it work?
最近の変更はmaestroが行いました; 2014年9月28日 9時52分
My friend and I were setting up a dedi on a remote VDS using SteamCMD. We used his Steam account for the setup. When we tried to connect to the server it was not showing in the game browser. I had set other server's with this method and could not understand what the issue was.
After some head scratching I noticed that the Steam account we were using was set to private.
As soon as he change his account from private to public the game appeared in the browser.

So if all IP, port forwarding, config settings are correct and server still doesn't show check the Steam account status.

Just a FYI
<blank> 2014年10月13日 21時42分 
I can use 7DaysToDieServerManager to shut down the server,edit parameters ,then,how to start it?Will this way reset the game day?I am not good at English,so,sorry! In the other word,how can i save day/tiem when i shut down my server?
最近の変更は<blank>が行いました; 2014年10月13日 21時45分
< >
226-240 / 342 のコメントを表示
ページ毎: 1530 50

投稿日: 2013年12月16日 11時33分
投稿数: 342