Complete guide to installing and running a Hytale dedicated server on Linux using Java 25 and the Hytale Downloader.
Hytale requires Java 25 LTS. Install Adoptium Temurin on Ubuntu/Debian:
# Add Adoptium repository
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
echo "deb https://packages.adoptium.net/artifactory/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
# Install Java 25
sudo apt update
sudo apt install temurin-25-jdk -y
# Verify installation
java --versionYou should see output like: openjdk 25.0.1 2025-10-21 LTS
The Hytale Downloader CLI is the recommended method for production servers and easy updates.
# Create server directory
mkdir -p ~/hytale-server && cd ~/hytale-server
# Download the Hytale Downloader
wget https://downloader.hytale.com/hytale-downloader.zip
unzip hytale-downloader.zip
# Rename for convenience and make executable
mv hytale-downloader-linux-amd64 hytale-downloader
chmod +x hytale-downloaderHytale Downloader Commands
./hytale-downloader - Download latest version./hytale-downloader -print-version - Show game version./hytale-downloader -check-update - Check for updatesRun the downloader to get the latest server files.
# Download the latest server files
./hytale-downloader
# This will download:
# - Server/HytaleServer.jar
# - Server/HytaleServer.aot
# - Assets.zipStart the server for the first time.
cd ~/hytale-server/Server
java -Xms4G -Xmx8G -jar HytaleServer.jar --assets ../Assets.zipPerformance Tip
For faster startup after first run, use AOT caching:
java -Xms4G -Xmx8G -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets ../Assets.zipHytale servers must be linked to your account. Each account can create up to 100 servers.
/auth login deviceOpen UDP port 5520 for the Hytale server.
# Using UFW (Ubuntu/Debian)
sudo ufw allow 5520/udp
# Or using iptables
sudo iptables -A INPUT -p udp --dport 5520 -j ACCEPTNote
Hytale uses QUIC protocol over UDP. TCP forwarding is NOT required.
Create a systemd service for automatic startup and management.
[Unit]
Description=Hytale Dedicated Server
After=network.target
[Service]
User=hytale
WorkingDirectory=/home/hytale/hytale-server/Server
ExecStart=/usr/bin/java -Xms4G -Xmx8G -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets ../Assets.zip
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target# Enable and start the service
sudo systemctl daemon-reload
sudo systemctl enable hytale
sudo systemctl start hytale
# Check status
sudo systemctl status hytaleOnce your server is running and authenticated, players can connect using:
123.45.67.89:5520)curl ifconfig.me