DayZ – How to Install a local server

DayZ – How to Install a local server 1 - steamlists.com
DayZ – How to Install a local server 1 - steamlists.com
In this guide, Iā€™m going to show you how to create a local server on your own local pc so as to either play singleplayer or test and examine community modifications.

 
 

Warning!

 
DayZ - How to Install a local server - Warning! 
 
If your intention is establishment of your computer as a dedicated server in order to render services to other users, that might be violating The Terms and Conditions of your ISP and they have an undoubted privilege to prosecute you to full extend of law, so please be cognizant of your ISP regulations. 
 
 

Installation of DayZ Server

 
Above search bar on your library click on drop down and check ā€œToolsā€ and look for ā€œDayZ Serverā€ to download and install. (or simply search the name on search bar to find “DayZ Server” tool) 
DayZ - How to Install a local server 
 
Once you have done that, right click on ā€œDayZ Serverā€ to appear drop down, go to properties,Local Files and press ā€œBrowseā€ that will lead you to DayZ server folder where the exe application is located. hold this here, we should create a batch file in this folder. 
DayZ - How to Install a local server 
 
DayZ - How to Install a local server 
 
DayZ - How to Install a local server 
 
 

Batch file

 
Open up your favourite text editor (I would highly recommend using Notepad++ in this case. it’s available on the official website for free) and Copy-past all the following codes into your text editor. 
 

@echo off :start ::Server name (This is just for the bat file) set serverName= ::Server files location set serverLocation=” ” ::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% “-profiles=config” -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

 
 
The statements after ā€œ :: ā€œ are comments and uncompilable that let you know what each line is supposed to perform. 
We ought to fill the remaining blankets by information about your server. First, type your server name after equals sign on this line. 

set serverName=

 
For instance, I would name it “Test Server” 
DayZ - How to Install a local server 
 
then type the address where the Dayz server program ,which we had installed before, was located. 
 

set serverLocation=

 
in my case, I’ve installed Dayz Server on Driver E and yours might be different. 
 
DayZ - How to Install a local server 
 
at the end, save this note as ā€œstart.batā€ into DayZ Server location with the inverted commas and that will turn it to a batch file. 
 
 

Server Configuration

 
Server Configuration is where you can change the settings of your server like selecting which official map to load, in-game time, password, admin password, player counts and all such relevant stuffs to your server configurations. 
we need to create .cfg file so as to determine our server settings. Make a new file in Notpad ++ (or whatever text editor you already had), name it as “serverDZ.cfg” with commas in order to convert the text note to a .cfg and Copy-past all these lines into it. 
 

hostname = ” “; // Server name password = “”; // Password to connect to the server passwordAdmin = “”; // Password to become a server admin enableWhitelist = 0; // Enable/disable whitelist (value 0-1) maxPlayers = 60; // Maximum amount of players verifySignatures = 2; // Verifies .pbos against .bisign files. (only 2 is supported) forceSameBuild = 1; // When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1) disableVoN = 0; // Enable/disable voice over network (value 0-1) vonCodecQuality = 20; // Voice over network codec quality, the higher the better (values 0-30) disable3rdPerson = 0; // Toggles the 3rd person view for players (value 0-1) disableCrosshair = 0; // Toggles the cross-hair (value 0-1) serverTime = “SystemTime”; // Initial in-game time of the server. “SystemTime” means the local time of the machine. Another possibility is to set the time to some value in “YYYY/MM/DD/HH/MM” format, e.g “2015/4/8/17/23”. serverTimeAcceleration = 1; // Accelerated Time – The numerical value being a multiplier (0.1-64). Thus, in case it is set to 24, time would move 24 times faster than normal. An entire day would pass in one hour. serverNightTimeAcceleration = 1; // Accelerated Nigh Time – The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. // Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. // An entire night would pass in 3 hours. serverTimePersistent = 0; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value. guaranteedUpdates = 1; // Communication protocol used with game server (use only number 1) loginQueueConcurrentPlayers = 5; // The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time. loginQueueMaxPlayers = 500; // The maximum number of players that can wait in login queue instanceId = 1; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) class Missions { class DayZ { template = “dayzOffline.chernarusplus”; // Mission to load on server startup. <MissionName>.<TerrainName> }; };

 
simply type your server name again amongst quotation marks at this line. 

hostname = ” “;

DayZ - How to Install a local server 
 
we’ve almost done creating our local server and As you can see, although all lines were blatantly already explained by comments after “//”, it’s worthy to justify a few lines of serverDZ.cfg in the next section. you can skip the next section if the comments are plainly comprehensible. 
 
 

Sidenotes

 

serverTime = “SystemTime”;

 
by default (“SystemTime”), in-game time will be local time of your machine .unless, you would like to convert to value you desire to be, keep it in this format : “YYYY/MM/DD/HH/MM” like ā€œ2021/05/16/05/00ā€, that means whenever the server is launched in game time is going to be 16th may of 2021 and at 5 AM. 
 

serverTime = “2021/16/05/05/00”;

 
——————————————————————————————————- 
 

class Missions { class DayZ { template = “dayzOffline.chernarusplus”; }; };

 
Here you can choose the official maps (I will author another guidance later on how to install modded maps too) by default, itā€™s Chernarus. Change the template to “dayzOffline.enoch” in order to select Livonia for the server and of course you should have already owned and installed this DLC otherwise it wonā€™t work. thus, your Missions class must be like below if you want Livonia as your server map. 

class Missions { class DayZ { template = “dayzOffline.enoch”; }; };

 
 
 

Launch server

 
in DayZ Server folder ,where you created the batch file at early stages, double-click on start.bat. a command prompt and server console will be popping up. wait a few minutes until server is ready (you will see server is spawning all the objectives at the commands). 
DayZ - How to Install a local server 
 
go to your library and fire up DayZ. make sure you haven’t any loaded mod yet and then navigate to “SERVERS” and the tab for “LAN”. here you can join to your server. 
 
DayZ - How to Install a local server 
 
DayZ - How to Install a local server 
 
you can watch the underneath video, if you want to visually see all the process. please like and subscribe if you find it helpful <3 . 
 

 
 

references

 
https://community.bistudio.com/wiki/DayZ:Server_Configuration 
https://write.corbpie.com/installing-and-setting-up-a-dayz-standalone-server-on-windows-server-2016-guide/ 
 

I hope you enjoy the Guide we share about DayZ – How to Install a local server; if you think we forget to add or we should add more information, please let us know via commenting below! See you soon!
 
 
 
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*