Server Setup
Host your own Hytale server for multiplayer with friends or a public community. This guide covers everything from basic setup to advanced configuration.
Requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8+ GB |
| Java | Java 25 | Java 25 (Adoptium) |
| Architecture | x64 or arm64 | x64 |
| Network | UDP port 5520 | UDP port 5520 |
Installation
Download from adoptium.net. Pick the latest Java 25 for your OS.
Get HytaleServer.jar and Assets.zip from the official source.
Make a new folder and put the files inside.
java -jar HytaleServer.jar --assets Assets.zipFaster Boot with AOT Cache
The server includes an AOT cache for faster startup:
java -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets Assets.zip
Server Folder Structure
Networking
Protocol: QUIC over UDP
Hytale uses QUIC (not TCP). This means:
- Port 5520 UDP by default
- You must forward UDP, not TCP
- Lower latency than traditional protocols
- Better packet loss handling
TCP port forwarding will NOT work. You must forward UDP port 5520 in your router settings.
Port Forwarding
- Log into your router (usually 192.168.1.1)
- Find "Port Forwarding" settings
- Add a new rule: UDP 5520 → Your server's local IP
- Save and restart router if needed
Authentication
Server authentication details:
- Servers require authentication for service APIs
- Limit: 100 servers per Hytale license
- Protocol hash verification ensures client-server compatibility
- Players auto-download required assets when joining (no manual mod installation)
Launch Arguments
| Argument | Description |
|---|---|
--assets <path> | Path to assets zip file (required) |
--bind <port> | Custom port (default 5520) |
--disable-sentry | Disable crash reporting (useful for development) |
--early-plugins <path> | Custom path for bootstrap plugins |
Configuration
config.json
Main server settings:
{
"serverName": "My Hytale Server",
"maxPlayers": 20,
"viewDistance": 12,
"gameMode": "survival",
"difficulty": "normal",
"pvp": true,
"port": 5520
}
permissions.json
Player permissions and groups:
{
"groups": {
"admin": {
"permissions": ["*"],
"prefix": "[Admin]"
},
"moderator": {
"permissions": ["kick", "mute", "tp"],
"prefix": "[Mod]"
}
},
"players": {
"player-uuid-here": {
"group": "admin"
}
}
}
Installing Mods
Get .zip or .jar files from CurseForge or other sources.
Put the files in your server's mods/ folder.
Stop and start the server to load new mods.
Remember: all mods run server-side. Players don't need to download anything to join your modded server!
Essential Commands
| Command | What It Does |
|---|---|
/op <player> | Give operator status |
/deop <player> | Remove operator status |
/kick <player> | Kick a player |
/ban <player> | Ban a player |
/whitelist add <player> | Add to whitelist |
/gamemode <mode> | Change game mode |
/tp <player> <x> <y> <z> | Teleport player |
/stop | Stop the server |
Performance Tips
- Limit view distance to 12 chunks max
- Start with 8GB RAM for public servers
- Use a VPS or dedicated server for best performance
- Monitor memory usage during peak times
- Large mods increase resource requirements
Hosting Options
Self-Hosting
Run on your own computer or home server. Best for:
- Small private games with friends
- Testing and development
- Learning server administration
VPS / Cloud Hosting
Rent a virtual server. Best for:
- Public communities
- 24/7 uptime
- Better performance
Game Hosting Providers
Specialized Hytale hosting with easy setup:
- Shockbyte
- BisectHosting
- Apex Hosting
- Sparked Host