DayZ
126 Bewertungen
How to Install a local Dayz server
Von Copperfield [SAC]
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.
7
2
3
4
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
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)

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.
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"


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.



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 = " ";


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).


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.




you can watch the underneath video, if you want to visually see all the process. please like and subscribe if you find it helpful as it helps the creator keep upon making high quality contents. Mind you, this youtube channel does not belong to me.



17 Kommentare
BreadTheef 5. Jan. um 16:08 
shit just doesn't work
Peppermint 18. Juni 2024 um 3:55 
I'm trying to set up a server on another machine. Do I need the DayZ client installed ? I'm getting a lot of warnings when starting it up. That is DamageSystem saying fire doesnt exist etc, warnings that components are missing and so forth.
KainoKattivo 28. Feb. 2024 um 13:43 
NON LE NORMALI MOD, MA LE MOD SERVER SERVER SERVER!!!!!!
KainoKattivo 28. Feb. 2024 um 13:43 
Si ma porca TROIA BASTARDA, ma come CAZZO si inseriscono le SERVER MOD?????????
Gaming_Joker 3. Jan. 2024 um 8:31 
Server runs but I can´t find it in the Lan browser.. Can you help?
12SEA 9. Sep. 2023 um 2:16 
Nice! Thank You.
Sir. Vival 22. Aug. 2022 um 11:43 
I figured it out. It was my fault. My configDZ file was actually named configDZ.cfg.cfg.. even tho it didn't say that in the explorer
Sir. Vival 22. Aug. 2022 um 11:03 
I keep getting an error on startup. It looks like its not finding the serverDZ file, even though the filepath is correct and the file is there.
C-Biiscuit 9. Sep. 2021 um 15:55 
Do you know of an easy way to increase the amount of loot that spawns?
PSIX 30. Aug. 2021 um 22:03 
как прописать админ топорик