This repository provides a production-ready, containerized environment for running a Hytale Dedicated Server.
It includes:
- Auto-Updates: Downloads the latest game files on startup.
- Auto-Restart: Watchdog system detects crashes and restarts the server.
- Persistence: Smart logic preserves your authentication and config files.
Docker Image: ghcr.io/otorexer/hytale-server:latest
- Docker Engine
- Docker Compose
- Create a
docker-compose.ymlfile:
services:
hytale:
image: ghcr.io/otorexer/hytale-server:latest
container_name: hytale-server
restart: unless-stopped
ports:
- "5520:5520/udp"
volumes:
- ./hytale_data:/hytale/data
environment:
- RAM_MAX=6G
- RAM_MIN=4G
stdin_open: true
tty: true- Start the server:
docker compose up -d
You must authenticate the server and save the credentials manually the first time.
- Attach to the console:
docker attach hytale-server
(If you don't see anything, press Enter). 2. Login: Run the command:
/auth login device
Follow the link provided to authenticate. 3. Enable Persistence: By default, Hytale deletes your login when it restarts. To fix this, run:
/auth persistence Encrypted
You must see the message "Credentials saved to..." before proceeding. 4. Detach:
Press Ctrl + P then Ctrl + Q to leave the console running.
The server checks for updates on every restart. It creates a temporary backup of your critical files (configs.json, permissions.json, auth.enc), updates the game, and then restores your files.
If the server freezes or throws a NullPointerException (common in Beta), the built-in watchdog detects the error log and restarts the container automatically.
To run commands like /op or /gamemode:
docker attach hytale-server
This is a community-maintained Docker image. It is not officially affiliated with, endorsed by, or connected to Hypixel Studios. All game files are downloaded directly from official sources during the container runtime.