Hytale Server Authentication: Step-by-Step Hosting Guide
In this article
To authenticate a Hytale server, you need to link your server to your Hytale account using the official launcher and a server token. This process verifies that you own the server and enables online play. You'll need a Hytale account, the game installed, and your server files ready. Below is the exact step-by-step process.
What You'll Need
- A Hytale account (created at hytale.com)
- The Hytale game client installed on your computer
- Your server software (official Hytale server files) downloaded and extracted
- Access to the machine running the server (local or VPS) with command line or file manager
- Port forwarding configured on your router (if hosting locally) or firewall rules on your VPS
Step-by-Step
- Install and launch the Hytale game client. Log in with your Hytale account credentials. The client must be running and logged in during the authentication process.
- Locate your server files. On your server machine, navigate to the folder where you extracted the Hytale server files. You should see files like
server.propertiesandhytale-server.jar(or similar). - Run the server once to generate configuration files. Start the server using the command line or a startup script. On Windows, you might run
java -jar hytale-server.jar. On Linux, use./start.shor the equivalent. Let it run until it creates the necessary files, then stop it (Ctrl+C or close the window). - Open the server configuration file. Look for a file named
server.propertiesin the server folder. Open it with a text editor. - Find the authentication setting. Look for a line that says
server-authorauth-token. It may be blank or set tonone. This is where you'll place your token. - Generate a server token. In the Hytale game client, go to the main menu and look for a “Server Hosting” or “My Servers” section. Click on “Generate Token” or “Create Server Token”. The client will display a long alphanumeric code. Copy it.
- Paste the token into the server configuration. Replace the blank or placeholder value in
server.propertieswith the token you copied. Save the file. - Restart the server. Start the server again. It should now authenticate with Hytale's servers. You'll see a message in the console like “Authentication successful” or “Server registered”.
- Verify in the client. In the Hytale client, go back to the “My Servers” section. Your server should now appear as online and linked to your account.
- Test connecting. Join your server from the client's server browser or by entering your server's IP address. If the connection works, authentication is complete.
Common Mistakes
- Not logging into the Hytale client before generating a token – the token is tied to your session.
- Pasting the token with extra spaces or line breaks – copy it exactly.
- Editing the wrong file – make sure it's
server.properties, not a backup or another config. - Starting the server before generating the token – the server will run in offline mode.
- Forgetting to save the file after pasting the token.
Tips
- Keep your token private – anyone with it can authenticate as your server.
- If you host on a VPS, use a firewall to restrict access to the server port (default 25565) to only your IP for extra security.
- Back up your
server.propertiesfile before making changes. - If you have multiple servers, generate a separate token for each.
- Check the server console after starting – it will tell you if authentication failed.
Troubleshooting
If the server doesn't authenticate, try these in order:
- Restart both the client and the server. Log out of the Hytale client, close it, restart it, and log back in. Then restart the server.
- Regenerate the token. In the client, delete the old token and generate a new one. Update the server file with the new token.
- Check the server console for errors. Look for messages like “Authentication failed” or “Invalid token”. If you see those, the token is wrong or expired.
- Ensure the server can reach the internet. The server needs outbound access to Hytale's authentication servers. If you're on a strict firewall, allow outbound connections on ports 80 and 443.
- Update the server software. Make sure you're using the latest official server files from Hytale. Old versions may not support authentication.
- If all else fails, delete the server folder and re-extract the server files. This will reset all configurations, but you'll lose any world data. Back up your world folder first if you want to keep it.
Frequently Asked Questions
Do I need to authenticate my server if I only play with friends on LAN?
No, LAN play doesn't require authentication. You can play without a token if all players are on the same network. However, for online play, authentication is mandatory.
Can I use the same token for multiple servers?
No, each server must have a unique token. Using the same token on two servers will cause one to fail authentication.
What happens if my token expires?
Tokens may expire after a certain period or if you revoke them. If your server stops authenticating, generate a new token and update the config.
Is there a way to authenticate without the game client?
No, the token generation is done through the official Hytale client. You must have the client installed and logged in.
Can I host a server on a Raspberry Pi?
Yes, as long as the official server software runs on your operating system (Linux). The authentication process is the same.
Does authentication affect server performance?
No, authentication happens only at startup. It doesn't impact gameplay performance.