Setting up your Hytale server for multiplayer gameplay is easier than you might think! Whether you want to play with a few close friends or host a large community server, this comprehensive guide will walk you through every step of the process. I’ve gathered information from official sources and tested methods to ensure you can get your server running smoothly.
In this guide, you’ll learn everything from basic world sharing to dedicated server hosting, including technical requirements, port forwarding, authentication, and troubleshooting tips. Let’s dive into the world of Hytale multiplayer!
| Setup Type | Best For | Difficulty | Always Online? |
|---|---|---|---|
| Singleplayer World | 2-4 friends, same time play | Easy | No |
| Dedicated Server | 5+ players, flexible schedules | Intermediate | Yes |
Quick Overview: Hytale Multiplayer Options
Hytale offers two main ways to play multiplayer with friends:
- Singleplayer World Sharing – Perfect for small groups who play together
- Dedicated Server Hosting – Ideal for larger communities or 24/7 access
Each method has its advantages, and I’ll cover both in detail so you can choose what works best for your needs.
Setting Up Singleplayer World Multiplayer
This is the simplest way to play Hytale with friends and requires no technical knowledge beyond basic game navigation.
Creating Your World
First, you need a world to share:
- Launch Hytale through the launcher
- Click on the Worlds tab
- Choose to Create New World or select an existing one
- Select your world type:
- Exploration – Survival, crafting, and adventure mode
- Creative – Build with unlimited resources
- Adventure – Quest-based gameplay (currently unavailable in Early Access)
Enabling Multiplayer Access
Once you’re in your world, follow these steps to enable multiplayer:
- Press ESC to open the menu
- Click on Online Play
- Toggle Allow Other Players to Join to ON
- Set a password (optional but recommended)
- Choose whether to Include Password in Share Code
- Click Save
- Copy the generated Share Code to your clipboard
Important Security Note
⚠️ Security Warning: Your share code contains your IP address! Never share this code publicly or with strangers. Only share it with trusted friends through private messages.
How Friends Join Your World in 2026?
Your friends can join your world using either method:
Method 1: Join via Code (Recommended)
- Launch Hytale
- Select Servers from the main menu
- Click Join via Code
- Paste the share code you received
- Enter password if required (not embedded in code)
- Click Connect
Method 2: Direct Connect
- Launch Hytale
- Select Servers from the main menu
- Click Direct Connect
- Enter the server IP address
- Click Connect
Dedicated Server Setup
For more serious multiplayer experiences, a dedicated server offers better performance and 24/7 availability.
System Requirements
| Component | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8-16 GB |
| CPU | Dual-core 3.5+ GHz | Quad-core 3.5+ GHz |
| Java | Java 25 | Java 25 (Adoptium recommended) |
| Storage | 10 GB free | 20+ GB free (SSD recommended) |
Step 1: Installing Java 25
Hytale servers require Java 25. Here’s how to install it:
- Download Adoptium Java 25 from adoptium.net
- Install Java 25 for your operating system
- Verify installation:bashjava –versionExpected output:openjdk 25.0.1 2025-10-21 LTSOpenJDK Runtime Environment Temurin-25.0.1+8
Step 2: Obtaining Server Files
You have two options to get the server files:
Option A: Manual Copy (Quick Testing)
- Navigate to your Hytale installation folder:
- Windows:
%appdata%\Hytale\install\release\package\game\latest - Linux:
$XDG_DATA_HOME/Hytale/install/release/package/game/latest - MacOS:
~/Application Support/Hytale/install/release/package/game/latest
- Windows:
- Copy the
Serverfolder andAssets.zipto your server directory
Option B: Hytale Downloader CLI (Production Servers)
- Download
hytale-downloader.zipfrom official sources - Extract and run:bash./hytale-downloader
- This downloads the latest server files automatically
Step 3: Starting Your Server
Launch your server with this command:
bash
java -jar HytaleServer.jar –assets PathToAssets.zip
Step 4: Server Authentication
After first launch, you must authenticate your server:
- The server will display a device code
- Visit https://accounts.hytale.com/device
- Enter the provided code
- Complete authorization in your browser
- Server will confirm: “Authentication successful!”
Network Configuration
Port Forwarding Setup
Hytale uses UDP port 5520 by default (not TCP!). Here’s how to configure it:
Router Configuration
- Access your router’s admin panel
- Find port forwarding section
- Forward UDP port 5520 to your server machine’s local IP
- Save and restart router if needed
Firewall Configuration
Windows Defender Firewall:
powershell
New-NetFirewallRule-DisplayName”Hytale Server”-DirectionInbound-ProtocolUDP-LocalPort5520-ActionAllow
Linux (iptables):
bash
sudo iptables -A INPUT -p udp –dport5520-j ACCEPT
Linux (ufw):
bash
sudo ufw allow 5520/udp
Custom Port Configuration
To use a different port:
bash
java -jar HytaleServer.jar –assets PathToAssets.zip –bind0.0.0.0:25565
Server Configuration & Optimization
Basic Configuration Files
Your server creates several important files:
| File | Purpose |
|---|---|
config.json | Main server settings |
permissions.json | User permissions |
whitelist.json | Allowed players list |
bans.json | Banned players list |
Performance Optimization
View Distance Settings
View distance significantly impacts RAM usage. Recommended settings:
- Maximum: 12 chunks (384 blocks)
- For small servers: 8-10 chunks
- For large servers: 6-8 chunks
Recommended Plugins
Install these plugins in your mods/ folder:
| Plugin | Purpose |
|---|---|
Nitrado:PerformanceSaver | Dynamic view distance adjustment |
ApexHosting:PrometheusExporter | Server metrics monitoring |
Nitrado:Query | Server status via HTTP |
Advanced JVM Arguments
For better performance:
bash
java -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar –assets PathToAssets.zip
Server Management
Starting Your Server Automatically
Create a startup script for convenience:
Windows (start.bat):
batch
@echo off
java -Xmx4G -Xms2G -jar HytaleServer.jar –assets Assets.zip
pause
Linux (start.sh):
bash
#!/bin/bash
java -Xmx4G-Xms2G-jar HytaleServer.jar –assets Assets.zip
Backup Configuration
Enable automatic backups:
bash
java -jar HytaleServer.jar –assets Assets.zip –backup–backup-frequency60
This creates backups every 60 minutes.
Troubleshooting Common Issues
Connection Problems
Issue: Friends can’t connect to your server Solutions:
- Verify UDP port 5520 is forwarded (not TCP)
- Check firewall settings
- Confirm server is authenticated
- Test with local connection first
Issue: “NAT Type: Restricted” error Solutions:
- Enable UPnP on router
- Consider using a VPS for hosting
- Check for double NAT situations
Performance Issues
Issue: Server lag or high RAM usage Solutions:
- Reduce view distance in config
- Install PerformanceSaver plugin
- Allocate more RAM with
-Xmxparameter - Monitor entity counts and player activity
Authentication Issues
Issue: Server won’t authenticate Solutions:
- Check internet connection
- Verify server limit (100 servers per license)
- Try re-authentication process
- Contact support if needed
Advanced Server Features
Multi-Server Architecture
Hytale supports connecting multiple servers without reverse proxies:
- Player Referral – Transfer players between servers
- Fallback Servers – Backup servers when main is full
- Proxy Integration – Load balancing across servers
Mod Installation
- Download mods from trusted sources (CurseForge)
- Place
.zipor.jarfiles inmods/folder - Restart server
- All mods are server-side in Hytale
Plugin Development
For advanced users, create custom plugins:
- Set up Gradle build environment
- Extend JavaPlugin class
- Configure plugin manifest
- Export as
.jarand place inmods/folder
Comparison: World vs Dedicated Server
| Feature | Singleplayer World | Dedicated Server |
|---|---|---|
| Player Limit | Small groups | Large communities |
| Online When Host Offline | No | Yes |
| Custom Configuration | Limited | Full control |
| Mods Support | Basic | Full support |
| Performance | Host-dependent | Dedicated resources |
| Setup Difficulty | Easy | Intermediate |
Best Practices for Server Hosting
- Security First: Never share your IP publicly
- Regular Backups: Set up automated backups
- Monitor Resources: Keep an eye on RAM and CPU usage
- Update Regularly: Keep server files and Java updated
- Community Guidelines: Establish clear rules for players
- Performance Testing: Test with small groups first
Server Hosting Providers
If self-hosting isn’t your preference, consider these options:
- Nitrado – Official partner with custom plugins
- Apex Hosting – Performance-focused hosting
- G-Portal – User-friendly interface
- Self-hosted VPS – Full control but requires technical knowledge
FAQ’s
How much RAM do I need for a Hytale server?
Minimum 4GB RAM, but 8-16GB is recommended for smooth gameplay with multiple players.
Can I play Hytale multiplayer without port forwarding?
Yes, using the share code method for singleplayer worlds, but dedicated servers require port forwarding.
What port does Hytale use?
Hytale uses UDP port 5520 by default. TCP is not required.
How many players can join a Hytale server?
This depends on your server resources. With 4GB RAM, expect 5-10 players. With 16GB+ RAM, 20+ players is possible.
Why can’t my friends connect to my server?
Check that UDP port 5520 is forwarded, firewall allows connections, and the server is authenticated.
Do I need Java to run a Hytale server?
Yes, specifically Java 25 is required for Hytale servers.
Can I run a Hytale server on the same PC I play on?
Yes, but performance may be affected. Dedicated servers on separate machines provide better experience.
How do I update my Hytale server?
Download the latest server files using the Hytale Downloader CLI or copy from updated launcher installation.
What’s the difference between Exploration and Creative worlds?
Exploration is survival mode with crafting and progression, while Creative provides unlimited resources for building.
Are Hytale mods client-side or server-side?
All mods in Hytale are server-side, meaning players automatically download mods when joining a server.
Conclusion
Setting up a Hytale server opens up endless possibilities for multiplayer fun with friends and community building. Whether you choose the simple world sharing method for casual play or dive into dedicated server hosting for larger communities, this guide has covered everything you need to get started.
Remember to prioritize security, monitor performance, and keep your server updated for the best experience. Happy gaming, and may your Hytale adventures be epic.
Related Articles:
- Heartopia Multiplayer Tips Guide – Similar multiplayer setup tips
- How to Increase Player Count – Player optimization strategies
- Best Nintendo Switch Games for Kids – Family multiplayer options
