Illustration for Build a Hytale Multi-Server Network with Player Referral

Build a Hytale Multi-Server Network with Player Referral

Connect Hytale lobby and game servers with Player Referral, connection redirect, signed payloads and secure QUIC deployment.

Hytale includes native mechanisms for sending a player to another server; a BungeeCord-style proxy is not required. Player Referral sends a target host, port and optional payload up to 4 KB to the client, which opens a new connection. That payload passes through the client and must be treated as mutable.

Choose the architecture

A simple network contains:

  1. a public lobby that authenticates players and presents destinations;
  2. separately authenticated Hytale game servers;
  3. a server-side matchmaking service or database as authority;
  4. stable DNS and a unique UDP/QUIC port per process;
  5. independent world backups and updates.

The lobby must not be the only source of truth for rights, inventory or currency. The target server should revalidate sensitive state against a trusted service.

Use Player Referral securely

The documented API is:

PlayerRef.referToServer(host, port, data)

data is optional and limited to 4 KB. The client presents it during the target handshake. The manual warns that clients can tamper with it: sign it with HMAC using a secret shared only by servers. Include a random session ID, destination, short expiry and replay nonce; never put the secret or a permanent privilege in the payload.

The target verifies signature, expiry, destination and one-time use, then retrieves authoritative session data from the backend. Reject invalid referrals cleanly and log an identifier without logging the secret.

Redirect, fallback and proxies

MechanismWhenUse
Player ReferralAlready connectedMove from lobby to game server
Connection RedirectDuring handshakeRegional routing, balancing or lobby-first policy
Disconnect FallbackAfter unexpected lossReturn to a lobby
Netty QUIC proxyCustom interceptionAdvanced protocol and routing needs

The October 12, 2026 manual still marks fallback packet implementation as “Coming Soon”. Do not promise automatic recovery without checking the deployed release. Provide a clear manual way back to the lobby.

A custom proxy is possible with Netty QUIC and packet definitions in HytaleServer.jar, but it substantially increases security and protocol maintenance. Start with native Referral and Redirect.

Deploy and validate the network

1

Isolate every instance

Assign separate directories, credentials, worlds, UDP ports and resource limits. Never share one live universe directory between processes.
2

Configure reachability

Expose every required target over QUIC/UDP. Addresses sent in a referral must be reachable by the client, not merely by the lobby.
3

Implement a signed ticket

Generate a minimal expiring one-time HMAC payload. Keep sensitive data server-side and rotate secrets with a controlled overlap period.
4

Test failure modes

Simulate full and offline targets, modified payload, expired ticket, replay and version mismatch. Players need a useful error without data loss.
5

Observe and back up

Measure referral success, failure, latency and versions. Back up and restore each universe independently.

Production checklist

Security and operations

  • •No secret or permanent privilege crosses the client in clear text.
  • •Tickets are signed, short-lived and one-time.
  • •Every target revalidates the session with a trusted authority.
  • •UDP ports are public only when client connections require them.
  • •Lobby and game servers use the same protocol build.
  • •A failed target does not delete world or player state.
  • •Fallback support is detected, not assumed.

Use the UDP/QUIC guide for network basics and the Hytale backup guide on every instance.

Deploy multiple Hytale servers

Compare Hytale hosting with multiple instances, UDP networking and scalable resources.

Frequently asked questions

Does a Hytale network require a proxy?
No. Player Referral and Connection Redirect are native. A custom QUIC proxy is possible but requires advanced protocol development and security.
Can the Referral payload be trusted?
Not directly: it passes through the client and can be changed. Sign it with HMAC, add expiry and a nonce, then revalidate authority on the target.
Is crash fallback guaranteed?
The October 12, 2026 manual still marks the fallback packet as coming soon. Detect support in the actual build and provide a manual return path.

Primary source: Hytale Server Manual — Multiserver Architecture.

Our recommendation

Ready to launch your Hytale server?

Here are the best Hytale hosting deals right now, promo codes included. Still unsure? Our quiz finds the ideal host for you in under 2 minutes.

My box 8

Minestrator

11.99€/month
-10% with code HOSTMYGAME
Max players:Unknown
Mods:
Yes

Specifications

RAM:8GB(DDR4)

Compatible games

Hytale

Features

  • ✓Mods en 1 click
  • ✓DDoS Protection
  • ✓Backups

Copper

Shockbyte

10.75€/month
-25% with code LAUNCH
Max players:4
Mods:
No

Specifications

RAM:5GB(DDR4)

Compatible games

Hytale

Features

  • ✓DDoS Protection
  • ✓Backups
  • ✓Support 24/7

Hytale — 6 Go

WinterNode

10.67€/month
-20% with code HOSTMYGAME
Max players:Unlimited
Mods:
Yes

Specifications

RAM:6 Go

Compatible games

Hytale

Features

  • ✓6 Go de RAM au minimum
  • ✓CPU sans limite fixe, sous politique d'usage raisonnable
  • ✓Stockage NVMe sans limite fixe, extension sur demande
  • ✓Sauvegardes automatiques toutes les 12 heures
  • +2 more features
Hytale Multi-Server Network and Referral | HostMyGame