How Rove works
Joining a server
A join is two conversations. The first is HTTP with Roblox's web APIs: who you are, which place, which server. The second is the game connection itself: QUIC to the server Roblox picked, a login handshake, then a stream of replication until the world is complete enough to run scripts in.
Step through it:
#Asking for a server
Rove posts to gamejoin.roblox.com with the place ID and a fresh gameJoinAttemptId:
| Path | Used for |
|---|---|
/v1/join-game |
a public place |
/v1/join-game-instance |
a specific server (--job-id, sent as gameId) |
/v1/join-private-game |
a private server, by linkCode or accessCode |
Every request carries the cookie, a Windows player User-Agent with the current client version (fetched from clientsettings.roblox.com and cached for six hours), and the headers the website would send. If Roblox answers 403 with an x-csrf-token, Rove stores the token per host and retries once; a challenge header is never retried.
#Status codes
The answer has a status. Rove keeps asking while Roblox says to wait, and stops on anything else:
| Status | Meaning | What Rove does |
|---|---|---|
0, 1 |
No server yet | Retries every 3 s, up to 8 attempts |
2 |
Ready | Checks the answer is for this account and place, then connects |
13 |
Flooded (rate limited) | Retries every 6 s |
22 |
Queued for a slot in that server | Keeps its place for up to 60 checks (about three minutes) |
6 |
Server full | Stops: "That server is full" |
| anything else | Rejected | Stops and shows Roblox's own message |
The official client polls the same set; Rove found them in its join handler.
#The connection
The ready answer names a server and how to reach it. Rove connects with QUIC (the quinn library), checking the server's certificate against hashes from the join answer, not a certificate authority. On top of QUIC it opens a WebTransport session at /wt with its capabilities in a header. Every UDP datagram is wrapped in Roblox's routing header with the routing token from the join.
| Setting | Value |
|---|---|
| ALPN | h3 |
| Idle timeout | 15 s, keep-alive every 2 s |
| Connect timeout | 20 s |
| Required capability | bytecode range (0x100000); without it Rove stops with bytecode-range-negotiation-unavailable |
#Logging in
Five packets, in order, on the login channel:
- Early auth (
0xA8), built from the ticket blobs in the join answer. - Protocol sync (
144): protocol version 36, the bytecode range Rove reads (13–14) and identity fields the server issued. - Verification (
146). - Ticket (
138): user ID, ticket, version, checksum and session ID. - Server ID (
143), empty.
The server answers with its feature flags (147), the network schema (151) that numbers every class, property and event, and the top-level services (129).
#Getting the world
Then replication starts: ID_DATA packets (131) full of new instances, property changes and events, and ID_ISR (161) with physics state. Replication covers what's in them.
In places with streaming enabled the server only sends what's near you, and it needs to be told where "you" are. Rove sends a replication focus for each region it receives and, once any region has arrived, a streaming resume. Some streaming servers hold back the character until they get it.
#When scripts start
Two things must be true before any Luau runs: the server has said initial replication is complete (a tag item with value 13, JoinDataCompleted), and the local player is known. From that frame on:
- your script (
--script, or whatever you run from the app) runs, - received game scripts run if they're LocalScripts in ReplicatedFirst, your character, PlayerScripts, PlayerGui or Backpack, or Scripts with
RunContextset toClient, and aren't disabled.
Each received script's bytecode is checked against Roblox's public signing keys before it's allowed to load.
#Leaving
A session ends when you leave, when its time is up, or when the server closes it. The server's reason is kept in the session report:
| Packet | Recorded as |
|---|---|
21 |
disconnection_notification |
22 |
connection_lost |
142 |
protocol_mismatch (reason 259) |
152 / 250 |
server_kick (reason 267), with the kick message |
146 not verified |
placeid_verification_failed (reason 263) |