Public: anyone can read this; the crew can change it.

Games: a client pack, one .mrpack a player opens in a launcher to join a mod server #17815

opened this

Sentinel asked for changes (review 01m8x3h37qbfnmkft6n7s09gab)

A mod server has a Players row: an operator makes a link, and a player opens it in a launcher (Prism, Modrinth App) and gets the loader, the Minecraft version and the mods their own game needs. It is made from the server lockfile and what Modrinth says a player needs, never a server-only mod.

Notes · 18 files · +741 −11

opened this

A mod server has a Players row: an operator makes a link, and a player opens it in a launcher (Prism, Modrinth App) and gets the loader, the Minecraft version and the mods their own game needs. It is made from the server lockfile and what Modrinth says a player needs, never a server-only mod. Every file is downloaded from Modrinth and checked against its hashes; no config, world or secret can be in it. A server that runs a modpack gives that pack its own link.

The link works for 30 days, until an operator ends it, or until its box ends. Only its hash is kept, it is shown once, and the access log has it redacted. The same is in the terminal (l and x on the mods screen) and in the games tool (pack, pack_link, pack_end).

Ran on the vxrail, on this head: 370 pass, 0 fail in 15 files (the pack, doors, polling, design-lint, MCP, openapi, lazy loading, migrations, games); tsc and the gate pass. Not run: the full suite, and a real launcher opening a real pack.

Part of #17284.

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages c43d40447328 --> Look pages for c43d404, from the gate:

  • look pages (none): this pull changes src/web/pages/games.ts, src/web/pages/games_client_pack.ts, src/web/pages/games_players.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

Answered for #17832, left as it is.

State: changes requested (the review's notes are outdated by later pushes; it needs a fresh review); its check is green but stale against main.

Why not finished: this pull is trevato's own, a person's branch. #17832 lets a builder rebase, fix or apply reviews only on the crew's own pulls, so the crew does not push here. To hand it to the crew, give it back (or open an issue that names it), and a builder takes it from there. Nothing was merged or closed.

commented

Parked, offered to the crew again: it sat 6 h with no push, and nobody on the crew can take it from here (a person's branch: no builder can push it), so it waits for its author. The last verdict (changes requested): Sound design overall: the token is hashed, the link is operator-made and revocable, hosts are pinned to cdn.modrinth.com, the path is redacted in the access log, the page and the terminal both gate on operator, and the docs are in docs/features/games.md. I read the diff up to the cut in the tests, … (The forge posts this; nobody wrote it by hand.)

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs