diff --git a/discord-jda/discord-jda.json b/discord-jda/discord-jda.json index 33208467..2cd97444 100644 --- a/discord-jda/discord-jda.json +++ b/discord-jda/discord-jda.json @@ -37,5 +37,8 @@ "binaries": [ "java" ] + }, + "stats": { + "type": "jcmd" } } diff --git a/minecraft-curseforge/minecraft-curseforge.json b/minecraft-curseforge/minecraft-curseforge.json index d050dc7a..b574a20b 100644 --- a/minecraft-curseforge/minecraft-curseforge.json +++ b/minecraft-curseforge/minecraft-curseforge.json @@ -152,5 +152,11 @@ "image": "eclipse-temurin:${javaversion}" } ], - "requirements": {} + "requirements": {}, + "stats": { + "type": "jcmd" + }, + "query": { + "type": "minecraft" + } } diff --git a/minecraft-ftb/minecraft-ftb.json b/minecraft-ftb/minecraft-ftb.json index 8805fb33..1db889d1 100644 --- a/minecraft-ftb/minecraft-ftb.json +++ b/minecraft-ftb/minecraft-ftb.json @@ -184,5 +184,11 @@ "requirements": { "os": "linux", "arch": "amd64" + }, + "stats": { + "type": "jcmd" + }, + "query": { + "type": "minecraft" } } diff --git a/minecraft-velocity/minecraft-velocity.json b/minecraft-velocity/minecraft-velocity.json index ef7eff58..340407d1 100644 --- a/minecraft-velocity/minecraft-velocity.json +++ b/minecraft-velocity/minecraft-velocity.json @@ -100,5 +100,8 @@ "image": "eclipse-temurin:17" } ], - "requirements": {} + "requirements": {}, + "stats": { + "type": "jcmd" + } } diff --git a/minecraft-waterfall/minecraft-waterfall.json b/minecraft-waterfall/minecraft-waterfall.json index fa2a3405..1fac56b8 100644 --- a/minecraft-waterfall/minecraft-waterfall.json +++ b/minecraft-waterfall/minecraft-waterfall.json @@ -105,5 +105,8 @@ "image": "eclipse-temurin:17" } ], - "requirements": {} + "requirements": {}, + "stats": { + "type": "jcmd" + } } diff --git a/minecraft/minecraft.json b/minecraft/minecraft.json index 7d31ccec..4172c10d 100644 --- a/minecraft/minecraft.json +++ b/minecraft/minecraft.json @@ -338,5 +338,11 @@ "image": "eclipse-temurin:${javaversion}" } ], - "requirements": {} + "requirements": {}, + "stats": { + "type": "jcmd" + }, + "query": { + "type": "minecraft" + } } diff --git a/spec.json b/spec.json index 3432e0b5..7784d677 100644 --- a/spec.json +++ b/spec.json @@ -187,6 +187,14 @@ "required": [ "variables" ] + }, + "stats": { + "type": "object", + "$ref": "#/$defs/statsConfig" + }, + "query": { + "type": "object", + "$ref": "#/$defs/queryConfig" } }, "$defs": { @@ -1013,6 +1021,32 @@ "required": [ "file" ] + }, + "statsConfig": { + "type": "object", + "properties": { + "type": { + "enum": [ + "jcmd" + ] + } + }, + "required": [ + "type" + ] + }, + "queryConfig": { + "type": "object", + "properties": { + "type": { + "enum": [ + "minecraft" + ] + } + }, + "required": [ + "type" + ] } } } \ No newline at end of file