Rebuild SCUM plugin-owned data flow

This commit is contained in:
npc0-hue
2026-08-18 07:01:17 +08:00
parent 302f1f64b7
commit 98bf944f4c
39 changed files with 1832 additions and 223 deletions
@@ -23,13 +23,11 @@
},
"durationSeconds": {
"type": "integer",
"minimum": 30,
"maximum": 86400
"minimum": 1
},
"maxParticipants": {
"type": "integer",
"minimum": 1,
"maximum": 1000
"minimum": 1
},
"announce": {
"type": "boolean"
@@ -43,13 +41,12 @@
"minimum": 0,
"maximum": 100
},
"npc": { "type": "integer", "minimum": 0, "maximum": 10000 },
"item": { "type": "integer", "minimum": 0, "maximum": 10000 },
"zombie": { "type": "integer", "minimum": 0, "maximum": 10000 },
"animal": { "type": "integer", "minimum": 0, "maximum": 10000 },
"npc": { "type": "integer", "minimum": 0 },
"item": { "type": "integer", "minimum": 0 },
"zombie": { "type": "integer", "minimum": 0 },
"animal": { "type": "integer", "minimum": 0 },
"produces": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
@@ -57,11 +54,11 @@
"properties": {
"tradeGoodsId": { "type": "string", "minLength": 1, "maxLength": 128 },
"percent": { "type": "integer", "minimum": 0, "maximum": 100 },
"value": { "type": "integer", "minimum": 1, "maximum": 10000 },
"r": { "type": "number", "minimum": 0, "maximum": 2000000 },
"x": { "type": "number", "minimum": -2000000, "maximum": 2000000 },
"y": { "type": "number", "minimum": -2000000, "maximum": 2000000 },
"z": { "type": "number", "minimum": -2000000, "maximum": 2000000 }
"value": { "type": "integer", "minimum": 1 },
"r": { "type": "number", "minimum": 0 },
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" }
}
}
},