7 Days to Die

7 Days to Die

Statistiche:
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
Ultima modifica da -=IF=- QBallDuke; 31 ago 2016, ore 13:15
< >
Visualizzazione di 106-120 commenti su 342
no just give them you server ip, they dont need to port forward, they need your ip adress and that 25000 when they direct connect and then they should be able to join.
Messaggio originale di Daz:
heres a question that I dont think deserves its own thread.

Ive been running the dedicated server on my machine just for when friends want to play with me, otherwise I just play by myself on it locally (saves renting one)

it works fine.

The issue, and it may be a bug, or just intended:

I run the server when I am playing, not 24/7.

Whenever I rejoin my server, I am back to day 1, in count only. My base, my inventory, my mine etc is all exactly how it was left when I quit.

when I stop the server, I just kill the process. I tried to find a stopdedicated batch file like the startdedicated one but cant find.

solution? Is it the way Im stopping the server (wouldnt think so seeing as nothing else is effected).

Type shutdown in control panel....DL putty and set it to connect to the servers IP (You can do this on the server if you want) Putty is primitive or you can type you server IP in your browser address bar and access the SHUTDOWN option via web control panel. I like putty....but watever ...the shutdown command must be used in certain cases to stop time resets. Funny thing is time resets r useful if you are looking for new players to join a looted map.

Also you can BAN players in console once logged into a control panel (Putty) of some sort. Players with names using foreign characters are difficult to ban only since player ID's cause a major server console error/crash.

BOTTOMLINE - you must use shutdown command if times not stable.

Also Port topic is on 7days support forums.....STEAMs dedicated beta servers now function...before the server list would not see dedi servers.

AUGER & 100 gallons of gas glitch sux AND player #1 as far as console logged list = the main world spawn for noobs sux too....if you have a secret base, don't be in it if ur player #1!!! (only the admin knows the list....you will always be #1 if you look at yourself in TAB....servers know who is logged as 1st...there's a difference
super thanks to [FY] e-Zee!!! this is what you add to your steamcmd line to change to alpha 6!!!

-beta alpha_6
Messaggio originale di VapidBunnyFace:
super thanks to [FY] e-Zee!!! this is what you add to your steamcmd line to change to alpha 6!!!

-beta alpha_6

I had some issues with the syntax on SteamCMD to get it to download the Alpha 6
This fixed it for me :
steamcmd +login yoursteamusername yoursteampassword +force_install_dir ./7dtd "+app_update 251570 -beta alpha_6" validate +quit
Messaggio originale di gusza:
I had some issues with the syntax on SteamCMD to get it to download the Alpha 6
This fixed it for me :
steamcmd +login yoursteamusername yoursteampassword +force_install_dir ./7dtd "+app_update 251570 -beta alpha_6" validate +quit

good info! thanks gusza!
My heads hurting! Up to now my DS has been working fine no issues got it working from the start of alpha 5 and played through to 6.1.

However for some reason I just can't seem to work out it's stopped working, I can access it locally but my friends are unable to. I've re-done the port forwarding several times but still none the closer to fixing this problem...

Any suggestions?
Messaggio originale di LordGee:
My heads hurting! Up to now my DS has been working fine no issues got it working from the start of alpha 5 and played through to 6.1.

However for some reason I just can't seem to work out it's stopped working, I can access it locally but my friends are unable to. I've re-done the port forwarding several times but still none the closer to fixing this problem...

Any suggestions?
Are you saying YOU DID have it working with 6.1?
Messaggio originale di CotaBucky:

Are you saying YOU DID have it working with 6.1?

Yes it was working with 6.1, last worked about 2 days ago.

One thing I have done recently was I took the IPv4 settings off automatic and gave the pc a specific local IP address manually just to make it easier for the kids to create a local terraria game.

I have put this to automatic again to see if this is my problem but it's still not working
Ultima modifica da LordGee; 28 gen 2014, ore 4:57
I'm guessing it is something you did with your connection because I just started my dedicated and it works fine. I can find my game in search.
Connection is as awesome as ever

http://www.speedtest.net/result/3265193148.png

I'll keep trying, I know it's going to be something so obvious thats probably staring me in the face lol
Ultima modifica da LordGee; 28 gen 2014, ore 7:52
What I mean is the normal PORT forwarding issue.Something changed in your connection or settings that altered that imo. It took me the longest time to realize how to port forward.You had your dedicated working,then you changed some settings so imo that is your problem.Figuring out what happened there.You can fire up the dedicated server but its not getting past your connection.You can join it but you can't find it in the search.That is exactly what happened to me until I figured out how to open the ports in my router
Ultima modifica da CotaBucky; 28 gen 2014, ore 9:10
IP auto from manual changed the IP....double check the server IP. Whenever rcon/telnet is failing its a port issue. More then likely your server IP was re-assigned to a new local address. If this is not the case then there is a conflict in the IP's and you should shut every client done...then restart the server unit first. Start rest of network clients/pcs and hopefully this re-assigns the proper IPs. If its more complex then that you might try verifying game cache. (unless your using a COPY/PASTE folder of 7dtd in dedicated. My DS uses auto assign and is a copy/paste folder on the servers desktop. Removing and re-installing STEAM should always be a last resort. Theres a few others things to try....for now good luck ;) (ALSO - use the local IP when rcon/telnet ie: 192.168.0.6 -- if that fails u got IP conflicts like I said above)
i followed all the steps , but still dont work........
any one can help me?
Probably a NAT issue....what router do you have? -- If its an off brand I used to get NAT issues, ALSO if u r on CABLE they owe you an Updated Modem/Router. If it has been 3+ years since either a replacement/upgraded Modem has been sent or you never did a firmware update...these options might help. I think step 1 is get all ur Cable Modem/Router equipment checked for updates. I used a Belkin router once....absolute pain in a$$ to get ports stable/forwarded. If your following all the instructions here and its failing to work, my only hope would be equipment update & then set ur LAN to Auto-assign IP's and hope the new stuff is DS friendly. Not all equipment and/or ISP's allow SERVING. I lived in an area where the local switch/hub was not allowing incoming clients due to a basic Company policy of blocking this kind of traffic...this was a rural area and the ISP sucked.

Servers DON'T show up instantly so use the Direct IP to connect as the list is not refreshed the second ur server goes up.

DESPERATION??? -- throw ur server on DMZ and/or disable all Firewalls....disable Internet Security briefly for testing perhaps. Don't forget basic PING to server and shutting WiFi and using direct LAN cable. PORTFORWARD.COM has lots of other tips and also search FUN PIMPS support site often as they post tips and help regularly. Good Luck hope you get the Server Running!
Ultima modifica da ▪TacticsOgre▪; 29 gen 2014, ore 4:12
can someone upload a server tutorial for us :'(
i have tried to make for three days but still can't
< >
Visualizzazione di 106-120 commenti su 342
Per pagina: 1530 50

Data di pubblicazione: 16 dic 2013, ore 11:33
Messaggi: 342