Dxcufgb's Workshop

Session Summary

Records your play session on the GM's client.

WIPWork in progress: may be very buggy and can change a lot between versions. Report bugs on GitHub.

Session Summary is a free, open-source Foundry VTT v13 module for D&D 5e, still a work in progress.

Records your play session and hands it to your Discord bot. Who landed the killing blows, who rolled the most natural 1s, who dropped to 0 HP and to what, which scenes the party spent the evening in. When the GM ends the session, a JSON summary and a ready-to-post Discord text are written to the Data folder, where a bot on the same computer picks them up.

Foundry VTT: v13 · System: dnd5e 5.x (tested with dnd5e 5.2.5 and midi-qol 13.0.67)

Features

  • Recording a Session: Recording runs on the active GM's client.
  • What It Records: The achievements are on Achievements.
  • Achievements: Every character in the session gets exactly one achievement, shown with a short sentence saying what it is for (the small grey line under it in Discord), and no two characters get the same one.
  • The Discord Text: Every export writes a ready-to-post Discord text, the .md file, never longer than 2000 characters (see The Files).
  • Posting to Discord: The module writes the summary to the Data folder; a Discord bot on the same computer picks it up and posts it.
  • The Files: Written to Data/session-summaries/ (change the folder in the settings).

Documentation

The full Session Summary guide: overview, Installation, Settings, API for module authors, Debug Recorder integration.

Changelog

  1. 0.1.3
    • Optional support for Dxcufgb's Debug Recorder: when it is installed and the GM records, this module adds its state (counts only, no names or text) and a trail of its main actions to the bug report file. Nothing changes without it.
  2. 0.1.2
    • Wild shape and polymorph forms are no longer counted as extra characters. Damage, kills, distance, dice, downs and rests of a form such as "Bödvar Haraldsson (Brown Bear)" now go to the original character, and forms don't get their own achievement. Applies to what is recorded from this version on.
  3. 0.1.1
    • Every achievement now comes with a short sentence saying what it is for: under the title in the Session Summary window, as a small grey line in the Discord text, and as description in the JSON.
    • Returning to setup with a session still open asks whether to end it first, so its summary is written before the world closes. If the summary can't be written, the world stays open. New setting: Remind me when returning to setup (on by default).
    • The Discord text stays within 2000 characters for any party size without cutting an achievement in the middle: achievement descriptions are left out first, and only for a very large party the last achievements, with an "…and N more" line. Long session titles are shortened in the text.
    • api.end() returns { ended, exported } (or false), so callers know whether the summary was written.
  4. 0.1.0
    • First release: records a session on the active GM's client and writes a summary for a Discord bot.
    • Killing blows per character (dnd5e attack / damage cards, midi-qol's GM damage card, or whoever's turn it is). Summons and companions credit their owner's character. A kill that is undone within two minutes is taken back.
    • Damage dealt and taken, healing, friendly fire, heroes dropping to 0 HP (and by whom), death saves, biggest single damage roll.
    • Dice per player (player rolls only, GM rolls aren't counted): rolls, 1s and max results per die type, d20 average, natural 20s and 1s split into attacks, saves, checks, death saves and initiative. Dice dropped by advantage / disadvantage don't count.
    • Fights (rounds, enemies), short and long rests, distance walked per character, the scenes the party spent time in.
    • Achievements: every character in the session gets exactly one, and no two the same (Session's Blessed, Session's Unluckiest, Death Defier, Giant Slayer, Executioner, Field Medic, Stormtrooper, Floor Inspector and 30 more). Every logged-in player's character counts, even if it did nothing.
    • Per character: hits and misses (against the target's AC), saves passed and failed (against the DC), d20 average, 1s and max results.
    • Session Summary window (Token controls): start, pause, end, title, GM notes, live stats, Discord preview, export, download.
    • Export to Data/session-summaries/: session-NNN_DATE.json / .md, latest.json / latest.md and index.json. The Markdown always fits one Discord message (2000 characters).