How to Create a Hytale Server Guide: Difference between revisions
[wiki:wiki-operator] View distance tip no longer credits the 12-chunk advice to Hypixel (Ryan yes 10/27) |
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17) |
||
| Line 1: | Line 1: | ||
{{#seo:|title=Hytale Dedicated Server: Rent One or Host It Yourself|description=How to create a Hytale dedicated server: rent one that runs 24/7, or host it on your own PC with Java 25, the official server files and UDP port 5520.}} | {{#seo:|title=Hytale Dedicated Server: Rent One or Host It Yourself|description=How to create a Hytale dedicated server: rent one that runs 24/7, or host it on your own PC with Java 25, the official server files and UDP port 5520.}} | ||
[https://www.survivalservers.com/services/game_servers/hytale/ Rent a Hytale server] from Survival Servers, or host it yourself. | |||
== Option #1: Renting a Hytale server | == Option #1: Renting a Hytale server == | ||
Survival Servers handles hardware, network and DDoS protection for you. | Survival Servers handles hardware, network and DDoS protection for you. | ||
| Line 12: | Line 12: | ||
With a rented Hytale server from Survival Servers you get: | With a rented Hytale server from Survival Servers you get: | ||
* The Command Center, | * The Command Center: Start, Stop and Restart, config file editing and backups | ||
* Hytale tools in the | * Hytale tools in the Command Center: Mods (add CurseForge mods in a click), Server Config and Player Manager | ||
* DDoS protection configured for UDP/QUIC traffic | * DDoS protection configured for UDP/QUIC traffic | ||
* Full FTP file access (FTPS) | * Full FTP file access (FTPS) | ||
* Multiple worldwide | * Multiple Locations worldwide, and you can switch Location at any time | ||
== Option #2: | == Option #2: Hosting a Hytale server yourself == | ||
{{#ev:youtube|VaU4HarMbp8|640|center}} | {{#ev:youtube|VaU4HarMbp8|640|center}} | ||
=== What | === What you'll need === | ||
==== Computer | ==== Computer requirements ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
! What !! Minimum !! Recommended | ! What !! Minimum !! Recommended | ||
|- | |- | ||
| RAM || 4 GB || 6 | | RAM || 4 GB || 6 to 8 GB | ||
|- | |- | ||
| CPU || Modern 64-bit processor || Quad-core or better | | CPU || Modern 64-bit processor || Quad-core or better | ||
| Line 39: | Line 39: | ||
|} | |} | ||
==== Software | ==== Software requirements ==== | ||
* '''Java 25''' | * '''Java 25''': required to run the server. Download it free from [https://adoptium.net/ Adoptium]. | ||
To check if Java is installed correctly, open Command Prompt (Windows) or Terminal (Linux/Mac) and type: | To check if Java is installed correctly, open Command Prompt (Windows) or Terminal (Linux/Mac) and type: | ||
| Line 49: | Line 49: | ||
<pre>openjdk 25.0.1 2025-10-21 LTS</pre> | <pre>openjdk 25.0.1 2025-10-21 LTS</pre> | ||
=== Step 1: Get the | === Step 1: Get the server files === | ||
There are two ways to get the Hytale server files: | There are two ways to get the Hytale server files: | ||
'''Method A: Copy from your Hytale game installation ( | '''Method A: Copy from your Hytale game installation (simplest for beginners)''' | ||
# Install and run the Hytale Launcher on your computer | # Install and run the Hytale Launcher on your computer | ||
# | # Open your Hytale installation folder: | ||
#* '''Windows:''' <code>%appdata%\Hytale\install\release\package\game\latest</code> | #* '''Windows:''' <code>%appdata%\Hytale\install\release\package\game\latest</code> | ||
#* '''Linux:''' <code>~/.local/share/Hytale/install/release/package/game/latest</code> | #* '''Linux:''' <code>~/.local/share/Hytale/install/release/package/game/latest</code> | ||
| Line 62: | Line 62: | ||
# Copy the <code>Server</code> folder and <code>Assets.zip</code> to wherever you want to run your server | # Copy the <code>Server</code> folder and <code>Assets.zip</code> to wherever you want to run your server | ||
'''Important:''' Since Update 7 the server | '''Important:''' Since Update 7 the server won't start from inside the Hytale Launcher's install folder. Copy the files to a new folder first. | ||
'''Method B: Use the Hytale Downloader tool (best for keeping updated)''' | '''Method B: Use the Hytale Downloader tool (best for keeping updated)''' | ||
# Download the [https://downloader.hytale.com/hytale-downloader.zip Hytale Downloader] from the official download site | # Download the [https://downloader.hytale.com/hytale-downloader.zip Hytale Downloader] from the official download site | ||
# Extract and run the downloader | # Extract and run the downloader. It asks you to log in with your Hytale account | ||
# The downloader | # The downloader gets the newest server files and makes updating simple when new versions come out | ||
=== Step 2: Start the | === Step 2: Start the server for the first time === | ||
# Create a new folder for your server (example: <code>C:\HytaleServer</code>) | # Create a new folder for your server (example: <code>C:\HytaleServer</code>) | ||
# | # Put the server files (<code>Server</code> folder and <code>Assets.zip</code>) in this folder | ||
# Open Command Prompt or Terminal in that folder | # Open Command Prompt or Terminal in that folder | ||
# Run this command: | # Run this command: | ||
| Line 79: | Line 79: | ||
On Linux/Mac, use forward slashes: <code>java -jar Server/HytaleServer.jar --assets Assets.zip</code> | On Linux/Mac, use forward slashes: <code>java -jar Server/HytaleServer.jar --assets Assets.zip</code> | ||
The server | The server starts and creates all its config files. You'll see text scrolling in the window as it loads. | ||
=== Step 3: Authenticate | === Step 3: Authenticate your server === | ||
Before players can join, you need to link your server to your Hytale account: | Before players can join, you need to link your server to your Hytale account: | ||
| Line 91: | Line 91: | ||
# Once approved, you'll see "Authentication successful!" in the console | # Once approved, you'll see "Authentication successful!" in the console | ||
=== Step 4: Set | === Step 4: Set up port forwarding (required for friends to join) === | ||
'''Important:''' Hytale uses '''UDP port 5520''' by default. This is different from many games that use TCP. | '''Important:''' Hytale uses '''UDP port 5520''' by default. This is different from many games that use TCP. | ||
==== If you're hosting at home | ==== If you're hosting at home ==== | ||
# Find your computer's local IP address (usually starts with 192.168) | # Find your computer's local IP address (usually starts with 192.168) | ||
# Log | # Log in to your router's admin page (usually http://192.168.1.1 or http://192.168.0.1) | ||
# Find the Port Forwarding section | # Find the Port Forwarding section | ||
# Add a new rule: | # Add a new rule: | ||
#* '''Protocol:''' UDP (not TCP | #* '''Protocol:''' UDP (not TCP) | ||
#* '''External Port:''' 5520 | #* '''External Port:''' 5520 | ||
#* '''Internal Port:''' 5520 | #* '''Internal Port:''' 5520 | ||
| Line 109: | Line 109: | ||
If you need help with your specific router, [https://portforward.com/ PortForward.com] has guides for most router models. | If you need help with your specific router, [https://portforward.com/ PortForward.com] has guides for most router models. | ||
==== Firewall | ==== Firewall settings ==== | ||
You may also need to allow the port through your firewall: | You may also need to allow the port through your firewall: | ||
| Line 123: | Line 123: | ||
<pre>sudo ufw allow 5520/udp</pre> | <pre>sudo ufw allow 5520/udp</pre> | ||
=== Step 5: Allocate | === Step 5: Allocate more RAM (optional but recommended) === | ||
By default, Java might not use enough memory. To give your server more RAM, use these | By default, Java might not use enough memory. To give your server more RAM, use these launch options when you start it: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Your | ! Your available RAM !! Command to use | ||
|- | |- | ||
| 4 GB || <code>java -Xms3G -Xmx3G -jar Server\HytaleServer.jar --assets Assets.zip</code> | | 4 GB || <code>java -Xms3G -Xmx3G -jar Server\HytaleServer.jar --assets Assets.zip</code> | ||
| Line 140: | Line 140: | ||
'''Tip:''' Always leave about 1 GB for Windows/Linux to use. | '''Tip:''' Always leave about 1 GB for Windows/Linux to use. | ||
=== Create a | === Create a start script === | ||
Instead of typing the command every time, create a script file: | Instead of typing the command every time, create a script file: | ||
'''Windows | '''Windows: create <code>start.bat</code>''' | ||
<pre>@echo off | <pre>@echo off | ||
java -Xms4G -Xmx4G -jar Server\HytaleServer.jar --assets Assets.zip | java -Xms4G -Xmx4G -jar Server\HytaleServer.jar --assets Assets.zip | ||
pause</pre> | pause</pre> | ||
'''Linux | '''Linux: create <code>start.sh</code>''' | ||
<pre>#!/bin/bash | <pre>#!/bin/bash | ||
java -Xms4G -Xmx4G -jar Server/HytaleServer.jar --assets Assets.zip</pre> | java -Xms4G -Xmx4G -jar Server/HytaleServer.jar --assets Assets.zip</pre> | ||
Then make it executable: <code>chmod +x start.sh</code> | Then make it executable: <code>chmod +x start.sh</code> | ||
Double-click the script to start your server | Double-click the script to start your server. | ||
=== Keeping | === Keeping your server updated === | ||
Players can only join a server that runs the same version of Hytale as their game. See [[How_to_Update_a_Hytale_Server|How to Update a Hytale Server]]. | Players can only join a server that runs the same version of Hytale as their game. See [[How_to_Update_a_Hytale_Server|How to Update a Hytale Server]]. | ||
== Understanding | == Understanding your server files == | ||
After running the server, you'll see these folders and files: | After running the server, you'll see these folders and files: | ||
| Line 166: | Line 166: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! File/Folder !! What | ! File/Folder !! What it does | ||
|- | |- | ||
| <code>Server/</code> || Contains HytaleServer.jar (the server | | <code>Server/</code> || Contains HytaleServer.jar (the server program) | ||
|- | |- | ||
| <code>Assets.zip</code> || Game assets required by the server | | <code>Assets.zip</code> || Game assets required by the server | ||
| Line 187: | Line 187: | ||
|} | |} | ||
'''Important:''' Always stop your server before editing | '''Important:''' Always stop your server before editing config files. | ||
=== Changing | === Changing server settings === | ||
Your main <code>config.json</code> is in the top folder, and each world has its own <code>config.json</code> in <code>universe/worlds/[WorldName]/</code>. On a new server the world folder is called <code>Default</code>. More on the settings: | |||
* [[Hytale_Advanced_Server_Configuration|Hytale: Advanced Server Configuration]] | * [[Hytale_Advanced_Server_Configuration|Hytale: Advanced Server Configuration]] | ||
== Quick | == Quick reference == | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 210: | Line 210: | ||
|} | |} | ||
== Tips for | == Tips for better performance == | ||
* '''Lower view distance''' | * '''Lower view distance''': the default view distance uses a lot of RAM. If you have performance issues, lower it in your config. A value of 12 chunks works well, and the maximum is 32. | ||
* '''Use an SSD''' | * '''Use an SSD''': solid state drives help the server load chunks faster | ||
* '''Monitor your resources''' | * '''Monitor your resources''': watch CPU and RAM usage while players are online to see what your server needs | ||
== See | == See also == | ||
* [[Hytale_Advanced_Server_Configuration|Hytale Advanced Server Configuration]] | * [[Hytale_Advanced_Server_Configuration|Hytale Advanced Server Configuration]] | ||
Revision as of 08:47, 17 November 2026
Rent a Hytale server from Survival Servers, or host it yourself.
Option #1: Renting a Hytale server
Survival Servers handles hardware, network and DDoS protection for you.
Rent a Hytale server from Survival Servers
With a rented Hytale server from Survival Servers you get:
- The Command Center: Start, Stop and Restart, config file editing and backups
- Hytale tools in the Command Center: Mods (add CurseForge mods in a click), Server Config and Player Manager
- DDoS protection configured for UDP/QUIC traffic
- Full FTP file access (FTPS)
- Multiple Locations worldwide, and you can switch Location at any time
Option #2: Hosting a Hytale server yourself
What you'll need
Computer requirements
| What | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 6 to 8 GB |
| CPU | Modern 64-bit processor | Quad-core or better |
| Storage | 10 GB free space | 20+ GB SSD |
| Operating System | Windows 10/11 or Linux (64-bit) | Same |
Software requirements
- Java 25: required to run the server. Download it free from Adoptium.
To check if Java is installed correctly, open Command Prompt (Windows) or Terminal (Linux/Mac) and type:
java --version
You should see something like:
openjdk 25.0.1 2025-10-21 LTS
Step 1: Get the server files
There are two ways to get the Hytale server files:
Method A: Copy from your Hytale game installation (simplest for beginners)
- Install and run the Hytale Launcher on your computer
- Open your Hytale installation folder:
- Windows:
%appdata%\Hytale\install\release\package\game\latest - Linux:
~/.local/share/Hytale/install/release/package/game/latest - Mac:
~/Library/Application Support/Hytale/install/release/package/game/latest
- Windows:
- Copy the
Serverfolder andAssets.zipto wherever you want to run your server
Important: Since Update 7 the server won't start from inside the Hytale Launcher's install folder. Copy the files to a new folder first.
Method B: Use the Hytale Downloader tool (best for keeping updated)
- Download the Hytale Downloader from the official download site
- Extract and run the downloader. It asks you to log in with your Hytale account
- The downloader gets the newest server files and makes updating simple when new versions come out
Step 2: Start the server for the first time
- Create a new folder for your server (example:
C:\HytaleServer) - Put the server files (
Serverfolder andAssets.zip) in this folder - Open Command Prompt or Terminal in that folder
- Run this command:
java -jar Server\HytaleServer.jar --assets Assets.zip
On Linux/Mac, use forward slashes: java -jar Server/HytaleServer.jar --assets Assets.zip
The server starts and creates all its config files. You'll see text scrolling in the window as it loads.
Step 3: Authenticate your server
Before players can join, you need to link your server to your Hytale account:
- In the server console, type:
/auth login device - You'll see a code and a link appear
- Open the link in your web browser and enter the code
- Log in with your Hytale account
- Once approved, you'll see "Authentication successful!" in the console
Step 4: Set up port forwarding (required for friends to join)
Important: Hytale uses UDP port 5520 by default. This is different from many games that use TCP.
If you're hosting at home
- Find your computer's local IP address (usually starts with 192.168)
- Log in to your router's admin page (usually http://192.168.1.1 or http://192.168.0.1)
- Find the Port Forwarding section
- Add a new rule:
- Protocol: UDP (not TCP)
- External Port: 5520
- Internal Port: 5520
- Internal IP: Your computer's local IP
- Save the settings
If you need help with your specific router, PortForward.com has guides for most router models.
Firewall settings
You may also need to allow the port through your firewall:
Windows:
- Open Windows Defender Firewall
- Click "Advanced settings"
- Click "Inbound Rules" then "New Rule"
- Select "Port" > "UDP" > enter "5520"
- Allow the connection and give it a name like "Hytale Server"
Linux (ufw):
sudo ufw allow 5520/udp
Step 5: Allocate more RAM (optional but recommended)
By default, Java might not use enough memory. To give your server more RAM, use these launch options when you start it:
| Your available RAM | Command to use |
|---|---|
| 4 GB | java -Xms3G -Xmx3G -jar Server\HytaleServer.jar --assets Assets.zip
|
| 6 GB | java -Xms5G -Xmx5G -jar Server\HytaleServer.jar --assets Assets.zip
|
| 8 GB | java -Xms7G -Xmx7G -jar Server\HytaleServer.jar --assets Assets.zip
|
Tip: Always leave about 1 GB for Windows/Linux to use.
Create a start script
Instead of typing the command every time, create a script file:
Windows: create start.bat
@echo off java -Xms4G -Xmx4G -jar Server\HytaleServer.jar --assets Assets.zip pause
Linux: create start.sh
#!/bin/bash java -Xms4G -Xmx4G -jar Server/HytaleServer.jar --assets Assets.zip
Then make it executable: chmod +x start.sh
Double-click the script to start your server.
Keeping your server updated
Players can only join a server that runs the same version of Hytale as their game. See How to Update a Hytale Server.
Understanding your server files
After running the server, you'll see these folders and files:
| File/Folder | What it does |
|---|---|
Server/ |
Contains HytaleServer.jar (the server program) |
Assets.zip |
Game assets required by the server |
config.json |
Main server settings (server name, max players, etc.) |
universe/ |
Your world saves and player data |
mods/ |
Put mod files here to add them to your server |
logs/ |
Server logs for troubleshooting |
bans.json |
List of banned players |
whitelist.json |
Old list of allowed players. Hytale 0.6.6 and later read it once, turn it into join permissions and rename it whitelist.json.migrated
|
permissions.json |
Player permissions and ranks |
Important: Always stop your server before editing config files.
Changing server settings
Your main config.json is in the top folder, and each world has its own config.json in universe/worlds/[WorldName]/. On a new server the world folder is called Default. More on the settings:
Quick reference
| Task | Command |
|---|---|
| Start server (basic) | java -jar Server\HytaleServer.jar --assets Assets.zip
|
| Start with 4GB RAM | java -Xms4G -Xmx4G -jar Server\HytaleServer.jar --assets Assets.zip
|
| Use a different port | java -jar Server\HytaleServer.jar --assets Assets.zip --bind 0.0.0.0:25565
|
| See all options | java -jar Server\HytaleServer.jar --help
|
Tips for better performance
- Lower view distance: the default view distance uses a lot of RAM. If you have performance issues, lower it in your config. A value of 12 chunks works well, and the maximum is 32.
- Use an SSD: solid state drives help the server load chunks faster
- Monitor your resources: watch CPU and RAM usage while players are online to see what your server needs
See also
- Hytale Advanced Server Configuration
- How to Update a Hytale Server
- How to Join a Hytale Server
- How to Install Mods on a Hytale Server
- Official Hytale Website
- Hytale Support & Documentation
