Wiki of MyGamePlatform Help

DayZ

Introduction

In this guide, we'll show you how to set up your DayZ server

Installing server files

To download the server files, follow these steps:

  1. Add a Steam account

Add your Steam account in the server settings. This will give you access to the required files.

Day z1
Day z2
  1. Start the server to begin downloading the files.

  2. Remove Steam account

After the files have been downloaded, remove your Steam account and password from the settings.

  1. Enter anonymous as user

Now replace the Steam login data with the user anonymous to be able to operate the server without a personal account.

Day z3

Configure your DayZ server

In the path /home/container/serverDZ.cfg you can customize your config

Day z4

Exampel Config

hostname = "EXAMPLE NAME"; // 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 steamQueryPort = 2305; // defines Steam query port, should fix the issue with server not being visible in client server browser 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) disablePersonalLight = 1; // Disables personal light for all clients connected to server lightingConfig = 0; // 0 for brighter night setup, 1 for darker night setup 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, f.e. "2015/4/8/17/23" . serverTimeAcceleration=12; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so 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> // Vanilla mission: dayzOffline.chernarusplus // DLC mission: dayzOffline.enoch }; };

In the path /home/container/batteleye open BEServer_x64.cfg and insert the exampel BEServer_x64.cfg.

Example BEServer_x64.cfg

RConPassword My_Password RestrictRCon 0 RConPort 2302 RConIP 0.0.0.0

DayZ Admin

To use an admin command, you must open the console. You do this by pressing the chat button. You can then enter the following commands and confirm with the “Enter” key. An admin command always starts with the “#” symbol.

Command

Description

#login

Log in as an administrator. You don't need a password if you are listed as an admin in the server.cfg.

#logout

Log out as an administrator.

#mission file name

Select the mission by its known name.

#mission file name Difficulty

Select the mission by its known name and set the difficulty. The difficulty parameter is optional, and if not set, the current difficulty is retained.

#missions

Select a mission.

#restart

Restart the mission.

#reassign

Start over and redistribute roles.

#shutdown

Shut down the server immediately.

#restartserver

Shut down and restart the server immediately.

#shutdownserveraftermission

Shut down the server after the mission is completed.

#restartserveraftermission

Shut down and restart the server after the mission is completed.

#init

Reload the server configuration file loaded with the -configuration option.

#exec ban Name

Ban a player by name. The banned player's ID is recorded in the ban.txt file.

#exec ban ID

Ban a player by ID. The banned player's ID is recorded in the ban.txt file.

#exec ban #Player

Ban a player by Player ID. The banned player's ID is recorded in the ban.txt file.

#kick Name

Kick a player from the server by name.

#kick ID

Kick a player from the server by ID.

#kick #Player

Kick a player from the server by Player ID.

#monitor (interval in seconds)

Monitor server information. An interval of 0 stops the monitoring.

#monitords (interval in seconds)

Display performance information on the dedicated server console. An interval of 0 stops the monitoring.

#debug off

Turn off debugging.

#debug (interval in seconds)

The default interval is 10 seconds.

#debug (command) (param)

Available DayZ admin commands: checkFile, userSent, userInfo, userQueue, totalSent, JIPQueue. Each command can be disabled with the "off" parameter, e.g., #debug userSent off.

#debug (command)

Usable commands: Console (sends to the sender what is on the server console), von (output to the logFile defined in the server.cfg, e.g., logFile=server_console.log").

Commands for BattlEye

Command

Description

Example

#beclient players

Lists the BE GUIDs of the players

#beclient players

#beclient guid

Shows your own BE GUID

#beclient guid

Install mods on your DayZ server

coming soon ...

Last modified: 16 November 2024