A guide on installing and setting up a DayZ Standalone server with the new Namalsk map by using SteamCMD.
For a limited time get $100 free credit for new Vultr accounts here
SteamCMD is a command-line version of Steam, using this is much simpler than the normal Steam GUI program.
Download SteamCMD here and move it into a folder in the C drive called
steamcmd.exe, SteamCMD will unpack into the folder
At the C drive create
installserver.bat and fill it with:
@echo off set "steamcmdpath=C:\SteamCMD" set "serverpath=C:\dayzserver" set /p login=Steam Login: echo. set /p pass=Steam Password: echo. %steamcmdpath%\steamcmd +login %login% %pass% +force_install_dir "%serverpath%" +app_update 223350 validate +quit
Upon running this file and using your Steam credentials it will install the DayZ server files into
Installing the Namalsk map
Installing the Namalsk map can be done with SteamCMD also; this bat file (installmods.bat):
@echo off set steamcmdpath="C:\SteamCMD" set namIsland="2288339650" set namSurvival="2288336145" set /p login=Steam Login: echo. set /p pass=Steam Password: echo. %steamcmdpath%\steamcmd +login %login% %pass% +force_install_dir C:\dayzserver +workshop_download_item 221100 %namIsland% validate +force_install_dir C:\dayzserver +workshop_download_item 221100 %namSurvival% validate +quit rmdir /Q /S "C:\dayzserver\@namalskIsland" move "C:\dayzserver\steamapps\workshop\content\221100\%namIsland%" "C:\dayzserver\@namalskIsland" rmdir /Q /S "C:\dayzserver\@namalskSurvival" move "C:\dayzserver\steamapps\workshop\content\221100\%namSurvival%" "C:\dayzserver\@namalskSurvival" copy /y "C:\dayzserver\@namalskIsland\Keys\*.bikey" "C:\dayzserver\keys\" pause
The key file automatically gets copied to the server aswell.
Updating the Namalsk map
Updating these mods is done by clicking the installmods.bat file again, as the files get validated and the old ones in
C:\dayzserver deleted before the new ones are moved across.
Ensuring players connect with the right mod
As this guide uses the server versions which are optimized for server use, you will need to spoof this so the players connect using the client version.
C:\dayzserver\@NamalskIsland\meta.cpp and set publishedid to
C:\dayzserver\@NamalskSurvival\meta.cpp and set publishedid to
These are the client version ids.
Getting mission files
C:\dayzserver\@NamalskSurvival\Extras copy either the regular or hardcore folder and then paste into
serverDZ.cfg out into
C:\dayzserver and edit for your server details.
For your server to be found publically, DayZ launcher and other server browsers you will need to open network ports. To do this open up Windows Defender firewall with Advanced security. On the top left you will see Inbound Rules and Outbound Rules.
These rules are for a server running on port 2302
Ports that need to be opened for UDP
Ports that need to be opened for TCP
Server start batch file
A basic batch file to start the Namalsk server:
@echo off set serverName=Namalsk DayZ server set serverLocation="C:\dayzserver" set serverPort=2302 set serverProfile=Namalsk set serverConfig=serverDZ.cfg set serverCPU=4 title %serverName% batch cd "%serverLocation%" echo (%time%) %serverName% started. start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% -profiles=%serverProfile% -cpuCount=%serverCPU% -mod=@NamalskSurvival;@NamalskIsland -dologs -adminlog -netlog -freezecheck
You can find more complex server starters that include BEC and timed restarting here.
If your DayZ server starts, shows up in the server browser and you can connect & play; you can begin to install mods and implement a restart system.
Adding your server to DZSA Launcher is done by going here and inputting your server IPv4 address plus the query port which is 27016.
Common launch errors
Common errors upon starting the server:
VCRuntime140.dll is missing
To fix go here and install the x64 bit.
XAPOFX1_5.dll and/or X3DAudio1_7.dll are missing
Install the runtime from here.
C:\dayzserver\serverDZ.cfg has your server settings and options, importantly the server name, password options and mission file name. View all the options for serverDZ.cfg here.
Note all Vultr Links in this post are affiliated.