An encounter builder for Obsidian that checks the XP budget in your note

Encounter Builder is a free plugin for Obsidian. List the party and the monsters in a block in your note, and it adds up the XP against the 5E encounter budget (low, moderate or high) or Pathfinder 2e's (trivial to extreme). When it looks right, Start fight hands it to Quick Initiative.

Get Encounter Builder, freeIn Obsidian: Settings, Community plugins, Browse, search Encounter Builder, then Install and Enable. Try it in your browser first: it runs the real plugin code over a sample note.

Left, a note called Ambush at the mill with an encounter panel: 400 XP marked Low on a bar with Low 600, Moderate 900 and High 1,600 budgets for four level 3 characters, four Goblin Warriors at CR 1/4 and a Bugbear Warrior at CR 1, and a Start fight button. Right, the same note as text.
Left, the encounter in reading view. Right, the same note as text.

Build an encounter

```encounter-builder
party 4x level 3
3x Goblin Warrior
Bugbear Warrior
Ogre cr 2
```

In reading view or live preview the block shows:

Mixed party levels are fine: each character adds their own budget. Set a Default party in settings and you can leave the party out of each encounter.

Monsters by name, or from your notes

The 329 monsters of the SRD 5.2.1 are built in by name, plurals included (3x Wolves). Hover a creature's CR to see its type, AC and HP. A linked note gives its CR from a cr field in its frontmatter, the way Fantasy Statblocks writes it. Put cr 2 or xp 450 on a line for anything else, including creatures from other games.

The budget

The XP budget per character and the XP for each CR come from the encounter-building rules in the SRD 5.2.1, the 2024 version of the rules. An encounter is the lowest difficulty whose budget its XP fits in; past High it reads Over high. These rules have no multiplier for the number of creatures, so instead the block warns when a fight has more than two creatures per character, a creature whose CR is above the party's level, more than three different stat blocks, or a crowd of CR 0 creatures. You can turn the warnings off.

Pathfinder 2e

Put a system pf2e line in the block, or set Rules to Pathfinder 2e in settings. Creatures are worth XP by their level against the party level, and the budget for four characters runs Trivial 40, Low 60, Moderate 80, Severe 120 and Extreme 160, adjusted for each character more or fewer. The math is GM Core's.

Start the fight

Start fight writes an initiative block with everyone in it, characters marked player. With Quick Initiative installed it turns into a tracker, ready to roll, with the HP, AC and initiative of SRD monsters passed on, so a fight against them needs no notes at all. DM Screen can then show that fight on your players' phones.

Encounter Builder does not use the network, has no accounts, and collects nothing.

Get Encounter Builder, free