Hytale
Requirements
A Hytale account that owns the game. It's needed even to download the dedicated server, and for the server itself to run.
Java 25 (
openjdk-25-jreon Debian/Ubuntu,java-25-openjdkon RHEL-based distros). LinuxGSM installs it as a dependency.At least 4 GB of RAM. The download is about 3.5 GB.
Hytale isn't on Steam. LinuxGSM downloads the server with Hytale's official hytale-downloader.
Two One-Time Logins
A Hytale server needs two separate logins with your Hytale account. Each one is approved once in a browser, then saved and renewed automatically.
Downloader
During install
serverfiles/.hytale-downloader-credentials.json
Server
On the first start
serverfiles/Server/auth.enc (encrypted)
The server login is encrypted with a key tied to the machine, so it only works on the machine (or container) where it was created. After restoring a backup on another machine, or re-creating a Docker container, the server can't read it and needs a new login. LinuxGSM detects this on start and shows a new server login URL.
Installing
Create and install the server:
./linuxgsm.sh hytserver ./hytserver installDownloader login. The install stops at Hytale account login required and shows a URL. Open it in a browser, log in with your Hytale account and approve the code. The install waits up to 15 minutes, then downloads and extracts the server.
Start the server:
./hytserver startServer login. On the first start, LinuxGSM shows Hytale server login required with a URL, and sends it as an alert if alerts are configured. Open the URL and approve it within 10 minutes. The server saves the login and restores it on every restart. LinuxGSM checks this on every start and shows a new URL whenever the server isn't logged in.
If the server login code expires, or you need to log in again, send the command to the server console and approve the code shown in the console log (./hytserver console):
Docker
The flow is the same, but there's no terminal, so the login URLs appear in the container logs:
Start the container and follow its logs:
Approve the downloader login URL from the logs within 15 minutes. The install then completes.
When the server starts, approve the server login URL from the logs, or from your configured alert (Discord, ntfy and so on), within 10 minutes.
The downloader login is saved under serverfiles on the data volume, so re-creating or updating the container doesn't ask for it again. The server login is tied to the container, so after re-creating or updating the container, approve the new server login URL from the logs or your alert.
Server Settings
The server creates serverfiles/Server/config.json on first start. Stop the server before editing it.
ServerName
Name shown to players.
Password
Password to join. Empty for none.
MaxPlayers
Maximum number of players.
MOTD
Message of the day.
./hytserver details shows the server name, password and max players from this file.
To use a different patchline (for example pre-release), set hytalepatchline in your LinuxGSM instance config.
Ports
Game
5520
UDP
To change the port, set port in your LinuxGSM instance config (lgsm/config-lgsm/hytserver/hytserver.cfg). It's passed to the server as --bind.
Updates
./hytserver update and ./hytserver check-update use the saved downloader login, so they run unattended, for example from cron or with updateonstart="on". LinuxGSM keeps your world, config.json, mods, bans and the server login when it updates.
If the saved downloader login stops working, an unattended update fails within 5 minutes with a message, rather than waiting forever. Run ./hytserver update in a terminal and approve the login again.
Last updated
Was this helpful?

