Self-hosting a Hytale server (and when renting one is worth it)
Updated: 27 September 2026 · Guide · VPS · Game server
According to the official server manual, a Hytale server runs on any machine with at least 4 GB of RAM and Java 25, on x64 as well as arm64. On top of that you need an open UDP port and a Hytale account to authenticate the server with. Without this authentication it won't accept players.
Install Java 25
Hytale requires Java 25 and recommends the Adoptium (Temurin) builds. After installing, check that version 25 is really the active one:
java --version
Get the server files
For a server meant to run for a longer time, the manual recommends the Hytale downloader, a command-line tool from the Hytale support site. On first run it signs in to your Hytale account with a device code, then downloads the current version as an archive:
./hytale-downloader-linux-amd64 -print-version ./hytale-downloader-linux-amd64 -download-path game.zip unzip game.zip -d ~/hytale
The archive contains Assets.zip (a good 3 GB), the Server folder with HytaleServer.jar, and the start scripts start.sh and start.bat. The manual shows a start command with -XX:AOTCache=HytaleServer.aot. Version 0.6.8, however, doesn't contain that file, only HytaleServer.aot.config. So use the supplied start script or leave the switch out.
Start and authenticate
The first start belongs in a session that survives the SSH connection dropping (tmux or screen), because authentication runs through the server console:
tmux new -s hytale cd ~/hytale && ./start.sh
Once the server is running, enter /auth login device in its console. The server shows a link and a code; confirm both in the browser with your Hytale account, and it then accepts players. In version 0.6.8, which we measured, it stores the authentication encrypted by default (auth.enc), so it survives a restart. The manual names a limit of 500 servers per Hytale licence.
/auth login device
Open the port: UDP, not TCP
Hytale speaks QUIC over UDP, default port 5520. Opening TCP does nothing. Behind a router, the port forward must explicitly apply to UDP.
sudo ufw allow 5520/udp
In game you connect via direct connection with IP and port. According to the manual Hytale doesn't support SRV records yet, so the port always belongs in the address.
Memory and view distance
The biggest driver of memory use is view distance. The manual recommends at most 12 chunks (384 blocks). In the config.json a fresh server creates, MaxViewRadius was set to 32 for us. With that value, a 4 GB server blew through its memory in our test with a single player exploring.
The second mistake is the Java upper limit. If you set -Xmx to the entire RAM, Java has nothing left for network buffers, world generation and the JVM itself, and the operating system's out-of-memory killer ends the process. For us it ran stably with three quarters of the memory as the limit. The supplied start.sh takes your own JVM switches from a file jvm.options next to the script, one per line:
-Xms1G -Xmx3G
Important when changing settings: Hytale reads config.json and permissions.json at start and writes them back itself during operation. Changes you make in the file on a running server are often gone afterwards. So stop first, then edit, then start. Whitelist, admins and bans are best set straight away with the console commands /whitelist, /op and /ban.
Updates: client and server must match exactly
Hytale only lets client and server together with exactly the same protocol version. After a game update nobody can join a server still running the old version. The server has its own updater for this: it downloads new versions into a staging folder, exits with code 8, and start.sh applies the files on the next run. By default, though, it doesn't apply updates itself (AutoApplyMode is set to Disabled). So you have to help with /update apply --confirm or change the mode in config.json.
/update status /update download /update apply --confirm
Self-host or rent: the honest trade-off
Self-hosting is worth it if you run a server with enough RAM anyway and don't mind the console. For Hytale, plan on more than the 4 GB from the manual as soon as several players are online at the same time.
A Hytale server rented from us takes exactly the snags above off your hands. It authenticates automatically at start, without a device code in the console. We provide new versions centrally and restart the servers afterwards. View distance and Java limit are tuned to the plan. You change settings, whitelist, admins and bans in the control panel instead of in files, and you install mods from CurseForge there with one click, including required dependencies. The difference isn't performance but who takes care of it when an update comes out at night.
- Rent a Hytale serverAuthenticated automatically, updates handled centrally
- All Hytale settings in the panelGenerated from the control panel's source code
- Rather self-host: VPS plansFull root access, you do everything yourself
- Before this: secure the VPSSet up SSH key and firewall
- Server running, but nobody can join?Five checks and all default ports