Quick Start

Get your Hytale server running in minutes

Quick Start

Get your Hytale server up and running in just a few minutes.

Prerequisites

  • Docker installed (version 20.10+)
  • A Hytale account for authentication
  • UDP port 5520 available
RequirementDetails
Java25+ (included in image)
RAM4GB minimum, 8GB+ recommended
Disk~2GB for server files
NetworkUDP port 5520

Create docker-compose.yml

Create a new directory and add this docker-compose.yml:

services:
  hytale:
    image: rxmarin/hytale-docker:latest
    container_name: hytale-server
    restart: unless-stopped
    stdin_open: true
    tty: true
    ports:
      - "5520:5520/udp"
    environment:
      JAVA_OPTS: "-Xms4G -Xmx8G"
      AUTO_UPDATE: "true"
    volumes:
      - hytale-data:/server

volumes:
  hytale-data:

Start the Server

docker compose up -d
docker compose logs -f

Authenticate

On first run, you'll see a device authorization prompt:

═══════════════════════════════════════════════════════════
  DEVICE AUTHORIZATION REQUIRED
═══════════════════════════════════════════════════════════
  Visit: https://accounts.hytale.com/device
  Code:  XXXX-XXXX
═══════════════════════════════════════════════════════════
  1. Visit the URL in your browser
  2. Log in with your Hytale account
  3. Enter the verification code
  4. Authorize the server

The server starts automatically after authorization.

Connect

Open Hytale and connect to:

your-ip:5520

Hytale uses QUIC over UDP (not TCP). Forward UDP port 5520 on your firewall/router.

Server Management

# View logs
docker compose logs -f

# Stop server
docker compose down

# Restart server
docker compose restart

# Send commands
docker exec -it hytale-server hytale cmd /help
docker exec -it hytale-server hytale cmd /list

# Check auth status
docker exec -it hytale-server hytale auth status

# Check for updates
docker exec -it hytale-server hytale update check

What Happens on Startup

  1. Load tokens — Existing tokens from /server/.hytale/tokens/
  2. Authenticate — Device code flow if no tokens exist
  3. Download server — If new or update available (with AUTO_UPDATE=true)
  4. Sync mods — CurseForge mods if configured
  5. Create session — Game session with selected profile
  6. Start server — Java process with session tokens
  7. Background refresh — Daemon keeps tokens valid

Next Steps

On this page