7 Days to Die

7 Days to Die

Voir les stats:
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
Dernière modification de -=IF=- QBallDuke; 31 aout 2016 à 13h15
< >
Affichage des commentaires 136 à 150 sur 342
http://7dsm.pionners-home.eu/showthread.php?tid=1

Best 7DTD server manager out there at the moment, Check it out u won't regret it.
Ну норм чо
Wait... So if I want to play this game on a dedicated server, I have to purchase 2 copies of this Alpha phase game (each at the same price as a finished game?), and start 2 steam accounts? That seems like a slightly greedy and silly way to say, "Thanks for helping us create/test this game."
I've tried every guide and google/forum result and I just can't get my router (Dlink-615) to forward the ports for this game. Every other game works fine when I port forward, but for some reason I can't get 25000 (or 25000-25003, etc) to open. I started multiple games, tried the server thing, went to many sites that check the ports with the game running and it just won't work.

I heard somewhere that some routers simply aren't wanting to cooperate with the game just yet. If that's the case then I'm fine with waiting. I just want to make sure I'm not crazy or overlooking anything. Would love to set up a private game with my son, but until then we'll settle on low-density public servers if we have to. Game is still great!
Wyrd a écrit :
Wait... So if I want to play this game on a dedicated server, I have to purchase 2 copies of this Alpha phase game (each at the same price as a finished game?), and start 2 steam accounts? That seems like a slightly greedy and silly way to say, "Thanks for helping us create/test this game."
Completely 100% incorrect. You can run the dedicated files on another computer and play 7dtd through steam.
If you cant connect to the server console even after setting up forwarding, try typing 127.0.0.1:portnumber in bar instead. My external IP didnt work so I did this and it did, I was hosting from the same computer obviously.
CotaBucky a écrit :
Completely 100% incorrect. You can run the dedicated files on another computer and play 7dtd through steam.
Thought I could only log into steam from one computer at a time.
Wyrd a écrit :
CotaBucky a écrit :
Completely 100% incorrect. You can run the dedicated files on another computer and play 7dtd through steam.
Thought I could only log into steam from one computer at a time.
The server file is seperate. You can start that on another computer as far as I know. I do know for a fact I can start my server files without steam running so i have no doubt people are doing it.
I have asked the same questions.
Did everything as described. Can't connect by myself to my own server, it says that either my account is not activated or there's a problem with server, though I can easily browse the web admin panel.
And my friend when he wants to join me, he always get stuck on "RequestToEnterGame".

No router, all ports open, no NAT, no firewall... What can this be? Will the issue be fixed? I even tried hosting private game, my friend is getting stuck on loading window, though he can play on other servers.
It feel like this company is ♥♥♥♥♥♥♥ us so we have to buy a server...
With sadness, I support what sensationct says........ It really feels like somehow servers work only "when you rent them".
deb0rian a écrit :
With sadness, I support what sensationct says........ It really feels like somehow servers work only "when you rent them".
Thats just NOT true. I do not rent one but as ive said many times its a pain to setup and the game is in early alpha state so as far as connecting goes its regular hosting(if it works) ,Renting ,or using the software and following directions to a T . Its your port forwarding or settings thats the problem and they have given us the dedicated server software from the start. Sorry but those are the facts .
So why, when i have literally no issues with starting the server and after checking port forwarding and checking all my ports are opened, i still can't connect to game by myself nor can other people? I always was a game hoster due to my powerful internet and liberal OS configuration, and this game just doesn't want to run it properly.
11ff11 hoskins1994 a écrit :
http://7dsm.pionners-home.eu/showthread.php?tid=1

Best 7DTD server manager out there at the moment, Check it out u won't regret it.

Still not actually certain if the server is showing up for others yet, but, thanks for the heads up on this tool. I've set up and used it to launch and the author has done a good job implementing useful commands to UI binding. It also has some interesting and useful features in general. Hopefully it will continue to be developed as the game grows.

Edited: Also to those confused about running it and steam, you can just copy the folder somewhere and use that as dedicated. You won't be using steam to launch it you'll be using the batch file you created or the tool listed above.
Dernière modification de Grunt; 7 mars 2014 à 10h09
deb0rian a écrit :
So why, when i have literally no issues with starting the server and after checking port forwarding and checking all my ports are opened, i still can't connect to game by myself nor can other people? I always was a game hoster due to my powerful internet and liberal OS configuration, and this game just doesn't want to run it properly.

Don't know what to tell you .It works for me .

You also don't have to copy the folder anywere.Not for me anyways. I will be when running it on my other computer but after dealing with the ports and properly setting up the serverconfig.xml file I have been good to go since alpha 5
Dernière modification de CotaBucky; 7 mars 2014 à 10h17
< >
Affichage des commentaires 136 à 150 sur 342
Par page : 1530 50

Posté le 16 déc. 2013 à 11h33
Messages : 342