README.md aktualisiert

This commit is contained in:
Cap
2026-02-26 13:17:46 +01:00
parent cca63588d7
commit 1576301136

View File

@@ -8,6 +8,7 @@ Ein Node.js-Dienst für Pterodactyl Panel, der Gameserver (DayZ, CS2, Rust, ARK
- Konfigurierbares Abfrage-Intervall - Konfigurierbares Abfrage-Intervall
- Optionaler API-Key-Schutz - Optionaler API-Key-Schutz
- CORS-Header für Webintegration - CORS-Header für Webintegration
- Sauberes Beenden bei Pterodactyl Stop (SIGINT/SIGTERM)
- Einfache Konfiguration per `config.json` - Einfache Konfiguration per `config.json`
--- ---
@@ -44,7 +45,7 @@ Ein Node.js-Dienst für Pterodactyl Panel, der Gameserver (DayZ, CS2, Rust, ARK
{ {
"label": "DayZ Main Server", "label": "DayZ Main Server",
"type": "dayz", "type": "dayz",
"host": "192.168.1.10", "host": "1.2.3.4",
"port": 2302, "port": 2302,
"queryPort": 2303, "queryPort": 2303,
"image": "https://example.com/images/dayz.jpg" "image": "https://example.com/images/dayz.jpg"
@@ -52,7 +53,7 @@ Ein Node.js-Dienst für Pterodactyl Panel, der Gameserver (DayZ, CS2, Rust, ARK
{ {
"label": "CS2 Server", "label": "CS2 Server",
"type": "cs2", "type": "cs2",
"host": "192.168.1.10", "host": "1.2.3.4",
"port": 27015, "port": 27015,
"image": "https://example.com/images/cs2.jpg" "image": "https://example.com/images/cs2.jpg"
} }
@@ -112,7 +113,7 @@ X-API-Key: DEINKEY
{ {
"label": "CS2 Server", "label": "CS2 Server",
"type": "cs2", "type": "cs2",
"address": "192.168.1.10:27015", "address": "1.2.3.4:27015",
"image": "https://example.com/images/cs2.jpg", "image": "https://example.com/images/cs2.jpg",
"status": "online", "status": "online",
"players": 8, "players": 8,
@@ -147,5 +148,6 @@ GameDig verwendet UDP. Wenn der Pterodactyl-Server und die abzufragenden Gameser
- **Runtime:** Node.js 20 (Alpine) - **Runtime:** Node.js 20 (Alpine)
- **Docker Image:** `ghcr.io/pterodactyl/yolks:nodejs_20` - **Docker Image:** `ghcr.io/pterodactyl/yolks:nodejs_20`
- **Modul-System:** ESM (`"type": "module"` in package.json) - **Modul-System:** ESM (`"type": "module"` in `package.json`)
- **GameDig:** v4.x (CommonJS, via Default-Import) - **GameDig:** v4.x (CommonJS, via Default-Import `import pkg from 'gamedig'`)
- **Stop-Verhalten:** Sauberes Beenden via SIGINT/SIGTERM