It has been almost 11 months since this post about installing and setting up a Dayz server was made. Here is a fresh guide to setting up your DayZ Standalone server with differences to last time.
I will be using Windows Server 2019 on Vultr, with Steam installed. This guide will work on Windows 10, 8.1 Server 2016 and Server 2012 r2. You may need to install additional runtimes depending on your OS.
Open and Login to Steam.
On the top navigation bar hover on LIBARY and click TOOLS from the drop down.
You will then see the install size and create shortcut options, click NEXT.
Read and agree to the terms (if you agree) and the files will be downloaded which you can view the progress in the Downloads tab. As of this post the server files size is 682.3 MB.
Once the download has finished navigate to: C:\Program Files (x86)\Steam\steamapps\common\DayZServer and check if your files are there.
You can move the DayZServer directory elsewhere if you want but this guide will be based on the files being located at its default location as above.
Create the start batch file. A batch file is a DOS script which executes upon double clicking.
Right click and create a new textfile, rename it to start.bat now right click and click edit.
There are many server start, stop and restart batch files on the internet. Feel free to search for them, here is what i will be using:
@echo off :start ::Server name set serverName=Jims DayZ server ::Server files location set serverLocation="C:\Program Files (x86)\Steam\steamapps\common\DayZServer" ::Server Port set serverPort=2302 ::Server config set serverConfig=serverDZ.cfg ::Logical CPU cores to use (Equal or less than available) set serverCPU=2 ::Sets title for terminal (DONT edit) title %serverName% batch ::DayZServer location (DONT edit) cd "%serverLocation%" echo (%time%) %serverName% started. ::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=) start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck ::Time in seconds before kill server process (14400 = 4 hours) timeout 14390 taskkill /im DayZServer_x64.exe /F ::Time in seconds to wait before.. timeout 10 ::Go back to the top and repeat the whole cycle again goto start
If you want to run the server on a port other than 2302 change it above, if you moved the DayZServer directory to another location change the path above at cd. Read up on the launch parameters here.
Next open serverDZ.cfg and edit to your preferences like server name, max players, time, third person etc etc. Read up on the serverDZ.cfg file here.
BEServer_x64.cfg
Add: RConPassword YOURPASSWORDHERE
Change YOURPASSWORDHERE into your RCon password of choice. Save the file.
For your server to be seen in the DayZ ingame server browser network ports need to be open. Good news is when you install DayZ Server it now automatically opens the correct ports. You can check this by going to Windows firewall with advanced security.
Click Inbound Rules in the top left
If you see Dayz Server in the list like here:
Test that your DayZ server works by double clicking the start.bat file. You may get some errors such as: VCRuntime140.dll is missing and/or XAPOFX1_5.dll and/or X3DAudio1_7.dll are missing. To fix do the following:
For the fix go here and install the x64 bit.
Install the runtime from here, it takes a couple of minutes to install.
If you get no errors upon launching and you can find your server in the ingame server browser and can join it then well done.
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…