Hearthtable campaign presets

A preset is a way to set one game system up in one flavour — a dungeon crawl, city intrigue, a one-shot night, a solo journey. A GM picks one right after choosing the system, or from Start from a preset on the campaign page between sessions. It is there so nobody has to work out every screen and switch on day one.

A preset is configuration only. It makes no content: no scenes, maps, handouts, journal pages, roll tables, moods, cues, sheets or files. Those are the GM's to fill with their own ideas; a preset only decides how the room is laid out and which tools start on.

Presets are data, never code: ramphearth.preset/v1, checked by validatePreset (packages/server/src/lib/tabletop/presets/format.ts). Bundled presets live in lib/tabletop/presets/data/, keyed by the installed system packs' own ids (fifth-edition, generic-d20, generic-narrative, …); only presets whose pack is installed are offered (catalogue.ts).

What a preset sets

Rules

Routes

Method Path Who
GET /org/:orgId/tabletop/presets[?system=] members (not Guests)
GET /org/:orgId/tabletop/presets/:presetId members
GET /org/:orgId/tabletop/campaigns/:id/presets the campaign's GMs: empty, live, the one applied
POST /org/:orgId/tabletop/campaigns/:id/preset { presetId } the campaign's GMs
POST /org/:orgId/tabletop/campaigns/:id/preset/:applicationId/undo the campaign's GMs
GET /org/:orgId/tabletop/campaigns/:id/screens the campaign's people (players get the player half and the table tools)

Session tokens only; no /v1, MCP or apps.

Adding a preset

  1. Add an entry to a data file (or a new one listed in catalogue.ts), with a stable id of <packId>.<flavour>.
  2. Two or three per system, each with a different layout — the checker test asserts the count.
  3. Configuration only. Name things by mechanics, never a trademark, and write every word yourself.
  4. Run pnpm --dir packages/server test src/lib/tabletop/presets and the visibility gate (routes/tabletop.visibility.test.ts, "campaign presets"), which applies and undoes every offered preset and checks it made nothing.