Ejemplos
Mensajes válidos y escenarios completos tomados de las fixtures de prueba del protocolo.
Cada bloque es un archivo del repositorio del protocolo, mostrado con su nombre de archivo. Úsalos para comprobar tu implementación con mensajes que el backend acepta.
ack-request
{
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0007_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:02.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"spawned": 3
}
}
]
}ack-response
{
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"status": "running",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"status": "completed",
"result": "accepted"
}
]
}{
"ok": true,
"serverTime": "2026-10-16T21:00:03.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT0000Z7",
"status": "completed",
"result": "rejected",
"code": "ORDER_UNKNOWN"
}
]
}{
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"status": "completed",
"result": "accepted",
"warnings": [
"RESULT_SCHEMA_MISMATCH"
]
}
]
}ack
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"spawned": 3
}
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000005",
"seq": 1045,
"attempt": 1,
"status": "expired",
"at": "2026-10-16T21:15:05.000Z",
"reason": "ORDER_EXPIRED"
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000A",
"seq": 1050,
"attempt": 1,
"status": "failed",
"at": "2026-10-16T21:00:06.000Z",
"reason": "EXECUTION_FAILED",
"detail": "Sem ponto de queda válido a menos de 300 m do alvo."
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000003",
"seq": 1043,
"attempt": 1,
"status": "rejected",
"at": "2026-10-16T21:00:01.000Z",
"reason": "ACTION_DISABLED_LOCALLY",
"detail": "Ação desligada no arquivo de config do servidor."
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:02.000Z"
}error
{
"ok": false,
"serverTime": "2026-11-05T14:00:00.000Z",
"error": {
"code": "APPLICATION_DISABLED",
"message": "Aplicação desativada pelo dono ou suspensa pela DROPSZ.",
"retryable": true,
"clientAction": "retry",
"retryAfterMs": 60000
}
}{
"ok": false,
"serverTime": "2026-10-16T21:00:00.000Z",
"error": {
"code": "CLOCK_SKEW",
"message": "sentAt fora da janela de ±300 s; ajuste o offset com serverTime e repita.",
"retryable": true,
"clientAction": "fix_clock"
}
}{
"ok": false,
"serverTime": "2026-11-16T14:00:00.000Z",
"error": {
"code": "CONNECTOR_VERSION_UNSUPPORTED",
"message": "Versão do conector abaixo da mínima aceita para este jogo. Atualize o mod.",
"retryable": false,
"clientAction": "upgrade",
"minConnectorVersion": "0.4.0"
}
}{
"ok": false,
"serverTime": "2026-10-16T21:00:00.000Z",
"error": {
"code": "CREDENTIAL_REVOKED",
"message": "Chave da aplicação revogada ou vencida; cole a chave nova.",
"retryable": false,
"clientAction": "repair"
}
}{
"ok": false,
"serverTime": "2026-10-16T21:00:00.000Z",
"error": {
"code": "RATE_LIMITED",
"message": "Muitas requisições.",
"retryable": true,
"clientAction": "retry",
"retryAfterMs": 5000
}
}{
"ok": false,
"serverTime": "2026-10-16T21:00:00.000Z",
"error": {
"code": "REPLAY_DETECTED",
"message": "nonce já usado.",
"retryable": false,
"clientAction": "retry"
}
}{
"ok": false,
"serverTime": "2026-11-05T14:00:00.000Z",
"error": {
"code": "SERVER_NOT_IN_APPLICATION",
"message": "Servidor não vinculado a esta aplicação.",
"retryable": false,
"clientAction": "stop"
}
}{
"ok": false,
"serverTime": "2026-11-05T14:00:00.000Z",
"error": {
"code": "SERVER_SELECTION_REQUIRED",
"message": "A aplicação tem mais de um servidor; informe serverId na config do mod.",
"retryable": false,
"clientAction": "stop"
}
}{
"ok": false,
"serverTime": "2026-10-16T21:00:00.000Z",
"error": {
"code": "SESSION_EXPIRED",
"message": "Sessão expirada; abra uma nova em /connector/v1/session.",
"retryable": true,
"clientAction": "renew_session"
}
}manifest-response
{
"ok": true,
"serverTime": "2026-10-22T20:59:01.000Z",
"manifestHash": "sha256:e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5",
"mode": "enabled",
"accepted": [
{
"actionKey": "dayz.break_leg",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "custom.brasil-survival.horde_siren",
"version": 1,
"tier": "pro",
"source": "custom",
"enabledByPlan": true
}
],
"rejected": [
{
"actionKey": "custom.brasil-survival.horde_siren",
"version": 2,
"reason": "CUSTOM_ACTION_UNREGISTERED",
"detail": "Versão 2 não registrada na API pública desta organização."
},
{
"actionKey": "custom.brasil-survival.supply_flare",
"version": 1,
"reason": "CUSTOM_ACTION_UNREGISTERED",
"detail": "Ação não registrada na API pública desta organização para este jogo."
}
]
}{
"ok": true,
"serverTime": "2026-10-16T20:59:01.000Z",
"manifestHash": "sha256:c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",
"mode": "enabled",
"accepted": [
{
"actionKey": "dayz.break_leg",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.stumble",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.screen_shake",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.spawn_infected",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.fire_weapon",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.weather_storm",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.night_flash",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.drop_item",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.kill_player",
"version": 1,
"tier": "pro",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "dayz.heli_crash",
"version": 1,
"tier": "pro",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "custom.brasil-survival.horde_siren",
"version": 1,
"tier": "pro",
"source": "custom",
"enabledByPlan": true
}
],
"rejected": []
}{
"ok": true,
"serverTime": "2026-10-16T20:59:01.000Z",
"manifestHash": "sha256:d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4d4",
"mode": "sandbox",
"accepted": [
{
"actionKey": "rust.spawn_bear",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.spawn_wolf",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.spawn_scientist",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.fog",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.rain",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.drop_item",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.play_sound",
"version": 1,
"tier": "free",
"source": "official",
"enabledByPlan": true
},
{
"actionKey": "rust.airdrop",
"version": 1,
"tier": "pro",
"source": "official",
"enabledByPlan": false
},
{
"actionKey": "rust.kill_player",
"version": 1,
"tier": "pro",
"source": "official",
"enabledByPlan": false
}
],
"rejected": [
{
"actionKey": "custom.brasil-survival.rad_storm",
"version": 1,
"reason": "PLAN_REQUIRED",
"detail": "Ações customizadas exigem o plano Pro."
}
]
}manifest
{
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_dayz_0003_x7Kp2QvLm9",
"sentAt": "2026-10-16T20:59:00.000Z",
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
},
"configHash": "sha256:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"actions": [
{
"actionKey": "dayz.break_leg",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "dayz.stumble",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 15
},
{
"actionKey": "dayz.screen_shake",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 2,
"maximum": 10,
"default": 5
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 10
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 10,
"maxDurationSec": 10
},
{
"actionKey": "dayz.spawn_infected",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3
},
"radius": {
"type": "integer",
"minimum": 10,
"maximum": 50,
"default": 25
}
},
"required": [
"count",
"radius"
]
},
"maxLimits": {
"count": 3,
"radius": 30
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "dayz.fire_weapon",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"shots": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 3
}
},
"required": [
"shots"
]
},
"maxLimits": {
"shots": 5
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30
},
{
"actionKey": "dayz.weather_storm",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 60,
"maximum": 600,
"default": 180
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 300
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 600
},
{
"actionKey": "dayz.night_flash",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60,
"maxDurationSec": 5
},
{
"actionKey": "dayz.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30
},
{
"actionKey": "dayz.kill_player",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 900
},
{
"actionKey": "dayz.heli_crash",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 1800
},
{
"actionKey": "custom.brasil-survival.horde_siren",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"intensity": {
"type": "string",
"enum": [
"low",
"high"
],
"default": "low"
},
"duration": {
"type": "integer",
"minimum": 10,
"maximum": 60,
"default": 20
}
},
"required": [
"intensity",
"duration"
]
},
"maxLimits": {
"duration": 30
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 120,
"interruptible": true,
"maxDurationSec": 60
}
]
}{
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_dayz_m14_0001_r5Hy7KcVn3",
"sentAt": "2026-10-16T20:59:00.000Z",
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
},
"configHash": "sha256:c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4",
"actions": [
{
"actionKey": "dayz.break_leg",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "dayz.spawn_infected",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3
},
"radius": {
"type": "integer",
"minimum": 10,
"maximum": 50,
"default": 25
}
},
"required": [
"count",
"radius"
]
},
"maxLimits": {
"count": 3,
"radius": 30
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60,
"resultSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"spawned": {
"type": "integer",
"minimum": 0,
"maximum": 5
}
},
"required": [
"spawned"
]
}
},
{
"actionKey": "dayz.weather_storm",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 60,
"maximum": 600,
"default": 180
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 300
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 600,
"resultSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration_applied": {
"type": "integer",
"minimum": 0,
"maximum": 600
},
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"interrupted": {
"type": "boolean"
},
"temperature_delta": {
"type": "number",
"minimum": -20,
"maximum": 20
}
}
}
},
{
"actionKey": "dayz.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30,
"resultSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"item_class": {
"type": "string",
"maxLength": 32
},
"slot": {
"type": "string",
"maxLength": 16,
"enum": [
"hands",
"back",
"vest",
"pants"
]
}
},
"required": [
"item_class"
]
}
}
]
}{
"protocolVersion": "1.3",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_dayz_m13_0001_q8Wt4ZrPa2",
"sentAt": "2026-10-16T20:59:00.000Z",
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
},
"configHash": "sha256:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"actions": [
{
"actionKey": "dayz.break_leg",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "dayz.stumble",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 15
},
{
"actionKey": "dayz.screen_shake",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 2,
"maximum": 10,
"default": 5
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 10
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 10,
"maxDurationSec": 10
},
{
"actionKey": "dayz.spawn_infected",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3
},
"radius": {
"type": "integer",
"minimum": 10,
"maximum": 50,
"default": 25
}
},
"required": [
"count",
"radius"
]
},
"maxLimits": {
"count": 3,
"radius": 30
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "dayz.fire_weapon",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"shots": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 3
}
},
"required": [
"shots"
]
},
"maxLimits": {
"shots": 5
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30
},
{
"actionKey": "dayz.weather_storm",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 60,
"maximum": 600,
"default": 180
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 300
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 600
},
{
"actionKey": "dayz.night_flash",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60,
"maxDurationSec": 5
},
{
"actionKey": "dayz.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30
},
{
"actionKey": "dayz.kill_player",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 900
},
{
"actionKey": "dayz.heli_crash",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 1800
},
{
"actionKey": "custom.brasil-survival.horde_siren",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"intensity": {
"type": "string",
"enum": [
"low",
"high"
],
"default": "low"
},
"duration": {
"type": "integer",
"minimum": 10,
"maximum": 60,
"default": 20
}
},
"required": [
"intensity",
"duration"
]
},
"maxLimits": {
"duration": 30
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 120,
"interruptible": true,
"maxDurationSec": 60
}
]
}{
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001"
},
"nonce": "n_rust_0004_x7Kp2QvLm9",
"sentAt": "2026-10-16T20:59:00.000Z",
"connector": {
"game": "rust",
"platform": "carbon",
"connectorVersion": "0.2.0",
"sdkVersion": "0.2.0",
"gameVersion": "2026.10.02",
"instanceId": "inst_rust_c41d08e2"
},
"configHash": "sha256:b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2",
"actions": [
{
"actionKey": "rust.spawn_bear",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 3,
"default": 1
}
},
"required": [
"count"
]
},
"maxLimits": {
"count": 1
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "rust.spawn_wolf",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3
}
},
"required": [
"count"
]
},
"maxLimits": {
"count": 3
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 60
},
{
"actionKey": "rust.spawn_scientist",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 4,
"default": 2
}
},
"required": [
"count"
]
},
"maxLimits": {
"count": 2
},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 120
},
{
"actionKey": "rust.fog",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 60,
"maximum": 600,
"default": 180
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 300
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 600
},
{
"actionKey": "rust.rain",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 60,
"maximum": 600,
"default": 180
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 300
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 600
},
{
"actionKey": "rust.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30
},
{
"actionKey": "rust.play_sound",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 15,
"maxDurationSec": 10
},
{
"actionKey": "rust.airdrop",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 900
},
{
"actionKey": "rust.kill_player",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 900
},
{
"actionKey": "custom.brasil-survival.rad_storm",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"type": "integer",
"minimum": 10,
"maximum": 60,
"default": 30
}
},
"required": [
"duration"
]
},
"maxLimits": {
"duration": 30
},
"needsTargetOnline": true,
"affectsOthers": true,
"minCooldownSec": 300,
"interruptible": true,
"maxDurationSec": 60
}
]
}mode-change
{
"mode": "disabled",
"previousMode": "enabled",
"changedAt": "2026-10-16T21:00:30.000Z",
"source": "system",
"reason": "LICENSE_INACTIVE",
"canceledOrderIds": [
"ord_01JAD8K3QZ7XKM2P9RWT000008"
]
}{
"mode": "emergency_pause",
"previousMode": "enabled",
"changedAt": "2026-10-16T21:00:05.000Z",
"source": "panel",
"reason": "EMERGENCY_PAUSED",
"canceledOrderIds": [
"ord_01JAD8K3QZ7XKM2P9RWT000002",
"ord_01JAD8K3QZ7XKM2P9RWT000007"
]
}{
"mode": "enabled",
"previousMode": "emergency_pause",
"changedAt": "2026-10-16T21:02:00.000Z",
"source": "panel",
"canceledOrderIds": []
}{
"mode": "sandbox",
"previousMode": "enabled",
"changedAt": "2026-11-16T14:00:30.000Z",
"source": "admin",
"reason": "SERVER_NOT_APPROVED_FOR_LIVE",
"canceledOrderIds": [
"ord_01JCQ7M2V9XKM2P9RWT0000A01"
]
}{
"mode": "sandbox",
"previousMode": "disabled",
"changedAt": "2026-10-16T21:01:00.000Z",
"source": "admin",
"canceledOrderIds": []
}order
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002T",
"seq": 1051,
"attempt": 1,
"actionKey": "custom.brasil-survival.horde_siren",
"actionVersion": 1,
"params": {
"intensity": "high",
"duration": 20
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": true,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000,
"display": {
"viewerName": "Rafa_gamer",
"message": "Corre que vem horda!"
}
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000001",
"seq": 1041,
"attempt": 1,
"actionKey": "dayz.break_leg",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"actionKey": "dayz.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000005",
"seq": 1045,
"attempt": 1,
"actionKey": "dayz.fire_weapon",
"actionVersion": 1,
"params": {
"shots": 3
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000A",
"seq": 1050,
"attempt": 1,
"actionKey": "dayz.heli_crash",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000009",
"seq": 1049,
"attempt": 1,
"actionKey": "dayz.kill_player",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000007",
"seq": 1047,
"attempt": 1,
"actionKey": "dayz.night_flash",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000003",
"seq": 1043,
"attempt": 1,
"actionKey": "dayz.screen_shake",
"actionVersion": 1,
"params": {
"duration": 5
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 3,
"radius": 25
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000002",
"seq": 1042,
"attempt": 1,
"actionKey": "dayz.stumble",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000006",
"seq": 1046,
"attempt": 1,
"actionKey": "dayz.weather_storm",
"actionVersion": 1,
"params": {
"duration": 180
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000J",
"seq": 519,
"attempt": 1,
"actionKey": "rust.airdrop",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000G",
"seq": 517,
"attempt": 1,
"actionKey": "rust.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000E",
"seq": 515,
"attempt": 1,
"actionKey": "rust.fog",
"actionVersion": 1,
"params": {
"duration": 180
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000K",
"seq": 520,
"attempt": 1,
"actionKey": "rust.kill_player",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000H",
"seq": 518,
"attempt": 1,
"actionKey": "rust.play_sound",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000F",
"seq": 516,
"attempt": 1,
"actionKey": "rust.rain",
"actionVersion": 1,
"params": {
"duration": 180
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000B",
"seq": 512,
"attempt": 1,
"actionKey": "rust.spawn_bear",
"actionVersion": 1,
"params": {
"count": 1
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000D",
"seq": 514,
"attempt": 1,
"actionKey": "rust.spawn_scientist",
"actionVersion": 1,
"params": {
"count": 2
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00000C",
"seq": 513,
"attempt": 1,
"actionKey": "rust.spawn_wolf",
"actionVersion": 1,
"params": {
"count": 3
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}poll-request
{
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0006_x7Kp2QvLm9",
"sentAt": "2026-10-16T20:59:59.000Z",
"lastSeq": 1040,
"wait": true,
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002G",
"seq": 1039,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T20:59:20.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"seq": 1040,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T20:59:11.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"seq": 1040,
"attempt": 1,
"status": "running",
"at": "2026-10-16T20:59:15.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"seq": 1040,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T20:59:16.000Z"
}
],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
}{
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0005_x7Kp2QvLm9",
"sentAt": "2026-10-16T20:59:35.000Z",
"lastSeq": 1040,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
}poll-response
{
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
}{
"ok": true,
"serverTime": "2026-10-16T21:00:05.000Z",
"mode": "emergency_pause",
"modeChange": {
"mode": "emergency_pause",
"previousMode": "enabled",
"changedAt": "2026-10-16T21:00:05.000Z",
"source": "panel",
"reason": "EMERGENCY_PAUSED",
"canceledOrderIds": [
"ord_01JAD8K3QZ7XKM2P9RWT000002",
"ord_01JAD8K3QZ7XKM2P9RWT000007"
]
},
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
}{
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002G",
"status": "completed",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"status": "running",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00002H",
"status": "completed",
"result": "accepted"
}
],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000001",
"seq": 1041,
"attempt": 1,
"actionKey": "dayz.break_leg",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 3,
"radius": 25
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
}{
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [
"dayz.heli_crash"
],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
}session-request
{
"protocolVersion": "1.0",
"nonce": "n_session_0002_x7Kp2QvLm9",
"sentAt": "2026-10-16T20:58:00.000Z",
"credential": {
"credentialId": "cred_01JAC1F7NB7XKM2P9RWT000001",
"credentialSecret": "dzcs_EXAMPLE_dayz_credential_not_a_real_secret_0001"
},
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
}
}{
"protocolVersion": "1.2",
"nonce": "n_session_0003_r8Tq4WxNp2",
"sentAt": "2026-11-05T14:00:00.000Z",
"credential": {
"credentialId": "cred_01JC9X2V7Q8M5T3R6Y4W0ZKH1N",
"credentialSecret": "dzcs_test_EXAMPLEnotARealSecretRustKey000000000000000"
},
"serverId": "srv_01JA9W4D2E7XKM2P9RWT000002",
"connector": {
"game": "rust",
"platform": "carbon",
"connectorVersion": "0.1.0",
"sdkVersion": "0.1.0",
"gameVersion": "2580",
"instanceId": "inst_rust_4b8e2d10"
}
}session-response
{
"ok": true,
"serverTime": "2026-10-16T20:58:00.000Z",
"serverId": "srv_01JA9W4D2E7XKM2P9RWT000002",
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001",
"sessionExpiresAt": "2026-10-16T21:13:00.000Z",
"mode": "sandbox",
"lastSeq": 511,
"manifestRequired": false,
"poll": {
"holdSeconds": 25,
"clientTimeoutSeconds": 40,
"minIntervalMs": 1000,
"maxAcksPerRequest": 100,
"maxOrdersPerResponse": 20
},
"redeliveryTimeoutSec": 35,
"heartbeatStaleSec": 60,
"protocolNotice": {
"level": "deprecated",
"sunsetAt": "2027-04-30T00:00:00.000Z",
"message": "Conector 0.2.x será descontinuado; atualize para 0.3.0 ou superior."
}
}{
"ok": true,
"serverTime": "2026-10-16T20:58:00.000Z",
"serverId": "srv_01JA9W4D2E7XKM2P9RWT000001",
"organizationSlug": "brasil-survival",
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001",
"sessionExpiresAt": "2026-10-16T21:13:00.000Z",
"mode": "enabled",
"lastSeq": 1040,
"manifestRequired": true,
"poll": {
"holdSeconds": 25,
"clientTimeoutSeconds": 40,
"minIntervalMs": 1000,
"maxAcksPerRequest": 100,
"maxOrdersPerResponse": 20
},
"redeliveryTimeoutSec": 35,
"heartbeatStaleSec": 60
}Escenarios
{
"$comment": "Un ACK repetido no tiene efecto doble: (orderId, status) es UNIQUE en el backend. Un ACK final contradictorio después de uno final se rechaza.",
"name": "ack-duplicate",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.json"
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"actionKey": "dayz.break_leg",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
}
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0013_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:02.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:02.000Z"
}
]
},
"note": "Backend aplica delivered e completed e lança o ledger; a resposta se perde."
},
{
"actor": "backend",
"kind": "internal",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"status": "completed"
},
"note": "Divisão 75/5/20 lançada (bloqueada até a retenção)."
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0014_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:42.000Z",
"lastSeq": 1052,
"wait": true,
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:02.000Z"
}
],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
},
"note": "Reenvio do outbox após timeout."
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:42.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"status": "delivered",
"result": "duplicate"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"status": "completed",
"result": "duplicate"
}
],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "duplicate = já registrado, nenhum efeito novo. O conector limpa o outbox."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0015_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:50.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"seq": 1052,
"attempt": 1,
"status": "failed",
"at": "2026-10-16T21:00:50.000Z",
"reason": "EXECUTION_FAILED",
"detail": "Bug: ACK contraditório."
}
]
},
"note": "Bug no conector: ACK final diferente depois de completed."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:50.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009D",
"status": "failed",
"result": "rejected",
"code": "ORDER_ALREADY_FINAL",
"currentStatus": "completed"
}
]
},
"note": "Recusado; estado não muda; evento de auditoria late_ack para reconciliação."
}
],
"expect": {
"ledgerEntries": 1,
"finalStatus": "completed"
}
}{
"$comment": "El tiempo de espera (cooldown) pertenece al BACKEND: efectivo = max(tiempo de espera del dueño en el panel, tiempo de espera del creator, minCooldownSec del manifiesto), contado desde el completed anterior de la misma acción para el mismo objetivo. Una orden pagada durante el tiempo de espera aguarda en queued y solo se entrega cuando termina; si el TTL (contado desde el pago) se agota antes, pasa a expired con failureReason ORDER_EXPIRED y expiredWhileWaitingFor COOLDOWN_ACTIVE → crédito. El conector no decide el tiempo de espera (solo rechaza COOLDOWN_ACTIVE como defensa, si recibe una orden que viole el suelo local).",
"name": "cooldown",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.json",
"panelCooldownSec": {
"dayz.spawn_infected": 90,
"dayz.heli_crash": 3600
},
"ttlSec": 900
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"seq": 1070,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 3,
"radius": 25
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
}
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0024_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"seq": 1070,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"seq": 1070,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:02.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"seq": 1070,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"spawned": 3
}
}
]
}
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"status": "running",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009M",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Cooldown efetivo max(90, 60) = 90 s a partir de T+4 s → termina em T+94 s."
},
{
"actor": "backend",
"kind": "internal",
"note": "T+30 s: espectador paga J (dayz.spawn_infected). Pagamento e políticas OK; cooldown ativo → J fica queued (expiresAt = paidAt + 900 s = T+930 s; issuedAt será a 1ª entrega). Overlay/página mostram \"na fila: cooldown\".",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"status": "queued",
"waitingReason": "COOLDOWN_ACTIVE"
}
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0025_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:01:00.000Z",
"lastSeq": 1070,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:01:25.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Hold de 25 s; J ainda em cooldown, nada entregue."
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0026_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:01:25.000Z",
"lastSeq": 1070,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:01:34.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"seq": 1071,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 2,
"radius": 20
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:01:34.000Z",
"expiresAt": "2026-10-16T21:15:30.000Z",
"remainingMs": 836000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Cooldown acabou em T+94 s: o poll segurado retorna na hora com J (seq atribuído agora, na primeira entrega)."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0027_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:01:37.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"seq": 1071,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:01:35.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"seq": 1071,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:01:37.000Z",
"result": {
"spawned": 2
}
}
]
}
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:01:37.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009N",
"status": "completed",
"result": "accepted"
}
]
}
},
{
"actor": "backend",
"kind": "internal",
"note": "Variante: ord_01JAD8K3QZ7XKM2P9RWT00009P (dayz.heli_crash, cooldown 3600 s > TTL 900 s) pago numa corrida com o checkout. O cooldown não acaba antes do expiresAt → expired, failureReason ORDER_EXPIRED + expiredWhileWaitingFor COOLDOWN_ACTIVE, crédito ao espectador. Nunca chega ao conector. (O checkout deve bloquear a compra quando o cooldown restante passa do TTL.)",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009P",
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": "COOLDOWN_ACTIVE"
}
}
],
"expect": {
"deliveredAt": {
"ord_01JAD8K3QZ7XKM2P9RWT00009N": "2026-10-16T21:01:34.000Z"
},
"viewerOrders": {
"ord_01JAD8K3QZ7XKM2P9RWT00009P": {
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": "COOLDOWN_ACTIVE",
"connectorReason": null
}
}
}
}{
"$comment": "La pausa de emergencia cancela todo lo que no ha empezado: órdenes en la cola del backend y órdenes entregadas que aún no han empezado. Una que ya se está ejecutando solo se aborta si la acción es interruptible; si no, termina y recibe ACK. Al reanudar, nada de lo cancelado vuelve.",
"name": "emergency-pause",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.json"
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"seq": 1060,
"attempt": 1,
"actionKey": "dayz.fire_weapon",
"actionVersion": 1,
"params": {
"shots": 3
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009G",
"seq": 1061,
"attempt": 1,
"actionKey": "dayz.stumble",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
}
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0018_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:01.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"seq": 1060,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009G",
"seq": 1061,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"seq": 1060,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:01.000Z"
}
]
},
"note": "D começa; E espera (uma ação por alvo por vez)."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:01.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009G",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"status": "running",
"result": "accepted"
}
]
}
},
{
"actor": "backend",
"kind": "internal",
"note": "T+5 s: dono aperta Pausa de emergência. E (delivered, não iniciada) e ord_01JAD8K3QZ7XKM2P9RWT00009H (queued, nunca entregue) → canceled, motivo EMERGENCY_PAUSED, crédito na hora (D1). D (running, fire_weapon não é interruptible) segue.",
"state": {
"canceled": [
"ord_01JAD8K3QZ7XKM2P9RWT00009G",
"ord_01JAD8K3QZ7XKM2P9RWT00009H"
],
"reason": "EMERGENCY_PAUSED",
"compensation": "credit"
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:05.000Z",
"mode": "emergency_pause",
"modeChange": {
"mode": "emergency_pause",
"previousMode": "enabled",
"changedAt": "2026-10-16T21:00:05.000Z",
"source": "panel",
"reason": "EMERGENCY_PAUSED",
"canceledOrderIds": [
"ord_01JAD8K3QZ7XKM2P9RWT00009G"
]
},
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "O poll segurado retorna na hora com a mudança de modo. canceledOrderIds só lista o que o conector conhece (E)."
},
{
"actor": "connector",
"kind": "internal",
"note": "Descarta E sem executar e sem ACK. Não aceita ordem nova enquanto emergency_pause."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0019_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:06.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"seq": 1060,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:06.000Z",
"result": {
"shots": 3
}
}
]
}
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:06.000Z",
"mode": "emergency_pause",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009F",
"status": "completed",
"result": "accepted"
}
]
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:02:00.000Z",
"mode": "enabled",
"modeChange": {
"mode": "enabled",
"previousMode": "emergency_pause",
"changedAt": "2026-10-16T21:02:00.000Z",
"source": "panel",
"canceledOrderIds": []
},
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Dono retoma. E e F continuam canceladas (já compensadas)."
}
],
"expect": {
"executed": [
"ord_01JAD8K3QZ7XKM2P9RWT00009F"
],
"canceled": [
"ord_01JAD8K3QZ7XKM2P9RWT00009G",
"ord_01JAD8K3QZ7XKM2P9RWT00009H"
],
"viewerOrders": {
"ord_01JAD8K3QZ7XKM2P9RWT00009G": {
"status": "canceled",
"failureReason": "EMERGENCY_PAUSED",
"compensation": "credit"
}
}
}
}{
"$comment": "La orden gastó la mayor parte del TTL en la cola (objetivo desconectado/tiempo de espera) y llega con 20 s restantes. El conector la recibe pero, cuando le toca, el plazo (reloj del backend) ya pasó: no se ejecuta, ACK expired ORDER_EXPIRED → crédito al espectador.",
"name": "expire-before-execute",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.json",
"ttlSec": 900
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009E",
"seq": 1053,
"attempt": 1,
"actionKey": "dayz.fire_weapon",
"actionVersion": 1,
"params": {
"shots": 3
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:00:20.000Z",
"remainingMs": 20000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "remainingMs = 20000."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0016_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:01.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009E",
"seq": 1053,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
}
]
}
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:01.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009E",
"status": "delivered",
"result": "accepted"
}
]
}
},
{
"actor": "connector",
"kind": "internal",
"note": "Uma ação longa do mesmo alvo ainda está em execução; C espera a vez. Em T+25 s, localNow + clockOffsetMs > expiresAt → C não executa."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0017_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:25.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009E",
"seq": 1053,
"attempt": 1,
"status": "expired",
"at": "2026-10-16T21:00:25.000Z",
"reason": "ORDER_EXPIRED"
}
]
}
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:25.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009E",
"status": "expired",
"result": "accepted"
}
]
},
"note": "Compensação: crédito do espectador + aviso ao streamer (motivo ORDER_EXPIRED)."
}
],
"expect": {
"executions": 0,
"viewerOrder": {
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": null,
"connectorReason": "ORDER_EXPIRED"
}
}
}{
"$comment": "La entrega es at-least-once; la ejecución es at-most-once. La orden se reentrega (mismo orderId y seq, attempt+1) porque el ACK no llegó; el conector reconoce el orderId persistido y NO la ejecuta de nuevo.",
"name": "redelivery",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.json",
"redeliveryTimeoutSec": 35
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 2,
"radius": 20
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Primeira entrega (attempt 1). Backend marca delivered no envio e arma o timer de reentrega."
},
{
"actor": "connector",
"kind": "internal",
"note": "Persiste A em disco (received), executa: running → completed em T+3 s. ACK outbox persistido com delivered, running, completed."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_0010_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:03.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:02.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:03.000Z",
"result": {
"spawned": 2
}
}
]
},
"note": "A rede cai: o pedido não chega ao backend e a resposta nunca vem (timeout do cliente em 40 s)."
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0011_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:04.000Z",
"lastSeq": 1050,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
},
"note": "Poll segue em paralelo (um poll e um /ack podem estar em voo). ACK em voo não é duplicado no poll."
},
{
"actor": "backend",
"kind": "internal",
"note": "T+35 s sem ACK de A: volta para a fila de entrega com attempt 2.",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"status": "delivered",
"attempt": 2
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:36.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 2,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 2,
"radius": 20
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 862000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Reentrega: mesmo orderId, mesmo seq, attempt 2."
},
{
"actor": "connector",
"kind": "internal",
"note": "orderId já existe no store com estado final completed → NÃO executa. Mantém o outbox. Em T+43 s o /ack anterior estoura o timeout e o outbox é reenviado."
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_dayz_0012_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:43.000Z",
"lastSeq": 1050,
"wait": true,
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:00:01.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "running",
"at": "2026-10-16T21:00:02.000Z"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"seq": 1050,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:03.000Z",
"result": {
"spawned": 2
}
}
],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198012345678"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 60,
"clockOffsetMs": -840,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
},
"note": "Reenvio dos MESMOS ACKs (mesmos bytes; idempotência por (orderId, status))."
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:43.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"status": "delivered",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"status": "running",
"result": "accepted"
},
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009C",
"status": "completed",
"result": "accepted"
}
],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Backend aplica: completed. Ledger lançado uma vez."
}
],
"expect": {
"executions": 1,
"finalStatus": "completed"
}
}{
"$comment": "Revisión de seguridad de la 1.4, punto 1. Los valores del enum de toda variable que usa el creator pasan por la lista de bloqueo de la moderación. Un valor bloqueado (o moderación no disponible: fail-closed) se deniega, así que la variable queda sin valor y la alerta recurre al texto sin variables.",
"name": "result-enum-value-blocked",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.result-schema.json",
"templateResultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"alertTemplate": {
"en": "A crate dropped into {slot}",
"pt-BR": "Uma caixa caiu em {slot}",
"es": "Una caja cayó en {slot}"
},
"fallbackTemplate": {
"en": "A crate dropped",
"pt-BR": "Uma caixa caiu",
"es": "Una caja cayó"
},
"moderationBlockedValues": [
"vest"
]
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"actionKey": "dayz.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho de drop_item com a cópia H1."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0002_Kd3Rw8Zn",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"item_class": "m4a1",
"slot": "vest"
}
}
]
},
"note": "ACK completed com slot = vest, valor do enum que a moderação bloqueia."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem aviso: o result é válido; moderação não muda resultStatus nem dinheiro."
},
{
"actor": "backend",
"kind": "internal",
"note": "vest está na blocklist: a variável slot fica sem valor e o alerta usa o texto sem variável. Com a moderação fora do ar ou devolvendo erro, o resultado é o mesmo (fail-closed)."
}
],
"expect": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"storedResult": {
"item_class": "m4a1",
"slot": "vest"
},
"warnings": [],
"deniedByModeration": [
"slot"
],
"fallback": true,
"outputLine": {
"en": "A crate dropped",
"pt-BR": "Uma caixa caiu",
"es": "Una caja cayó"
}
}
}{
"$comment": "Revisión de seguridad de la 1.4, punto 4. El literal JSON -0 es un número válido para spawned (0..5), pero se guarda y se muestra como 0. El mensaje en bruto de abajo mantiene el literal -0 (un serializador JSON perdería el signo).",
"name": "result-negative-zero",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.result-schema.json",
"templateResultSchemaHash": "sha256:e50d33472ee8d6079096399a7acd79c724e4b29430cd914b189839d44d22b9fb",
"alertTemplate": {
"en": "{spawned} infected spawned",
"pt-BR": "{spawned} infectados apareceram",
"es": "{spawned} infectados aparecieron"
}
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"actionKey": "dayz.spawn_infected",
"actionVersion": 1,
"params": {
"count": 3,
"radius": 25
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho de spawn_infected com a cópia do resultSchema."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0005_Zc8Ue3Ho",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"seq": 1044,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"spawned": 0
}
}
]
},
"note": "ACK completed com spawned = -0 (literal no fio)."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000004",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem aviso; o backend grava spawned = 0 (nunca -0)."
},
{
"actor": "backend",
"kind": "internal",
"note": "A frase do overlay mostra 0 nas três locales, nunca -0."
}
],
"expect": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:e50d33472ee8d6079096399a7acd79c724e4b29430cd914b189839d44d22b9fb",
"storedResult": {
"spawned": 0
},
"warnings": [],
"fallback": false,
"outputLine": {
"en": "0 infected spawned",
"pt-BR": "0 infectados apareceram",
"es": "0 infectados aparecieron"
}
}
}{
"$comment": "Revisión de seguridad de la 1.4, punto 4 y R5. temperature_delta = -0.004 se redondea a -0 con 2 decimales; Intl.NumberFormat con el signDisplay por defecto imprime -0, así que el formateador debe normalizar (p. ej. signDisplay negative). El boolean interrupted no se interpola. formatCases lista la tabla R5 para los tres idiomas.",
"name": "result-rounds-to-negative-zero",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.result-schema.json",
"templateResultSchemaHash": "sha256:3442af7e7387cd62a372770ca8143b182b1f68da1f12d0aa22c6d4df36b4d2a1",
"alertTemplate": {
"en": "Storm for {duration_applied} s, intensity {intensity}, {temperature_delta} °C",
"pt-BR": "Tempestade por {duration_applied} s, intensidade {intensity}, {temperature_delta} °C",
"es": "Tormenta por {duration_applied} s, intensidad {intensity}, {temperature_delta} °C"
}
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000006",
"seq": 1046,
"attempt": 1,
"actionKey": "dayz.weather_storm",
"actionVersion": 1,
"params": {
"duration": 180
},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho de weather_storm com a cópia do resultSchema."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0006_Gr4Ny7Ts",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000006",
"seq": 1046,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"duration_applied": 180,
"intensity": 0.5,
"interrupted": false,
"temperature_delta": -0.004
}
}
]
},
"note": "ACK completed com temperature_delta = -0.004."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000006",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem aviso; -0.004 não é -0 e é guardado como veio."
},
{
"actor": "backend",
"kind": "internal",
"note": "Formatação com no máximo 2 casas: -0.004 vira 0 (nunca -0); 0.5 segue a locale; interrupted (boolean) não entra no texto."
}
],
"expect": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:3442af7e7387cd62a372770ca8143b182b1f68da1f12d0aa22c6d4df36b4d2a1",
"storedResult": {
"duration_applied": 180,
"intensity": 0.5,
"interrupted": false,
"temperature_delta": -0.004
},
"warnings": [],
"excludedFromLive": [
"interrupted"
],
"fallback": false,
"outputLine": {
"en": "Storm for 180 s, intensity 0.5, 0 °C",
"pt-BR": "Tempestade por 180 s, intensidade 0,5, 0 °C",
"es": "Tormenta por 180 s, intensidad 0,5, 0 °C"
},
"formatCases": [
{
"value": 0,
"en": "0",
"pt-BR": "0",
"es": "0"
},
{
"value": -0.004,
"en": "0",
"pt-BR": "0",
"es": "0"
},
{
"value": 0.5,
"en": "0.5",
"pt-BR": "0,5",
"es": "0,5"
},
{
"value": 1000000000000000,
"en": "1,000,000,000,000,000",
"pt-BR": "1.000.000.000.000.000",
"es": "1.000.000.000.000.000"
},
{
"value": -1000000000000000,
"en": "-1,000,000,000,000,000",
"pt-BR": "-1.000.000.000.000.000",
"es": "-1.000.000.000.000.000"
},
{
"value": 1e-7,
"en": "0",
"pt-BR": "0",
"es": "0"
},
{
"value": -1e-7,
"en": "0",
"pt-BR": "0",
"es": "0"
}
]
}
}{
"$comment": "Revisión de seguridad de la 1.4, punto 2. El mod cambia el enum del resultSchema sin versión nueva. El backend guarda un hash canónico (sha256 sobre JCS) por acción, la orden fija una copia al despachar, el ACK se comprueba con esa copia (nunca con el manifiesto vigente en el momento del ACK) y la plantilla de la alerta guarda el hash que vio el creator: un hash distinto significa recurrir al texto por defecto más una solicitud de revisión. El hash no viaja en el cable.",
"name": "result-schema-changed",
"context": {
"server": "srv_1",
"resultSchemaHashes": {
"H1": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"H2": "sha256:e87c8aebb2e84f3673cc7e7695e597772144f3bc977fc210aced97efd4f9c4e2"
},
"templateResultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"alertTemplate": {
"en": "A crate dropped into {slot}",
"pt-BR": "Uma caixa caiu em {slot}",
"es": "Una caja cayó en {slot}"
},
"fallbackTemplate": {
"en": "A crate dropped",
"pt-BR": "Uma caixa caiu",
"es": "Una caja cayó"
},
"moderationBlockedValues": []
},
"steps": [
{
"actor": "connector",
"kind": "manifest",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_dayz_m14_0002_Hs1Tq9Wb",
"sentAt": "2026-10-16T20:59:00.000Z",
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
},
"configHash": "sha256:c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4",
"actions": [
{
"actionKey": "dayz.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30,
"resultSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"item_class": {
"type": "string",
"maxLength": 32
},
"slot": {
"type": "string",
"maxLength": 16,
"enum": [
"hands",
"back",
"vest",
"pants"
]
}
},
"required": [
"item_class"
]
}
}
]
},
"note": "Manifesto com drop_item v1 e slot enum [hands, back, vest, pants] (hash H1)."
},
{
"actor": "backend",
"kind": "internal",
"note": "Backend aceita e grava H1 para (dayz.drop_item, 1). O streamer salva o texto do alerta com {slot}; o template guarda templateResultSchemaHash = H1."
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"actionKey": "dayz.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho da ordem A: a ordem fixa a cópia do resultSchema H1 na 1ª entrega."
},
{
"actor": "connector",
"kind": "manifest",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_dayz_m14_0003_Hs2Yk4Fc",
"sentAt": "2026-10-16T21:00:01.000Z",
"connector": {
"game": "dayz",
"platform": "dayz-server",
"connectorVersion": "0.3.1",
"sdkVersion": "0.3.1",
"gameVersion": "1.29.162510",
"instanceId": "inst_dayz_7f3a9c21"
},
"configHash": "sha256:c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4",
"actions": [
{
"actionKey": "dayz.drop_item",
"version": 1,
"paramsSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"maxLimits": {},
"needsTargetOnline": true,
"affectsOthers": false,
"minCooldownSec": 30,
"resultSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"item_class": {
"type": "string",
"maxLength": 32
},
"slot": {
"type": "string",
"maxLength": 16,
"enum": [
"hands",
"back",
"ground"
]
}
},
"required": [
"item_class"
]
}
}
]
},
"note": "O mod troca o enum de slot para [hands, back, ground] SEM version nova (H2 ≠ H1)."
},
{
"actor": "backend",
"kind": "internal",
"note": "Backend aceita e grava H2 para (dayz.drop_item, 1). A ordem A continua com a cópia H1; uma reentrega de A (attempt 2) também manteria H1."
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:02.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT0000B1",
"seq": 1049,
"attempt": 1,
"actionKey": "dayz.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:02.000Z",
"expiresAt": "2026-10-16T21:15:00.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho da ordem B: a ordem fixa a cópia H2."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0003_Wm5Ja1Qe",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"item_class": "m4a1",
"slot": "pants"
}
}
]
},
"note": "ACK de A com slot = pants: fora do enum de H2, mas validado contra a cópia H1."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem RESULT_SCHEMA_MISMATCH: A é valid contra H1."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0004_Bt6Cv2Ny",
"sentAt": "2026-10-16T21:00:06.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT0000B1",
"seq": 1049,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:06.000Z",
"result": {
"item_class": "m4a1",
"slot": "ground"
}
}
]
},
"note": "ACK de B com slot = ground: valid contra a cópia H2."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:06.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT0000B1",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem aviso."
},
{
"actor": "backend",
"kind": "internal",
"note": "Alerta de A: hash do template H1 = hash da ordem H1 → interpola pants. Alerta de B: H1 ≠ H2 → texto sem variável, e o painel do streamer pede revisão do texto (o enum mudou depois que ele aprovou; ground nunca passou pelo editor nem pela moderação)."
}
],
"expect": {
"orders": {
"ord_01JAD8K3QZ7XKM2P9RWT000008": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"warnings": [],
"fallback": false,
"streamerReviewRequired": false,
"outputLine": {
"en": "A crate dropped into pants",
"pt-BR": "Uma caixa caiu em pants",
"es": "Una caja cayó en pants"
}
},
"ord_01JAD8K3QZ7XKM2P9RWT0000B1": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:e87c8aebb2e84f3673cc7e7695e597772144f3bc977fc210aced97efd4f9c4e2",
"warnings": [],
"fallback": true,
"streamerReviewRequired": true,
"outputLine": {
"en": "A crate dropped",
"pt-BR": "Uma caixa caiu",
"es": "Una caja cayó"
}
}
},
"resultStatusIfValidatedAgainstCurrentManifest": {
"ord_01JAD8K3QZ7XKM2P9RWT000008": "invalid"
}
}
}{
"$comment": "Revisión de seguridad de la 1.4, punto 1. drop_item declara item_class (string SIN enum) y slot (string CON enum). El dueño del servidor elige el token de item_class libremente (p. ej. un insulto como streamer_lixo), así que se guarda y se muestra solo en el panel/admin/API. Solo slot llega a la alerta del directo.",
"name": "result-string-without-enum",
"context": {
"server": "srv_1",
"manifest": "manifest.dayz.result-schema.json",
"templateResultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"alertTemplate": {
"en": "A crate dropped into {slot}",
"pt-BR": "Uma caixa caiu em {slot}",
"es": "Una caja cayó en {slot}"
},
"moderationBlockedValues": []
},
"steps": [
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:00.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"actionKey": "dayz.drop_item",
"actionVersion": 1,
"params": {},
"target": {
"gameId": "dayz",
"provider": "steam",
"externalId": "76561198012345678"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:00:00.000Z",
"expiresAt": "2026-10-16T21:14:58.000Z",
"remainingMs": 898000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Despacho de drop_item: a ordem fixa a cópia do resultSchema com o hash H1."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.4",
"auth": {
"sessionToken": "dzst_EXAMPLE_dayz_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_dayz_r14s_0001_Pq7Lm2Xv",
"sentAt": "2026-10-16T21:00:04.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"seq": 1048,
"attempt": 1,
"status": "completed",
"at": "2026-10-16T21:00:04.000Z",
"result": {
"item_class": "streamer_lixo",
"slot": "hands"
}
}
]
},
"note": "ACK completed com item_class livre (token do dono) e slot do enum."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:04.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT000008",
"status": "completed",
"result": "accepted"
}
]
},
"note": "Aceito sem aviso: o result casa com a cópia H1 (resultStatus valid)."
},
{
"actor": "backend",
"kind": "internal",
"note": "A frase do overlay é montada no servidor por lista explícita de campos: só slot (string com enum) entra; item_class fica só no painel do dono, no admin e na API dessa organização. O editor nunca ofereceu {item_class}."
}
],
"expect": {
"finalStatus": "completed",
"resultStatus": "valid",
"resultSchemaHash": "sha256:f2a4db7b01a2535d404080cd7931df240dc52c3b0c21c03ac1f57488278be9e3",
"storedResult": {
"item_class": "streamer_lixo",
"slot": "hands"
},
"warnings": [],
"excludedFromLive": [
"item_class"
],
"editorOffersVariables": [
"slot"
],
"fallback": false,
"outputLine": {
"en": "A crate dropped into hands",
"pt-BR": "Uma caixa caiu em hands",
"es": "Una caja cayó en hands"
}
}
}{
"$comment": "Parte A: el heartbeat no incluye al creator → el backend retiene la orden (needsTargetOnline) hasta el TTL y la expira con TARGET_OFFLINE; el conector nunca la ve. Parte B (carrera): el creator sale después de la entrega → el conector retiene la orden localmente hasta expiresAt y responde expired TARGET_OFFLINE. Nunca es mudo: el motivo llega al espectador y al creator.",
"name": "target-offline",
"context": {
"server": "srv_2",
"manifest": "manifest.rust.json",
"mode": "enabled",
"ttlSec": 900
},
"steps": [
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_rust_0020_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:00:00.000Z",
"lastSeq": 519,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 2,
"maxPlayers": 150,
"clockOffsetMs": 120,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
},
"note": "Streamer 76561198087654321 ausente do playersOnline."
},
{
"actor": "backend",
"kind": "internal",
"note": "ord_01JAD8K3QZ7XKM2P9RWT00009J (rust.spawn_bear, needsTargetOnline) fica queued: alvo não visto no heartbeat dos últimos heartbeatStaleSec.",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009J",
"status": "queued",
"waitingReason": "TARGET_OFFLINE"
}
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:00:25.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [],
"manifestRequired": false,
"nextPollDelayMs": 0
},
"note": "Hold de 25 s sem ordem entregável."
},
{
"actor": "backend",
"kind": "internal",
"note": "T+900 s, alvo nunca apareceu: ord_01JAD8K3QZ7XKM2P9RWT00009J → expired, failureReason ORDER_EXPIRED com expiredWhileWaitingFor TARGET_OFFLINE, crédito ao espectador, aviso ao streamer.",
"state": {
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009J",
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": "TARGET_OFFLINE"
}
},
{
"actor": "connector",
"kind": "poll-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001"
},
"nonce": "n_poll_rust_0021_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:16:40.000Z",
"lastSeq": 519,
"wait": true,
"acks": [],
"heartbeat": {
"playersOnline": [
{
"provider": "steam",
"externalId": "76561198087654321"
},
{
"provider": "steam",
"externalId": "76561198000000001"
},
{
"provider": "steam",
"externalId": "76561198000000002"
}
],
"playerCount": 3,
"maxPlayers": 150,
"clockOffsetMs": 120,
"localPause": {
"active": false
},
"queueDepth": 0,
"uptimeSec": 7260
}
},
"note": "Parte B: streamer online."
},
{
"actor": "backend",
"kind": "poll-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:16:41.000Z",
"mode": "enabled",
"suspendedActions": [],
"ackResults": [],
"orders": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009K",
"seq": 520,
"attempt": 1,
"actionKey": "rust.spawn_wolf",
"actionVersion": 1,
"params": {
"count": 3
},
"target": {
"gameId": "rust",
"provider": "steam",
"externalId": "76561198087654321"
},
"sandbox": false,
"issuedAt": "2026-10-16T21:16:41.000Z",
"expiresAt": "2026-10-16T21:31:40.000Z",
"remainingMs": 899000
}
],
"manifestRequired": false,
"nextPollDelayMs": 0
}
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_rust_0022_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:16:42.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009K",
"seq": 520,
"attempt": 1,
"status": "delivered",
"at": "2026-10-16T21:16:42.000Z"
}
]
},
"note": "O streamer desconecta em T+1002 s, antes da execução."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:16:42.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009K",
"status": "delivered",
"result": "accepted"
}
]
}
},
{
"actor": "connector",
"kind": "internal",
"note": "Alvo offline é condição que pode se resolver: segura H localmente até expiresAt (reconectou → executa)."
},
{
"actor": "connector",
"kind": "ack-request",
"message": {
"protocolVersion": "1.0",
"auth": {
"sessionToken": "dzst_EXAMPLE_rust_session_token_not_a_real_secret_0001"
},
"nonce": "n_ack_rust_0023_x7Kp2QvLm9",
"sentAt": "2026-10-16T21:31:40.000Z",
"acks": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009K",
"seq": 520,
"attempt": 1,
"status": "expired",
"at": "2026-10-16T21:31:40.000Z",
"reason": "TARGET_OFFLINE"
}
]
},
"note": "Prazo venceu com o alvo ainda offline."
},
{
"actor": "backend",
"kind": "ack-response",
"message": {
"ok": true,
"serverTime": "2026-10-16T21:31:40.000Z",
"mode": "enabled",
"ackResults": [
{
"orderId": "ord_01JAD8K3QZ7XKM2P9RWT00009K",
"status": "expired",
"result": "accepted"
}
]
}
}
],
"expect": {
"executions": 0,
"viewerOrders": {
"ord_01JAD8K3QZ7XKM2P9RWT00009J": {
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": "TARGET_OFFLINE",
"connectorReason": null
},
"ord_01JAD8K3QZ7XKM2P9RWT00009K": {
"status": "expired",
"failureReason": "ORDER_EXPIRED",
"expiredWhileWaitingFor": "TARGET_OFFLINE",
"connectorReason": "TARGET_OFFLINE"
}
}
}
}