Skip to content

Configuration

All configuration is done through environment variables in your .env file.

Server Configuration

VariableDefaultDescription
JAVA_XMS4GMinimum RAM allocation
JAVA_XMX8GMaximum RAM allocation
BIND_PORT5520Game server UDP port
AUTO_DOWNLOADtrueAuto-download game files (x64 only)
SERVER_EXTRA_ARGS-Extra arguments for the server
TZUTCTimezone for logs

Panel Configuration

VariableDefaultDescription
PANEL_USERadminPanel login username
PANEL_PASSadminPanel login password
PANEL_PORT3000Panel HTTP port
JWT_SECRET(random)JWT signing key
MODTALE_API_KEY-Modtale API key for mod integration

RAM Guidelines

PlayersRecommended JAVA_XMX
1-104G
10-206G
20-508G
50+12G+

Example Configuration

env
# Server Resources
JAVA_XMS=4G
JAVA_XMX=8G
BIND_PORT=5520

# Auto-download (set to false if you want to provide files manually)
AUTO_DOWNLOAD=true

# Extra server arguments (e.g., for mods)
SERVER_EXTRA_ARGS=--mods mods

# Panel Authentication
PANEL_USER=myadmin
PANEL_PASS=supersecretpassword123
JWT_SECRET=my-random-secret-key

# Timezone (see: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
TZ=Europe/Madrid

# Modtale integration (optional)
MODTALE_API_KEY=your-api-key-here

Docker Compose Customization

You can customize volumes and ports in docker-compose.yml:

yaml
services:
  hytale-server:
    volumes:
      - ./server:/opt/hytale          # Server files
      - ./my-custom-mods:/opt/hytale/mods  # Custom mods folder
    ports:
      - "5520:5520/udp"               # Game port
    environment:
      - JAVA_XMX=16G                  # Override RAM

  hytale-panel:
    ports:
      - "8080:3000"                   # Change panel port to 8080

Timezone List

Common timezones:

RegionTimezone
US EastAmerica/New_York
US WestAmerica/Los_Angeles
UKEurope/London
Central EuropeEurope/Berlin
SpainEurope/Madrid
JapanAsia/Tokyo
AustraliaAustralia/Sydney

Full list of timezones

Not affiliated with Hypixel Studios or Hytale.