Posted  by  admin

Dayz Steam

DayZ is a hardcore open-world survival game with only one rule: stay alive, no matter what. But with a myriad of threats lurking around every corner, that might be easier said than done. Key Features:. With no checkpoints or saves, when you die, you lose everything and have to start over. We're sorry but web doesn't work properly without JavaScript enabled. Please enable it to continue.

A current guide on installing and setting up a DayZ Standalone server by using SteamCMD, this guide also includes a server start batch file and a solution to download and auto-update mods.

This guide is made using Windows Server 2019 on Vultr with SteamCMD. This guide will also work on Windows 10, 8.1, Server 2016 and Server 2012 r2. You may need to install additional runtimes depending on your OS.

Limited time get $100 free credit for new Vultr accounts here!

SteamCMD

Download SteamCMD here and move it into a folder in the C drive called SteamCMD.

Run steamcmd.exe and SteamCMD will unpack into the folder

At the C drive create installserver.bat and fill it with:

Steam

Upon running this file it will install the DayZ server files into C:serversdayzserver.

Opening ports

For your server to be found in the DayZ launcher and other server browsers you will need to open certain ports. To do this open up Windows Defender firewall with Advanced security.

This is for a server running on port 2302

Ports that need to be opened for UDP are:

Inbound rules:

Dayz Steam

  • 2302-2306
  • 4380
  • 27000-27031
  • 27036

Outbound rules:

  • 2302-2306
  • 2344

Ports that need to be opened for TCP are:

Inbound rules:

Dayz Steamdb

  • 2302
  • 2312
  • 27015-27030
  • 27036-27037

Outbound rules:

  • 2312
  • 2344
  • 2345

Server start batch file

The basic batch file to start the server is this:

You can find more complex starters that include BEC and restarting here.

If your DayZ server starts, shows up in the server browser/DZSA launcher and you can connect & play; now 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 IP address plus the query port which is 27016.

Launch errors

Some common errors upon starting the server are:

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, note it takes a couple of minutes to install.

Configuration information

C:serversdayzserverserverDZ.cfg has your server settings and options, importantly the server name, password options and mission file name.

C:serversdayzserverPROFILENAME change from PROFILENAME in the start batch file, this is where your logs will be generated and where you put configuration files from mods when they state your server profile folder.

Installing mods

You need to get the mods workshop id and its @name, you can find its id by the number that is at the end of the workshop URL.

https://steamcommunity.com/sharedfiles/filedetails/?id=2106663048

The id is 2106663048.

Create installmod.bat in the C drive

Run this to download the mod, move the mod file into your server’s directory, rename it and copy the key.

Auto mod updates

DayZ Workshop mods can become annoyances when updates are pushed as players will have it updated immediately via the Steam client whilst the server will not.

Auto-updating mods can be handled through the DZSA server launcher, get it here.

Dayz

Using this means you need to include it in your start batch file and reference the DayZ server executable (.exe):

Server restarts

To implement a server restart system, create a batch file in the C drive called restartdayz.bat

Fill it with:

This kills the DayZ server 64-bit process.

Server restarts are going to be run through Windows task scheduler. This is super simple to setup, On the right choose create task:

Now make Daily triggers at certain times with the action being to run the C:restartdayz.bat file.

Here you can see that the server will be stopped every 6 hours.

Getting restart count down messages in the game chat for the restart time can be done in db/messages.xml which is found in your mission file at C:serversdayzservermpmissionsMISSIONNAME.

<deadline> is in minutes.

Use The Code ZombieTo Grab A 10% Discount On All DayZ Standalone ServersHere

In this guide we will be covering the process of installing and updating mods on your DayZ Standalone server using our newly updated Steam Workshop installer.

Steam Workshop Buttons

In your gamepanel you will see three buttons, SteamWorkshop, Steam Workshop (installed) and Steam Workshop (updates). Each of these buttons allow you to have full control over the mods installed on your server, in the next section we will cover what each of these buttons do.
Steam Workshop
Install new mods to your server. Gives you the ability to sort results by popularity over a time period, filter by content type in addition to a search box.
Steam Workshop (installed)
Shows you the mods you have installed on your server. Mods can also be uninstalled from within this window.
Steam Workshop (updates)
Update your installed mods. Allows you to update all your installed mods with the click of a button. This can also be configured to be automatically executed which we will cover at the end of this guide.

Dayz Steam Free

Adding Mods to your Server

With the addition of our new and improved Steam Workshop installers, adding mods to your server is as easy as ever. To help you get started we will walk you through all the steps needed to get mods installed and enabled on your server.

  1. In your game panel, press the Steam Workshop button. A new window will appear where you can begin searching for a mod you would like to install on your server. In this example we are going to be sorting by the most popular mods of all time and installing the WeaponReduxPack. To install a mod, you will just need to press the green Install button.
    A new window will appear displaying the status of the installation process, once this is complete it will automatically close and return you back to the Steam Workshop page.
  2. Now we’ve got our first mod installed, we need to enable it on our server. We can do this by heading into the Command lineManager. In here you will see a list of predefined command lines, if you’re not using DZSA Launcher go ahead and select the Mods command line.
  3. A new textbox will appear that says “Mods” next to it, this is where you will need to insert your mod IDs. Mod IDs have to be inserted in a specific format, especially if you have multiple. Here’s an example of how things should be formatted if you have multiple mods…
    @CF;@Community-Online-Tools



    By default, the name of the mod will always be the same as its SteamID. You can double check the name of your installed mods by going into the File Manager and looking for the folders that start with @ - these will be at the top of the page.
  4. Go ahead and save your changes by pressing the blue Apply button, we’ve now got our mod installed and enabled.
    Note that keys are now automatically managed by the installer, you no longer need to do this manually. If a mod is installed the key will be copied over and if it’s uninstalled it will be removed.
    We can now startup the server – if everything went well your installed mod(s) should be now active. If you experience any errors, please refer to the common errors below…

Dayz Steam Discount Code


Common Errors

PID 0 (next to server status)
This indicates that there is a startup error, quite often this is caused by mods, more specifically the server command line has a mod included that it cannot find in your server files. Ensure that all the mods in your command line exist in your files.

Mod Mismatch (when joining server)
This error indicates that the files on the client are not the same as the server. To avoid this error, ensure that you are launching the game through the launcher and have selected all the mods your server is using. Sometimes the error message can give you a hint as to what mod in particular is causing problems.

Dayz Free

Updating Your Mods (Manual & Automatic)

In this section we will be covering the process of updating your installed mods through the use of our Steam Workshop tool. Both manual and automatic methods will be covered.

Manual Updates

  1. In your game panel, click on the Steam Workshop (updates) button.
  2. This will redirect you to a new window where you will see the following buttons.

  3. The button we will want to press is the Update All button. This will go ahead and check if any of your installed mods have an update available, if they do it will then proceed to download the files.


Automatic Updates

In order to allow for automated updates, we will need to create a scheduled task. This requires a few options to be configured beforehand, below you can find the steps on how to do this alongside our recommended settings.

Dayz Steam Key

  1. In your game panel, at the top of the page you should see a button that says Scheduled Tasks, click on that.
  2. A new window will be displayed where you can see any existing tasks you have set up or create a new one, in this case we would like to create a new one so go ahead and press the New button.
  3. A dropdown menu will appear where we can select what type of task we would like to create, we're trying to update our mods so go ahead and select the Workshop Update task and then press the blue New button.
  4. Now we need to configure our task. A few different areas will need to be setup, this can be tailored more specifically to suit your requirements however here's what we would recommend.
    - Name: Check for updates
    - Type: Daily
    - Start: Set this to one day ahead and a time that's best for you. If you cannot select a time make sure the date is one day ahead.
    - RecurEvery: 1 Day
    This is how our task looks so far.
    At this point you can go ahead and save your newly configured task. This will now check for updates every day at the time you have configured. If you would like this task to be run multiple times a day, please continue to the next step.
  5. In order to have this task executed multiple times a day we will need to perform a few extra steps to get things configured. Firstly, go ahead and check the Repeat Task checkbox. For the newly displayed options, we would recommend the following settings.
    - Repeat Every: 30 Minutes
    - For: 24 Hours
    This is how our task looks up to this point.
    If you're happy with everything, go ahead and press Save. Your task is now all setup and will be executed for the first time at the time you have configured.

Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect DayZ Standalone server today!