How a mod reaches players
Players never install mods by hand
Section titled “Players never install mods by hand”A mod reaches players through the server they play on, never as a download they unzip themselves:
- You export the mod from Studio as a content patch: the game half (one file per target), the server half, and a list of what’s in the patch.
- The server’s host puts the server half on the server, and registers the game half with the server, one entry per target.
- A player logs in. Their game asks the server what content it should have, downloads what it’s missing, checks it, and installs it.
So the host decides what’s on a server, and every player on it gets exactly that. Two servers can run different mods, and a player moving between them gets the right one each time.
The server half and the game half travel differently
Section titled “The server half and the game half travel differently”The server reads its files straight from its own folder, so its half is placed there. Only the game half is downloaded. Both halves come out of one export, which is what keeps them matching.
Why patches are signed
Section titled “Why patches are signed”A game only installs a patch it can verify: each game half is signed with a key, and the game checks the signature against the key it trusts before installing anything. That stops anyone else slipping files into players’ games.
What key a server’s players trust depends on that server’s setup, so the signing key comes from the host. See Shipping your mod.
One patch per target
Section titled “One patch per target”Players on PC · Standard and on PC · Low-res each download only their own target’s game half: roughly half the size of one carrying both. The host registers each for its own players. See Targets and generations.
For programmers
The game half is a signed archive per render target. The backend advertises packages at login from its manifest tables; the client downloads what it lacks, verifies the signature against the public key built into the client, and mounts it. A client knows a package by its file name, hence the time stamp on every export.
Where to go next
Section titled “Where to go next”- Shipping your mod: the export, step by step.
- Back to the start: What modding means.