Manage global economy variables for your DayZ server (globals.xml). Control spawn rates, cleanup times, and other core economy parameters.
Authentication required: All endpoints require a valid Bearer token. See Authentication for details.
Retrieve a paginated list of global variables for an instance.
GET /api/instance/{instance_sid}/cfg-global
like
string
Filter variables by name using partial match.
{
"current_page": 1,
"data": [
{
"id": 1,
"sid": "abc123",
"name": "CleanupLifetimeDeadPlayer",
"type": 0,
"value": "3600"
},
{
"id": 2,
"sid": "def456",
"name": "SpawnInitial",
"type": 0,
"value": "1200"
}
],
"per_page": 30,
"total": 25
}
Retrieve a specific global variable by SID.
GET /api/instance/{instance_sid}/cfg-global/{global_sid}
Create a new global variable for an instance.
POST /api/instance/{instance_sid}/cfg-global
name
required
Variable name (e.g., SpawnInitial)
type
required
0=int, 1=float, 2=string
value
required
The variable value
PATCH /api/instance/{instance_sid}/cfg-global/{global_sid}
Update an existing global variable's name, type, or value.
DELETE /api/instance/{instance_sid}/cfg-global/{global_sid}
Permanently delete a global variable.
SpawnInitial
Initial spawn count on server start
CleanupLifetimeDeadPlayer
Dead body cleanup time (seconds)
CleanupLifetimeRuined
Ruined item cleanup time
IdleModeCountdown
Time before idle mode activates