📊 Hytale Analytics Server

Centralized analytics endpoint for Hytale mods.

Available Endpoints

POST /api.php
Submit analytics data

Payload:

{
  "server_type": "SP|MP",
  "game_version": "1.0.0",
  "server_ip": "127.0.0.1",      // optional, required for MP
  "server_port": 25565,           // optional, required for MP
  "server_slots": 10,             // optional, required for MP
  "server_version": "1.0.0"       // optional, required for MP
}
GET /dashboard.php
View analytics dashboard
GET /health
Health check endpoint

Features

Configuration

The analytics server is configured via environment variables in docker-compose.yml:

Usage

Send POST requests to the analytics endpoint:

curl -X POST http://localhost:9090/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "server_type": "MP",
    "game_version": "1.0.0",
    "server_ip": "127.0.0.1",
    "server_port": 25565,
    "server_slots": 20,
    "server_version": "1.0.0"
  }'

Server Status: 🟢 Running