Skip to main content
Hytale Simulator - Free database and calculator tools for Hytale game

Hytale Server Hosting Guide

Complete guide to setting up, configuring, and optimizing your own Hytale server.

20 min readServer
UDP
Protocol
5520
Default Port
4GB+
Min RAM
36
Default View Radius

1. System Requirements

Before setting up your Hytale server, ensure your system meets these minimum requirements:

Minimum

  • RAM: 4GB dedicated
  • CPU: 2 cores, 2.5GHz+
  • Storage: 10GB SSD
  • Network: 10Mbps upload
  • Players: 1-10

Recommended

  • RAM: 8GB+ dedicated
  • CPU: 4 cores, 3.0GHz+
  • Storage: 50GB NVMe SSD
  • Network: 100Mbps upload
  • Players: 20+
RAM Formula: Use our RAM Calculator to estimate exact memory needs based on player count and view radius. The formula is approximately: 4 + Players × (0.5 + ViewRadius² × 0.5/36²) GB

2. Server Installation

2.1 Download Server Files

Hytale uses the official hytale-downloader tool to download and update server files.

Windows
hytale-downloader.exe
Linux
./hytale-downloader

2.2 Directory Structure

After downloading, your server directory should look like this:

Server Directory Structure
hytale-server/
├── assets.zip          ← Game assets (extract here)
├── server/
│   ├── config/         ← Server configuration files
│   ├── worlds/         ← World save data
│   └── mods/           ← Server-side mods
├── hytale-server.exe   ← Server executable (Windows)
└── hytale-server       ← Server executable (Linux)

2.3 Key Paths

Launcher install path (Windows):

Default Install Location
C:\Users\[Username]\AppData\Roaming\Hytale\install

Pre-release version path:

Pre-release Files
...\install\pre-release\package\game\latest
Important: When extracting assets.zip, make sure to extract it to the correct directory level. The assets folder should be at the same level as the server executable.

3. Port Forwarding (UDP 5520)

Port forwarding allows players outside your local network to connect to your server. Hytale uses UDP port 5520 by default.

UDP
Protocol
5520
Port Number
Inbound
Direction

3.1 General Steps

  1. 1Find your router's IP address (usually 192.168.1.1 or 192.168.0.1)
  2. 2Log in to your router admin panel in a web browser
  3. 3Navigate to Port Forwarding / NAT / Virtual Server settings
  4. 4Add a new rule: Protocol = UDP, Port = 5520, IP = Your server's local IP
  5. 5Save and apply the changes

3.2 Find Your Local IP

Windows:

Command Prompt
ipconfig

Look for "IPv4 Address" under your network adapter

Linux:

Terminal
ip addr show

Look for "inet" under your network interface

3.3 Verify Port Status

After configuring port forwarding, verify that the port is open using our diagnostic tool or online port checkers.

Open Connection Diagnostic Tool

4. Firewall Configuration

Even with port forwarding, your system's firewall may block incoming connections. You need to allow UDP port 5520.

4.1 Windows Firewall

  1. 1. Open Windows Defender Firewall with Advanced Security
  2. 2. Click Inbound RulesNew Rule...
  3. 3. Select Port → Next
  4. 4. Select UDP, enter 5520 → Next
  5. 5. Select Allow the connection → Next
  6. 6. Check all profiles (Domain, Private, Public) → Next
  7. 7. Name it "Hytale Server" → Finish

Or use PowerShell (Run as Administrator):

PowerShell (Admin)
New-NetFirewallRule -DisplayName "Hytale Server" -Direction Inbound -Protocol UDP -LocalPort 5520 -Action Allow

4.2 Linux Firewall (ufw)

Terminal
sudo ufw allow 5520/udp
sudo ufw reload

4.3 Linux Firewall (iptables)

Terminal
sudo iptables -A INPUT -p udp --dport 5520 -j ACCEPT
sudo iptables-save > /etc/iptables/rules.v4

5. Performance Optimization

5.1 MaxViewRadius

The MaxViewRadius setting controls how far players can see. Higher values increase immersion but require significantly more RAM and CPU.

View RadiusRAM ImpactBest For
12-24LowBudget servers, 20+ players
36 (default)MediumBalanced gameplay
48-128HighSmall private servers
Use our Server Config Generator to find the optimal settings for your hardware and player count.

5.2 RAM Allocation

The RAM formula based on community testing:

RAM (GB) = 4 + Players × (0.5 + ViewRadius² × 0.5/36²)

For example: 20 players with view radius 36 ≈ 4 + 20 × (0.5 + 1 × 0.5) = 4 + 20 = 24 GB

6. Server Updates & Maintenance

6.1 Safe Update Process

Critical: Always stop the server before updating! Running updates while the server is active can corrupt files.
  1. 1Stop the server using the stop command in console
  2. 2Backup your server/ folder (especially worlds and config)
  3. 3Run the downloader to fetch new files
  4. 4Extract and overwrite assets.zip and server files
  5. 5Restart the server

6.2 Switching to Pre-release

To test experimental features, you can switch to the pre-release branch:

Switch to Pre-release
hytale-downloader -patchline pre-release
Good News: Hytale supports cross-version mod compatibility. Unlike Minecraft, updating your server usually won't break existing mods! This significantly reduces maintenance burden.

6.3 CLI Parameters Reference

ParameterDescription
-patchline releaseDownload stable release (default)
-patchline pre-releaseDownload experimental pre-release
check updateCheck downloader version (not game version)

7. Troubleshooting

Players can't connect

  • • Verify port 5520/UDP is forwarded correctly
  • • Check firewall rules on both router and OS
  • • Ensure players use your public IP (not local 192.168.x.x)
  • • Use our Connection Diagnostic tool

Server crashes or high lag

  • • Reduce MaxViewRadius setting
  • • Allocate more RAM to the server
  • • Check for mod conflicts
  • • Monitor CPU usage during peak hours

Update fails with "files in use"

  • • Run stop command first
  • • Wait for server process to fully terminate
  • • Check Task Manager for lingering processes