Register

Onsite Play

An Add-on Module for Foundry Virtual Tabletop

Author: Porlock Project: Source Foundry Version 14 (Verified 14) Last Updated 6 hours, 25 minutes ago

Onsite Play

Physical dice, automated consequences. A Foundry VTT module for Game Masters who run D&D 5e in person: players roll real dice at the table, the GM types the results, and the module resolves hits, saving throws, damage, healing, death, and ammunition.

Foundry's core "manual rolling" only asks for raw die faces. Onsite Play understands the context: it knows the targets, their Armor Class, the spell's save DC, damage types, resistances, and what happens at 0 HP.


Requirements

  Version
Foundry VTT v14
System D&D Fifth Edition (dnd5e) v6.0.0 or later

Installation

  1. In Foundry, open Add-on Modules → Install Module.
  2. Paste this manifest URL into the Manifest URL field and click Install:
    https://github.com/RenanMatias/onsite-play/releases/latest/download/module.json
    
  3. Enable Onsite Play in your world (Game Settings → Manage Modules).

Who is affected

What it does

Attacks (weapons and spell attacks)

  1. The PC uses an attack. dnd5e still spends actions, spell slots, and item uses, but does not roll.
  2. If no token is targeted, you're asked to target one or more.
  3. For each target, type the final attack total the player announces (d20 + modifiers), and tick Natural 20 or Natural 1 when needed. The target's current AC can be shown to you (setting).
  4. Natural 1 misses; natural 20 is a critical hit; otherwise the total is compared with the target's AC.
  5. For each hit, type the total damage: one number per damage type.
  6. Damage is applied with dnd5e's own rules: temporary HP, resistances, immunities, vulnerabilities, and magical/silvered bypasses. You can tick Ignore resistances/immunities if you already calculated them at the table.
  7. If the item also has a saving throw activity, you're offered to resolve it for the targets that were hit.

Ammunition and thrown weapons

Saving throw spells (Fireball, Cone of Cold…)

  1. Type the damage once: the caster rolls one time for all targets.
  2. For each target, choose Fail, Pass, type the save total (compared with the DC), or click Roll for me to roll it in Foundry. All fail and All pass buttons speed things up.
  3. Failed saves take full damage; successful saves take what the spell defines (usually half, rounded down).

Damage-only effects (Magic Missile…)

Type the damage per target and apply it. No hit check.

Healing (Cure Wounds, Healing Word, False Life…)

At 0 HP

Chat summary and Undo

Every action posts one summary card, for example:

Aria — Longsword → Goblin: 17 vs AC 15, HIT, 8 slashing damage, HP 7 → 0, defeated, removed from combat Goblin has fallen.

The GM sees an Undo button that restores HP, temporary HP, death saves, statuses, removed combatants, and spent ammunition.

Spell slots and resources

Spell slots, item uses, charges, and other consumption are checked by dnd5e before the flow starts. If something is missing, dnd5e shows its usual error and nothing happens.

Safety

Settings

Setting Default Description
Enable Onsite Play On Turn the whole module on or off.
Remove defeated from combat On Remove targets at 0 HP from the turn order, or only mark them defeated.
Summary visibility Public Who sees the summary card: public, GM only, or GM and the actor's owners.
Show target AC in dialog On Show each target's AC in the attack dialog (only the GM sees the dialog).
Track ammunition On Block ranged attacks without ammunition and spend ammunition per attack.
Allow opted-in NPCs Off Also use the guided flow for specific non-character actors (see below).

Using the flow for specific NPCs

Enable Allow opted-in NPCs, select the NPC's token, and run this as a script macro:

game.modules
  .get("onsite-play")
  .api.setOptIn(canvas.tokens.controlled[0].actor, true);

Use false instead of true to opt the actor out again.

Compatibility

Known limitations

Languages

English and Português (Brasil).

Reporting issues

Please open an issue at https://github.com/RenanMatias/onsite-play/issues with your Foundry and dnd5e versions, the steps you took, and any errors from the browser console (F12; messages start with onsite-play |).

License

MIT

Supported Game Systems

  1. Dungeons & Dragons Fifth Edition

    Latest Version: Version 6.0.6 Last Updated 2 weeks, 6 days ago

Categories

Available Versions

  1. Version 1.0.1

    6 hours, 25 minutes ago
    Foundry Version 14 - 14 (Verified 14) Manifest URL Read Notes
  2. Version 1.0.0

    3 days, 5 hours ago
    Foundry Version 14 - 14 (Verified 14) Manifest URL Read Notes