DayZ
Not enough ratings
DayZ (SteamCMD) [English/Englisch] [Windows]
By Zeromix
This guide will show you how to set up a server with the SteamCMD.

The following ports must be open:
2302 TCP&UDP 27015-27030 TCP 27036-27037 TCP 4380 UDP 27000-27031 UDP 27036 UDP

Looking for the german version?
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2229071639
   
Award
Favorite
Favorited
Unfavorite
SteamCMD Download
First of all you need the SteamCMD. You can download it here:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
SteamCMD Login
Now you need to execute this file. After that we type the following into the console:
force_install_dir ./dayz_ds/
This will create a folder with the name "dayzserver" and it will put in the files in this folder.

After that you need to login into your steam account:
login USERNAME

Now you will be asked for your Steam Account password and your Steam Guard Code.
You will be logged off of your Steam Client!
An anonymous login isn´t possible for creating an DayZ Server.

IMPORTANT: The password won´t be shown in any way, so you basically have to type blind!
After you´re done, u´ve to press, as always enter!
Server Files Download
Now you can start the download with:
app_update 223350 validate

If the download was sucessful, you have to type
exit
in the console to close the SteamCMD.

Now you can restart your Steam Client, you should be logged in just normaly.
Server Configuration
You can find your "serverDZ.cfg" in your Root DayZ Server folder.

If you want to know, what does which command and what can be added, take a look here:
https://community.bistudio.com/wiki/DayZ:Server_Configuration

If you´re using a whitelist, you should also edit the file "whitelist.txt" of course.
Run the Server
The best option is to create a .bat file in your "DayZserver" server folder (e.g. RUN.bat)
Edit the .bat file with following code:
start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 --dologs -adminlog -netlog -freezecheck

I would also recommand to add this in:
-profiles=.\DayZServerprofiles
This command will make sure, that the player profiles will also be saved in the server folder.
Frequently Asked Questions
I can not see my server / No one can connect to my server
Please make sure, that you have opened all the required ports in your router. If the everything is set correctly, but the problem still occurs, please contact your internet provider.
Or look for your router model here:
https://portforward.com/router.htm

Is there another way instead of opening the ports?
Yes, you can also host your server through a VPN network like "Hamachi". Of course only the people in the VPN network will be able to join the server then.
If forwarding your ports doesn´t work, please contact your ISP, i won´t be able to help you.

How can i change my server port?
Just edit the bat file with "-port=27015"

The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.

How do I update my server?
Just open the SteamCMD and login again, then retry the Step "Downloading the files" it will be checked which files need to be updated.
Server Creation Tool
To automate these steps to setup/upgrade a server, i created a tool, the group can be founde here:
http://gtm.steamproxy.vip/groups/ServerTool

The tool itself is hosted on Github, which can be found here:
https://github.com/Zeromix9/ServerTool

I hope, that will help you in the future!

If you like, you are also welcome to leave a small donation.
https://paypal.me/Zeromix
26 Comments
nmba1drummaboi414 26 Jan, 2024 @ 11:16pm 
battleeye.exe.disable
MrsDickinsson 20 Dec, 2023 @ 1:04pm 
I narrowed it down to being the -profiles=.\DayZServerprofiles line. Somehow it prevents BattlEye from launching correctly or something...
Zeromix  [author] 28 Nov, 2023 @ 4:55am 
@PooperScooper What exacly does it says?
Cuz I tested it yesterday, and it worked OOTB.
PaDiddy 27 Nov, 2023 @ 3:02pm 
Having same issue as GMoneyYo. No log.
Zeromix  [author] 27 Nov, 2023 @ 2:16pm 
@GMoneyYo Does the logfiles says something?
GMoneyYo 24 Nov, 2023 @ 5:50pm 
Hey following your instructions i get: BattlEye initialization failed
And i cant figure out how to install it on the server.
francimor 3 Jul, 2023 @ 12:19pm 
thx bro
Zeromix  [author] 3 Jun, 2023 @ 7:23am 
Thank you.
halfdeath300 2 Jun, 2023 @ 6:06pm 
Thanks for this, not good with this level of computer work. easy to follow. the other guides I've seen I couldn't follow quite what they said to do. :steamthumbsup:
Rante 9 Apr, 2023 @ 2:37pm 
i have already portforwarded port 27020 and 27021 to a different server (avorion in this case) can i skip those 2 ports?