feat(scum): rebuild plugin-owned management data
This commit is contained in:
@@ -3,12 +3,23 @@
|
||||
"title": "SCUMEventStartPayload",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["eventType"],
|
||||
"required": ["eventId", "eventType", "class", "title", "placard", "percent", "produces", "durationSeconds"],
|
||||
"properties": {
|
||||
"eventId": {
|
||||
"type": "string",
|
||||
"maxLength": 96,
|
||||
"pattern": "^[A-Za-z0-9_.:-]{1,96}$"
|
||||
},
|
||||
"eventType": {
|
||||
"type": "string",
|
||||
"maxLength": 24,
|
||||
"enum": ["airdrop", "convoy", "horde", "zombie-surge"]
|
||||
"enum": ["range", "fixed"]
|
||||
},
|
||||
"class": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2,
|
||||
"enum": [1, 2]
|
||||
},
|
||||
"durationSeconds": {
|
||||
"type": "integer",
|
||||
@@ -23,6 +34,37 @@
|
||||
"announce": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"placard": {
|
||||
"type": "string",
|
||||
"maxLength": 500
|
||||
},
|
||||
"percent": {
|
||||
"type": "integer",
|
||||
"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 },
|
||||
"produces": {
|
||||
"type": "array",
|
||||
"maxItems": 100,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["tradeGoodsId", "percent", "value", "r", "x", "y", "z"],
|
||||
"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 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
|
||||
Reference in New Issue
Block a user