Hytale guide

Set up and join a Hytale dedicated server

Install Java 25, download the Hytale server, sign it in with /auth login device, open UDP port 5520, join by address and move your world onto it.

Updated · By the HostForge team

A Hytale dedicated server keeps your world online when you log off, so friends can play on it at any time. It's a Java program for Windows, macOS and Linux, and it needs a Hytale account that owns the game, both to download it and to let players join.

1. Install Java 25

The server runs on Java 25. Eclipse Temurin is the build most guides use; install its JRE or JDK and check the version:

java -version

Plan for at least 4 GB of memory for a few players, and more as the view distance and the number of players grow.

2. Download the server

Hypixel's downloader fetches the current release. Get it from downloader.hytale.com/hytale-downloader.zip, unzip it and run the build for your system:

./hytale-downloader-linux-amd64 -download-path hytale-server.zip

The first run prints a link and a code: open the link, sign in with your Hytale account and enter the code. The downloader keeps the sign-in in .hytale-downloader-credentials.json and renews it each time it runs, so keep that file. The ZIP holds Assets.zip and a Server folder with HytaleServer.jar. -print-version shows the current release without downloading it.

3. Start it

From the folder that holds both:

java -XX:AOTCache=Server/HytaleServer.aot -jar Server/HytaleServer.jar --assets Assets.zip --bind 0.0.0.0:5520

-XX:AOTCache uses the class cache Hypixel ships to start faster; leave it out if your Java build cannot use it. The server creates its files in the folder you start it from, and prints Hytale Server Booted! once it is ready. The first start generates the world, which takes longer.

4. Sign the server in

Players can only join a server that is signed in to Hytale. Until it is, they are turned away with Server authentication unavailable. In the server console, type:

/auth login device

Open the link it prints, sign in and enter the code. To keep the sign-in when the server restarts, type /auth persistence Encrypted afterwards. One Hytale account can sign in many servers.

5. Open the port

Players connect on UDP 5520, over QUIC; the server uses no TCP port. Forward UDP 5520 on your router, and allow it in the firewall:

sudo ufw allow 5520/udp

To run several servers on one machine, give each its own port with --bind.

6. Change its settings

Stop the server and edit config.json in its folder:

  • ServerName and MOTD, the name and message players see.
  • Password: what players type to join. Leave it empty for an open server.
  • MaxPlayers: how many can be on at once.
  • MaxViewRadius: how far players can see, in chunks of 32 blocks. It decides most of the server's memory use; 12 chunks is the game's default view of 384 blocks.
  • Defaults.GameMode: Adventure or Creative, for players joining the default world.

Operators, the whitelist and bans live in permissions.json, whitelist.json and bans.json beside it. Commands such as /op add change them while the server runs.

Where the world is saved

Worlds and players are in universe/: universe/worlds/<name> for each world, and config.json's Defaults.World names the one players join. Mods go in mods/, and logs in logs/. To bring a singleplayer world, see moving your world to a dedicated server.

Keep it up to date

Players can only join a server on the same version as their game. When Hytale updates, stop the server, download the new release, replace Assets.zip and the Server folder, and start it again. Your universe and settings stay as they are.

Join a Hytale dedicated server

You join a Hytale dedicated server by its address: an IP address or a host name, and the port after a colon, such as 203.0.113.24:5520. The server's owner can give it to you.

1. Add the server

  1. Start Hytale and open Servers.
  2. Choose Add Server.
  3. Give it any name, and enter the address with its port. Without a port, the game uses 5520.
  4. Save it, then select it and join.

If the server has a password, the game asks for it as you join.

2. If you can't join

  • Server authentication unavailable: the server is not signed in to Hytale. Its owner signs it in from the server console with /auth login device.
  • A different version: you and the server must run the same release. Update your game in the launcher, or ask the owner to update the server.
  • No answer at all: check the address and port, and that the server is running. On a self-hosted server, UDP 5520 must be forwarded to it; the server uses no TCP port.
  • Not on the whitelist: the owner adds you with /whitelist add and your username.

3. Becoming an operator

Operators can run admin commands in the game. The owner makes you one from the server console with /op add and your username; it is kept in the server's permissions.json.

Move your Hytale world to a dedicated server

A Hytale world you play alone runs on a small server inside the game, and is saved in the same layout a dedicated server uses. Moving it to a dedicated server is a matter of copying one folder: universe.

1. Find your world

On Windows, singleplayer worlds are under %APPDATA%\Hytale\UserData\Saves; paste that into the File Explorer address bar. Each world has its own folder, named after it, holding a universe folder with worlds/ and players/ inside.

Close Hytale first, so the world is fully saved.

2. Copy it to the server

  1. Stop the dedicated server.
  2. Rename the server's own universe folder, to keep it as a backup.
  3. Copy your world's universe folder into the server folder, beside config.json.
  4. In config.json, set Defaults.World to the name of the world folder inside universe/worlds/.
  5. Start the server.

If the world used mods, copy its mods folder too, and give players the same mods.

3. What players keep

Each player's character, inventory and position are saved in universe/players/ under their account, so they come along with the world and everyone picks up where they left off.

On HostForge

On HostForge you upload a ZIP instead of copying files. Zip your world's folder, or only its universe, stop the server and upload it in the Save tab. HostForge installs the universe, the permission lists and mods it finds beside it, and points the server at the world. Your settings stay the ones in HostForge. A server you ran elsewhere works the same way; a .tar.gz backup from another host is fine too.

On HostForge

Skip the setup

HostForge runs the server for you: it signs each start in with HostForge's own Hytale license, so there is no device login on your side, writes config.json from your settings, opens the port, keeps the server on the current release and backs the universe up daily. The console, config.json and the permission lists stay yours to use.

Players join as described in joining a Hytale server.

More Hytale guides