Linking Your Hytale Server to Your Account

Hytale ties every dedicated server to the account of its owner. It is a one-time step on a new server, done with two short sign-in codes, and it is what lets players with real Hytale accounts join. Here is how it works and what can go wrong.

The two codes

  1. The downloader's: before anything is installed, the server needs your account to download Hytale. It prints a sign-in link and a code.
  2. The server's: once the server has booted, it asks again, this time to authenticate itself to Hytale's session service, which is what lets players in.

Both are OAuth device codes: you open the link in your own browser, sign in with the Hytale account that owns the game and approve. Your password never reaches the server. On Flux the dashboard's Hytale Account tab shows each link and code as soon as the server prints it.

When a code expires

Each code is valid for 10 minutes. If the downloader's runs out, the server has nothing to run and stops; start it again and it prints a new one. If the server's runs out, a restart asks again too. On Flux both are one button in the Hytale Account tab.

After that

The server keeps its credentials encrypted on its own volume, so restarts and updates do not ask again. On Flux that volume is synced to a standby node, so a move to another node keeps the link too.

Why a server can ask again

Hytale's sign-in tokens are single-use: every refresh replaces the old one, and using an old one again revokes the whole set. If a server ever starts from an older copy of its credentials, Hytale refuses them and the server asks for a new code. On Flux the Hytale Account tab says so and shows the code.

Tip:A server linked to your account is also what Hytale's Server Discovery needs if you want it listed in the game.

Frequently asked questions

Why does my Hytale server ask me to log in?

Every Hytale server must be authorised by an account that owns the game: once to download the server and once to authenticate it to Hytale's session service.

My Hytale server login code expired. What now?

Restart the server: it prints a new code. Each one is valid for 10 minutes.

Do I have to log in again after a restart?

No. The credentials are kept encrypted on the server's volume.

Related Hytale guides