Day and night length for a DayZ server
day_night_settingsTurn 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"day_minutes": "<day_minutes>",
"night_minutes": "<night_minutes>"
},
"name": "day_night_settings"
}
}Input 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 |