Skip to content

Latest commit

 

History

History
139 lines (108 loc) · 8.44 KB

README.md

File metadata and controls

139 lines (108 loc) · 8.44 KB

DayZ

Note

This Egg is for the standalone version of DayZ only. It is not for the DayZ mod on Arma 2 or Arma 3.


Authors / Contributors


Red-Thirten

💻 🔨

Moondarker

💻 💡

Brophy

💻 💡

shaynendradika

💻 💡

Game Description

From Bohemia Interactive's Website:

How long can you survive a post-apocalyptic world? A land overrun with an infected "zombie" population, where you compete with other survivors for limited resources. Will you team up with strangers and stay strong together? Or play as a lone wolf to avoid betrayal? This is DayZ – this is your story.


Egg Capabilities

  • Able to download server updates on startup
  • Able to download, update, and load Steam Workshop mods on startup (*see Installation/System Requirements: Game Ownership)
    • Also accepts server-side only mods.
    • Checks for mod updates against their Steam Workshop page's last update for quick and efficient update checks.
    • Automatically moves mod .bikey's to the /keys/ directory.
    • Note: These features only work with mods in the @workshopID# format. Manually uploaded mods are not automatically updated.
  • Multiple basic settings found within the serverDZ.cfg file can be easily set from the server's Startup tab
    • Server name, passwords, disable third person, persistent time, and more...
  • Max Players is configurable and able to be host enforced (*see Recommended Egg Modifications)
  • Additional DayZ startup parameters can be added to fine-tune performance
  • WHMCS compatible (*see Recommended Egg Modifications)

Server Ports

Default server ports are listed below, but all ports can be changed freely.

Port Default Protocol Required Notes
Game 2302 UDP Yes Primary port in Panel
Steam Query 27016 UDP Partially Required for server listing
RCON 2305 UDP No Required to be defined, but not required to be assigned to the server

Installation/System Requirements

Important

A real, valid Steam account is required to install this game server.

Warning

Steam Guard must be completely turned off for the server and mods to download efficiently. See Running With Steam Guard Enabled for an unofficial workaround.

Bare Minimum Recommended
Processor Recent x86/64 (AMD/Intel) processor. No 32-bit or ARM support. Avoid CPU Pinning; may cause issues.
RAM 4096-5120 MiB 8192 MiB
Storage 3072 MiB 7168+ MiB (depends on how many mods are installed)
Network 0.512 Mbit/s/player 1-5 Mbit/s/player
Host OS Most stable Linux OS branches should work Using the latest kernel version for your installed OS can prevent some edge-case installation/boot issues.

Game Ownership:

While not required, it is highly recommended that the Steam account used to install this server owns the DayZ game for the following reasons:

  • Vanilla mission files will only update automatically with the server if the game is owned.
    • They can still be manually updated by deleting the mpmissions/ directory and reinstalling the server (this will not erase other files).
  • Automatic Steam Workshop mod downloading requires ownership.
    • This is optional functionality, and mods can be manually uploaded to the server if desired.
    • Hosts may feel free to change the "[Host] Disable Mod Downloads/Updates" variable to 1 if they would not like to offer this functionality to clients.

Recommended Egg Modifications

The following are highly recommended variable modifications you can make to the egg after importing it to your panel. While viewing this egg, simply go to the "Variables" tab of the egg editor to make these changes.

Default Steam Username & Password

  • To make deploying servers easy (or if you are using WHMCS), it is recommended to edit the default values of "Steam Username" and "Steam Password" to your Steam account dedicated for hosting. This will make all newly installed servers use these credentials. DO NOT make these fields visible to the end user so that they can use their own Steam accounts; the panel will save their Steam credentials in plain text, which is a BIG NO NO for security and privacy.

Restrict Max Players

  • If you would like to restrict the maximum number of players that can join your client's server, you can change the permissions of the "Max Players" variable so that clients can only view this value (and not edit it). It's default value can also be changed, or the value can be changed on a server-by-server basis as desired.

Running With Steam Guard Enabled

Caution

The following is highly discouraged for production environments or even private use. It should only be used if you really don't want to disable Steam Guard and don't plan on updating your server/mods often. Support will not be given to those with Steam Guard enabled. Additionally, using this method, you are at risk of rate limiting your account if something goes wrong.

  1. When creating your server, set the variables "[Host] Skip Game Server Install" and "[Repair] Validate Server Files" to 1.
  2. Proceed with installation as normal.
  3. If the server has not automatically started after installation, start it.
  4. The console will eventually appear to freeze on the line: Loading Steam API...OK. You will likely receive a Steam Guard request for login at this time. Approve this request just to be safe, but this will not log you in. Next, obtain a valid Steam Guard code, enter it into the console, and press Enter to submit it. This should log you in. It is successful if you see: Two-factor code:OK. The server will then download for the first time. Note: It may glitch and not display installation progress; be patient while it downloads and verifies.
    • If you have mods to install, you will have to repeat this process of obtaining and entering in a new Steam Guard code for every mod.
  5. The server should properly start at this time.
  6. Go to the Startup tab and disable "[Repair] Validate Server Files". Also, it is recommended you disable the "Automatic Updates" Startup Variable until you need to update again. Otherwise, you will have to go through the process of entering in Steam Guard codes again every boot.