Wiki Navigation

API Reference
Singleton

Server Config API

Configure your DayZ server settings (serverDZ.cfg). Control hostname, passwords, player limits, time settings, network ranges, and more.

Authentication required: All endpoints require a valid Bearer token. See Authentication for details.

GET

Get Server Config

Retrieve the server configuration for an instance.

Endpoint

GET /api/instance/{instance_sid}/server-config
POST PATCH

Create or Update Server Config

Create or update server configuration. Only one config exists per instance.

Endpoint

POST /api/instance/{instance_sid}/server-config PATCH /api/instance/{instance_sid}/server-config

Parameter Categories

Server Identity

  • hostname
  • password
  • admin_password
  • mission

Players

  • max_players (1-127)
  • queue_con_players_amount
  • queue_max_players_amount
  • respawn_time

Time Settings

  • server_time
  • server_time_acceleration
  • server_night_time_acceleration
  • server_time_persistent

Network

  • query_port
  • max_ping
  • network_range_close/near/far
  • multi_threaded

Gameplay Toggles

  • disable_von
  • disable_3rd
  • disable_crosshair
  • enable_whitelist

Logging

  • log_file
  • log_fps, log_memory
  • log_players, log_placements
  • log_build_actions
DELETE

Delete Server Config

DELETE /api/instance/{instance_sid}/server-config

Reset server config to default by deleting the configuration.

Pro Tips

Set server_time_acceleration between 1-64 to speed up day/night cycles. Use server_night_time_acceleration to make nights shorter. Enable multi_threaded for better performance on multi-core servers.