功能修改
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "adminActorId", "actionCategory", "approved"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"adminActorId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"actionCategory": { "type": "string", "enum": ["announcement", "teleport", "spawn", "kick", "ban", "unban", "restart", "config-review", "other"] },
|
||||
"targetPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"reason": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
"approved": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "playerName", "channel", "message"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"playerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"channel": { "type": "string", "enum": ["local", "global", "squad", "admin", "unknown"] },
|
||||
"message": { "type": "string", "minLength": 1, "maxLength": 512 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "victimPlayerId", "victimName", "weaponClass", "distanceMeters"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"killerPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"killerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"victimPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"victimName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"weaponClass": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"distanceMeters": { "type": "number", "minimum": 0, "maximum": 5000 },
|
||||
"suicide": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "playerName", "sessionId", "outcome"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"playerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"sessionId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"outcome": { "type": "string", "enum": ["accepted", "rejected"] },
|
||||
"networkFingerprint": { "type": "string", "minLength": 1, "maxLength": 128 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "playerName", "sessionId", "reason"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"playerName": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"sessionId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"reason": { "type": "string", "enum": ["disconnect", "timeout", "kicked", "server-stop", "unknown"] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "action", "mineClass", "zone", "suspicious"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"action": { "type": "string", "enum": ["placed", "triggered", "detonated", "disarmed", "removed"] },
|
||||
"mineClass": { "type": "string", "minLength": 1, "maxLength": 80 },
|
||||
"zone": { "type": "string", "minLength": 1, "maxLength": 32 },
|
||||
"suspicious": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "serverFps", "frameTimeMs", "onlinePlayers", "entityCount"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"serverFps": { "type": "number", "minimum": 0, "maximum": 1000 },
|
||||
"frameTimeMs": { "type": "number", "minimum": 0, "maximum": 1000 },
|
||||
"onlinePlayers": { "type": "integer", "minimum": 0, "maximum": 1000 },
|
||||
"entityCount": { "type": "integer", "minimum": 0, "maximum": 10000000 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "tradeKind", "itemCount", "currencyDelta", "suspicious"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"counterpartyPlayerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"tradeKind": { "type": "string", "enum": ["purchase", "sale", "transfer", "unknown"] },
|
||||
"itemCount": { "type": "integer", "minimum": 0, "maximum": 1000 },
|
||||
"currencyDelta": { "type": "integer", "minimum": -1000000000, "maximum": 1000000000 },
|
||||
"suspicious": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["occurredAt", "playerId", "targetKind", "targetId", "outcome", "suspicious"],
|
||||
"properties": {
|
||||
"occurredAt": { "type": "string", "format": "date-time", "minLength": 1, "maxLength": 40 },
|
||||
"playerId": { "type": "string", "minLength": 1, "maxLength": 96 },
|
||||
"targetKind": { "type": "string", "enum": ["door", "container", "vehicle", "base", "unknown"] },
|
||||
"targetId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
||||
"outcome": { "type": "string", "enum": ["success", "failed", "cancelled"] },
|
||||
"suspicious": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user