Skip to main content

Foundry VTT module

Install and configure the JDR Ninja module in Foundry VTT

Prepare installation, link your JDR Ninja account, then enable the features useful for your game. Atlas synchronization also requires a connection to the relevant world.

Unified module in development

The features described are present in the local module. Validation before publication is ongoing, and its public installation link is not available yet.

Before you start

Check your Foundry and game system versions in the world settings. The module requires Foundry 14 or later; D&D generators target exactly Foundry V14 and D&D5e 5.3.3. Atlas synchronization accepts the systems listed on the module page.

Sign in as GM for generators, Atlas synchronization and Twitch table commands. Players can configure relay of their public rolls. Stream Deck is not required for the other features.

Foundry VTT module

Install and enable the module

The unified module does not yet have a public installation link. The steps below concern a local copy; they do not install the old overlay module in its place.

If you have a locally built archive, place its contents in Data/modules/jdr-ninja on the Foundry server. The module.json file must be directly in that folder. Restart your own server, open the world, then enable JDR Ninja in module management.

Then open Foundry settings and the JDR Ninja connections window. It should show the account connection and, for the GM, the Atlas connection.

Link your JDR Ninja account

  1. In the module’s connections window, choose the generator authorization button in the D&D Creatures section if you want to generate monsters or NPCs. For the overlay alone, choose the account connection button. Then open the authorization link and sign in to JDR Ninja if needed.
  2. Check the code and device name. If you want to use the D&D generators, explicitly grant that feature before approving the connection.
  3. Return to Foundry and wait for the account confirmation. Access is checked separately for each feature. If the request expired or was denied, start a new connection.

You can also generate a manual token on your Foundry devices page and enter it in the module. It is shown only once. An old device without generator permission must be paired again to obtain that access.

Manage my Foundry devices
JDR Ninja module connections window in Foundry VTT
Local module preview: account connection and overlay/Stream Deck settings in Foundry.

Enable your chosen features

Account pairing does not enable any integration automatically. The generator, overlay and Stream Deck switches start disabled. Enable only the features you want to use in this browser.

  • D&D generators: check compatibility and Premium access, then enable the generators. Open Monsters or NPCs from JDR Ninja settings or the Actors directory.
  • Overlay: prepare your OBS source in the website’s overlay configuration, then enable Foundry relay. Module diagnostics can check the overlay and OBS source; a test send requires the same paid access as rolls.
  • Stream Deck: install the plugin and start the local connection first, then enable it in Foundry. The dedicated guide explains the pairing key and how to choose the session.

Connect your Atlas world

  1. On the website, open your Foundry connections and create a synchronization connection for the relevant Atlas world. Copy the token shown once. You can also create the connection from that world’s settings.
  2. In Foundry, enter that token in the Atlas section of the JDR Ninja window. Check the world name and synchronization access. This token is separate from the account connection and Stream Deck key.
  3. Enable Atlas synchronization for this Foundry world, open its window from the Actors directory and select the campaign. Link an actor to an existing character or create the character in Atlas, then start synchronization. Check the sheet in Atlas.
Manage my Atlas connections

Prepare values and lists

The module can save values to reuse: a counter, a bonus, a chosen actor or page. Open “Variables and lists (advanced)” in the module settings or in the “Advanced options” section of the “JDR Ninja connections” window. The “Variables” tab holds the values; the “Value lists” tab holds documents sorted in the order of your choice, for example your NPCs or your clues. These settings require neither Stream Deck nor a subscription.

Choose “Personal” for your own values: each user edits their own. A “World” value is shared by all users in the world, but only the GM named in “World variable controller” can change it.

A variable has a “Default value” and a “Current value”. The variable list shows the current value of each one, and “Change current value” lets you change it by hand or reset it to the default value. A “List selection” starts with no current value: after saving it, apply “Reset to default”. A “Computed value” is derived from other variables and cannot be changed directly.

In the “Calculation expression” field, write a variable as @{Name}. After a document variable, add the path of a piece of data as in an Active Effect: if “Spotlight hero” refers to a character, @{Spotlight hero}.system.attributes.inspiration tells whether they have inspiration. The path depends on the game system, and the data is read only if you can see the document.

To pass values to a script macro, declare its arguments in “Compatible macros (advanced)”. This window does not modify the script: the macro must read these arguments and confirm when its execution is finished.

See the Stream Deck examples

Check your first use

Once a feature is enabled, run a full first test before the game.

Create a first creature

Open Monsters from the JDR Ninja settings or the Actors directory, choose a simple profile and start a generation. Review the preview, create the actor, then open its sheet in Foundry to check the result. Each new generation counts toward your account limits.

Update a character in Atlas

Edit a linked character in Foundry, then send its sheet from the Atlas window. Open its sheet in Atlas to check the change before sending the whole list. Changes made in Atlas do not come back to Foundry.

See a public roll in OBS

Make a public roll containing dice in Foundry and compare the result in the chat and in the OBS source. Private, blind and whispered rolls are never forwarded.

Test a Stream Deck key

Start with a key that opens a sheet, then prepare the keys for a scene: activation, ambient sound and darkness, each command on its own key. The Stream Deck guide then offers examples for play.

Prepare the keys for a scene

If you use the old modules

Disable Atlas Character Sync or the old VTT Overlay module before enabling the corresponding integration in the unified module. Settings and connections are not copied automatically. The existing Atlas token can be entered in the new window.

Successful Atlas synchronization can adopt existing actor links. A local disconnect clears the token saved in the module but does not revoke it on the website. Use the management pages to revoke a device or connection.

Troubleshooting

The connection expired or was denied

Restart pairing in Foundry and use the new code. Check that you approve the correct device and account. A cancelled or expired request cannot be reused.

My account is linked, but a feature remains unavailable

Check the message for that feature: device permission, subscription, GM permissions, compatibility and enablement are separate requirements. An Atlas token does not grant D&D generator access. If the token was revoked, pair the device again.

The generators reject my Foundry or D&D5e version

The current target is Foundry V14 with D&D5e 5.3.3. The module’s loading minimum and the systems accepted by Atlas do not change this requirement. Check compatibility in the generator window.

Atlas synchronization does not start

Check your GM role, the world’s Atlas switch, game system, correct world token and synchronization access. Disable the old Atlas Character Sync module if it is still active. The account linked for the overlay does not replace the Atlas connection.

Dice do not appear in OBS

Check relay in this browser, the active website overlay, the OBS browser source and your subscription. Make a public roll containing dice. Private rolls are never forwarded. Check module diagnostics and disable the old overlay module if active.

Stream Deck cannot find the Foundry session

Check that the local connection is started on the same computer as the Foundry browser and the Stream Deck app, and that it is enabled in Foundry. Once Foundry has reconnected, select the session again on the affected keys. The Stream Deck guide explains the pairing key and the allowed addresses.