From ccb72d660cd040fb8b86c21a2b776cf1c99dec4a Mon Sep 17 00:00:00 2001 From: Jack Stupple Date: Mon, 21 Feb 2022 08:59:36 +0000 Subject: [PATCH] Add pterodactyl egg config --- egg-minecraft-prom-exporter.json | 70 ++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 egg-minecraft-prom-exporter.json diff --git a/egg-minecraft-prom-exporter.json b/egg-minecraft-prom-exporter.json new file mode 100644 index 0000000..6f80e55 --- /dev/null +++ b/egg-minecraft-prom-exporter.json @@ -0,0 +1,70 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1", + "update_url": null + }, + "exported_at": "2022-02-21T08:57:54+00:00", + "name": "Minecraft Prom Exporter", + "author": "jack.stupple@protonmail.com", + "description": "Minecraft Prom Exporter", + "features": null, + "images": [ + "joshi425\/minecraft_exporter", + "ghcr.io\/joshi425\/minecraft-exporter:latest", + "ghcr.io\/surdaft\/minecraft-exporter:latest" + ], + "file_denylist": [], + "startup": "python3 minecraft_exporter.py", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Startup complete\"\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": null, + "container": "alpine:3.4", + "entrypoint": "ash" + } + }, + "variables": [ + { + "name": "RCON Host", + "description": "Host of the minecraft server", + "env_variable": "RCON_HOST", + "default_value": "host.docker.internal", + "user_viewable": false, + "user_editable": false, + "rules": "string|max:32" + }, + { + "name": "RCON Port", + "description": "Port of minecraft server RCON", + "env_variable": "RCON_PORT", + "default_value": "25575", + "user_viewable": false, + "user_editable": false, + "rules": "numeric|min:0|max:35000" + }, + { + "name": "RCON Password", + "description": "Password for minecraft server RCON", + "env_variable": "RCON_PASSWORD", + "default_value": "", + "user_viewable": false, + "user_editable": false, + "rules": "string|min:0" + }, + { + "name": "HTTP Port", + "description": "Port to host metric server on", + "env_variable": "HTTP_PORT", + "default_value": "8000", + "user_viewable": false, + "user_editable": false, + "rules": "numeric|min:0|max:35000" + } + ] +} \ No newline at end of file