Day and night length for a DayZ server
day_night_settingsRead-onlyIdempotent
Turn the wanted real-time length of day and night into serverTimeAcceleration and serverNightTimeAcceleration for serverDZ.cfg, using the real sunrise and sunset of the map on the in-game date. Returns the values, the resulting real durations and a ready serverDZ.cfg block.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | No | chernarus | |
| date | No | Pin the server to this in-game date (MM-DD). Without it the server keeps serverTime = "SystemTime" and the values are computed for today | |
| lang | No | Language for names, descriptions and links | en |
| day_minutes | Yes | Wanted daylight duration in real minutes | |
| night_minutes | Yes | Wanted night duration in real minutes |