Dice Roll Together for Statblock Forge

approvedunreviewed

by Guilherme B. Lopes

An independent shared dice and Rest plugin for Statblock Forge characters, with LAN hosting and online sessions through the GM’s Supabase BYOS project.

↓ 2 downloadsUpdated todayAGPL-3.0

Dice Roll Together 0.1.1

Shared dice, Rest and campaign tools for Statblock Forge.

Features

  • GM-hosted LAN and online sessions (Supabase BYOS; optional self-hosted WSS relay).
  • GM-authoritative rolls, Rest, Resources and Counters.
  • Shared roll log and campaign-specific player rosters, allowed Templates and dice logs.
  • Campaign return codes that identify returning players.
  • Manual dice pools, Set Dice rules, advantage/disadvantage and queued Add to Next Roll modifiers.
  • Optional Statblock Forge integration with Atlas DiceTool/Local Player View support.

Formula and Atlas compatibility

  • Forge resolves character Field references first, including Number/Rating formulas and Checkbox, Selection, Counter and Table values.
  • The GM host checks the formula and reference keys against the GM-selected Template, applies the submitted numeric reference snapshot, then compiles dynamic dice counts and arithmetic inside dice modifiers into canonical dice notation before calling Atlas. The existing character-value verification model is unchanged.
  • Atlas performs the roll once when a scene is presented. Without a presented scene, the DRT engine rolls locally. If Atlas attempts and rejects a formula, the request is rejected; it is never rolled again locally.
  • Functions such as floor() belong in a referenced Number/Rating Formula, not directly in Dice Formula syntax.

Online setup

Online sessions require a Supabase project. Use the in-plugin setup assistant, provide the project URL and public client key, then apply the generated SQL in the project's SQL Editor. Never use a service-role or secret key in client code. LAN and local features do not require Supabase.

Build from source

Requires Node.js 22 or later.

npm install
npm run check
npm run build

The build creates main.js; include it with manifest.json and styles.css in the plugin folder for installation.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.