House rules
House rules let a Hearthtable GM automate the way their group plays: what happens on a natural 20, a fumble, a turn, a round, a rest or the start of a session. Rules belong to one campaign. The GM writes them in the House rules panel at the table; the server runs them, so every player sees the same result and nobody's browser decides a roll.
Hearthtable is on the Free, Creator and Business plans (switch tabletop). House rules are part of it: there is no API, MCP tool, app or outgoing
event for them, and they never leave the workspace.
Who can do what
| GM | Player | Watcher | |
|---|---|---|---|
| See the rules that are switched on and not hidden | Yes | Yes | Yes |
| See hidden and switched-off rules | Yes | No | No |
| Write, edit, switch, test and remove rules | Yes | No | No |
| Call a rest, undo what a rule did | Yes, while live | No | No |
| Answer a rule's question to a chair | Yes | For the chair they play | No |
Owners and Admins who aren't in the campaign never see its rules. Everything a rule says follows the roll it came from: a GM-only roll's lines stay with the GM, and a line about one chair's private number reaches only that chair's player and the GM.
A rule
A rule has three parts, each picked from a fixed list. There is no code and no scripting.
- When (one trigger): someone rolls, a die shows a face (its highest, a 1, doubles, any die at its highest, or a
number), a roll's total compares to a number, a turn starts or ends, a round starts, combat starts, a number on the
sheet crosses a line, a condition is applied or removed, the GM calls a named rest, a session starts or ends. Roll
triggers take roll names: a roll matches when its name contains one of them (
attack,Might), or any roll when empty. - Only if (up to 6 checks, all or any): compare
roll.total,roll.natural,field.<key>,round, a number or a condition name with is / is not / more / less / at least / at most / has / doesn't have. - Then (up to 8 steps): change the roll (add, roll twice and keep the higher or lower, exploding dice, keep the highest, double the dice, top face plus a roll, reroll low dice, raise low dice), roll again, change a number on the sheet (with a floor and ceiling), apply or remove a condition for some rounds or turns, fill numbers back up, say something to the table or the GM, ask the player a yes / no question with up to 4 steps for Yes, or roll initiative again.
Messages can fill in {chair}, {roll.total}, {roll.natural} and {field.<key>}. A private field shows as
"(hidden)" in anything said to the table, so a rule can't read one player's private numbers out to everyone.
A rule marked Hidden from players runs like any other, but players never see it in the list and its lines say "a hidden house rule" instead of its name.
Limits
60 rules a campaign; names 60 characters, descriptions and messages 300; a rule's steps can't start more than 2 levels of follow-ups, and one roll runs at most 40 steps before the table is told the rules stopped. Every name, description, message and question passes the workspace's word filter.
Testing, undo and history
Test it runs the draft on a sample roll (you can type the dice faces) and shows what it would do. Nothing at the table changes and nothing is saved.
Every change a rule makes to a sheet or a condition can be undone from What the rules did: the last change, or one line at a time (the last 20). Each save keeps the version it replaced. Rules are sealed at rest like the rest of the campaign; the audit log records ids and counts, never a rule's words.
Ready-made rules
The panel offers a few starters written in our own words (exploding damage, critical hits that double or max the
dice, fumbles, flanking, potion bonuses, lingering injuries, hero points, rolling initiative each round, three strikes
on death saves, rests that fill health and energy, levelling up). Each is added switched off, as your own copy to edit.
Several assume the generic sheet's keys (health, energy); change the keys to match your sheet. Ramphearth ships no
publisher's rules text.
The format
Rules are stored in the ramphearth.rules/v1 format, checked by the same engine on the server and in the browser
(packages/tabletop-engine/src/houseRules.ts). An example:
{
"name": "Extra damage on a crit",
"trigger": { "on": "natural", "labels": ["attack"], "face": "max" },
"when": null,
"then": [{ "do": "followUp", "expression": "1d6", "label": "Crit damage", "dice": "normal" }]
}