Skip to content

How a mod reaches players

A mod reaches players through the server they play on, never as a download they unzip themselves:

  1. 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.
  2. The server’s host puts the server half on the server, and registers the game half with the server, one entry per target.
  3. 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.

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.

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.