Repository navigation
Releases
v0.8.0
Update the Foundry module and the bot.
/mapcan switch scenes: the GM's Switch scene menu (under the GM's map) lists the active scene and the scenes in Foundry's navigation bar. Picking one switches/mapfor everyone, and Foundry makes it the active scene when the GM opens the world./mapis private: each user gets their own map that only they see. A player's shows what their own tokens see; the GM's shows every token by its real name, with no fog. The menus sit under the map: the GM's Token to move (real names; a masked creature says what players see, e.g. "Creature") and Switch scene; a player with several tokens (a familiar, a companion) gets Your token. Players move only the tokens they own in Foundry. Maps posted in the channel by 0.7.0 open a private map when a button is pressed./mapfollows the scene's vision when Token Vision is on in Foundry, drawn the way Foundry draws it. A player's map shows what their own tokens see, as in Foundry: what they have line of sight to (sight walls, limited walls, vision cones) and that is lit by daylight (Global Illumination), a lamp or a carried light, or within the token's darkvision. Lights are drawn as light: their radius, cone and colour, stopped by light walls, with darkness sources putting them out. Places out of sight are black, or dimmed where explored when the scene has fog exploration. Creatures and other party members out of sight aren't drawn; a creature only heard (a hearing sense, not behind a sound wall) shows as a dashed outline with no name or picture. The bot works this out itself, so it stays right after moves made in Discord.- Explored areas are shared by the party: they start from the linked players' fog in Foundry and grow with what each player's tokens see in Discord.
- No meta from moving: creatures a player can't see don't steer Go to…, and the move stops where it runs into one ("something you couldn't see is in the way").
- Not simulated: each player's own explored area (the party shares one), detection modes other than hearing, conditions like Invisible, and levels/elevation.
/mapcounts the turn in each system's terms and says what's left:- PF2e / SF2e: Strides and actions, e.g. "30 ft = 2 Strides (2 actions), 20 ft left in this Stride";
- D&D 5e: Speed, then the Dash action ("45 ft: needs the Dash action, 15 ft left");
- Draw Steel: squares for the move action, then the main action used to move;
- Daggerheart: range bands: within Close range (6 squares) is part of an action, beyond it may need an Agility Roll;
- other systems: against Speed when the token has one.
- The setting is now Share scenes with Discord: it sends the navigation-bar scenes too (backgrounds only when they change). Activating a scene in Foundry still switches
/map. It also sends sight-blocking walls, lights, darkness and Global Illumination, each token's vision, light, facing and senses, the players' explored fog, each token's real name (used only in the GM's private menu) and which linked players own it; changing an actor's ownership re-syncs. - The bot no longer crashes on an incomplete scene or token image; it skips the image.
v0.7.0
Update the Foundry module and the bot, run npm install (the bot has a new package for drawing maps), then npm run register (new commands). Docker: rebuild the image.
-
/mapposts the active scene in the channel with move buttons, to keep fights going between sessions:- arrows move one square; Go to… takes a square like
F7and finds the shortest path around walls, closed doors and enemies (allies can be passed); - distances follow the scene's diagonal rule (PF2e 5/10), and the card adds up the turn's movement against the token's Speed ("2 Strides");
- players move their own character, the GM picks any token; Undo, Whole map / Close up, Refresh;
- moves are queued and Foundry moves the tokens when the GM opens the world.
- arrows move one square; Go to… takes a square like
-
New setting Share the active scene with Discord (on): Foundry sends the active scene's map area (background and visible tiles), walls and visible tokens. Hidden tokens and tiles are never sent; creature names only when players could see them. Square grids only.
-
/searchlooks up compendium entries from Discord: type what you're looking for in the pop-up, pick from up to 25 matches, and read the entry (traits, level, price, range, the full text and its source). Show in channel posts it for everyone. Works with Foundry closed. -
Foundry uploads the searchable compendiums to the bot: on world load when the system, a compendium's package or the choice changed, or with Upload now. GM-only text in descriptions is never uploaded.
-
New GM window Game Settings → Discord Roller → Searchable compendiums picks the compendiums. By default it's the game system's item compendiums, without effects, bestiaries and adventure content. New setting Upload compendiums for /search (on) turns the automatic upload off.
v0.6.1
Bot only: update your bot. No new commands, so npm run register isn't needed. The Foundry module is unchanged.
- The bot folder includes
start-bot.ps1andstart-bot-hidden.vbsfor running it in the background on Windows, restarting it if it stops. The wiki's Bot Setup → Keeping it running has the commands for Windows, pm2, systemd and Docker. - The module isn't listed in Foundry's package browser (it needs a self-hosted bot). Install and update it from the manifest URL:
https://github.com/roileaf/foundry-discord-dice-roller/releases/latest/download/module.json.
v0.6.0 — Every command is a form
Bot only: update your bot and run npm run register. The Foundry module is unchanged.
- Every command is a form now. No command has options: type the command and press Enter. Run
npm run registerafter updating the bot./rollopens a private form: kind of roll, the roll, its options (MAP, advantage, edge…), a target, Modifier… (modifier, initiative, and a DC for GMs), Secret, Roll. GMs first pick who rolls, from two menus: A character and A creature on the scene (25 each, so a busy scene no longer pushes creatures off the list).- The
/rollform opens on ⭐ Recent: your last 5 rolls with that character, newest first, so a repeat is one pick and Roll. /r,/targetand/heroopen a pop-up./kingdomopens a menu: Status, Activity check, Event check, Turn tracker, and the GM's Collect, Upkeep, Event, End turn. Checks pick the phase, activity, skill and group from menus.
- Request form, Daggerheart: says Difficulty, never DC or AC. An attack with a target still asks for its Difficulty (Daggerheart creatures don't sync one).
- Request form, Draw Steel: Set difficulty takes easy, medium or hard per test, and the test is judged as soon as it's rolled. Abilities have nothing to set. Before, the number typed there was ignored.
- Group check summary names what was set: AC, Difficulty, or Draw Steel's level.
v0.5.3 — Request form only, target AC/DC
Bot only: update your bot and run npm run register. The Foundry module is unchanged.
/requesthas no options any more: it always opens the request form.- Request form shows the number the target gives each covered roll ("vs Blue Dragon's Will DC 32", "AC 41"), or that you set it after the roll when the creature has no synced defense.
- Requests and skill actions: the form lists Skill Action right after Skill, and a skill action from a group request now DMs the GM its outcome and Apply button.
- Request form: one attack per request (the attack list is single-choice).
- Request form: attacks say AC, not DC. With a target, attacks and skill actions use its AC/DC automatically: they drop out of Set DCs, which then asks only for the other rolls (or reads "AC from target" when nothing is left).
v0.5.2 — Request form lists the players here
Bot only: update your bot. The Foundry module is unchanged.
- The request form lists the players in this thread or channel: who has rolled there, plus the thread's members (or who can see the channel). Everyone here asks only them; Show all players… lists the rest.
v0.5.1 — Request form, skill action targets
All changes are in the bot: update it and run npm run register (/request has new options). The Foundry module is unchanged.
- Request form:
/requestwith no roll opens a private form. Pick the player or everyone, up to four rolls (by kind), a target, Pick one and Secret. Set DCs sets a hidden DC per roll; Send posts the request. - Skill actions rolled without a
target: the GM DM has an Against which creature? menu. Picking one sets the DC from that creature (Demoralize: its Will DC) and adds the Apply button. /requesthas atargetoption: attacks are judged against the creature's AC, skill actions against its DC./roll'stargetdescription now says it works for skill actions too./requestcan ask for up to four rolls (what2–what4), each with its own DC (dc2–dc4;dccovers any roll without one). The player gets a button for each and rolls every one. Withpickone:Truethey roll only one. In a group check, the GM summary shows each player's rolls.
v0.5.0 — Full kingdom turn, more skill actions
- Structure bonuses from the active settlement (and the capital, if Kingmaker Tools' include-capital setting is on) count in kingdom checks. Only built structures count. The Ruler gets the ruler bonus. The GM DM names the settlement.
- Settlement consumption, settlement resource dice and settlement storage now count in upkeep, collect and storage.
/kingdom statusshows storage per commodity. - Event checks:
/kingdom eventnames the event. The GM DM has Ping the leader and Add as ongoing event. New/kingdom eventrollrolls the check with event, leader and structure bonuses, with Next stage and Resolve buttons. - Activity costs (Claim Hex, Establish Work Site and others) appear as Cost buttons in the GM DM. Apply all never applies them.
- "Choose one" outcomes show Option buttons. When the text can't be split, each alternative gets a button and a note. Apply all skips choices.
- Turn tracker: one message per turn, updated as steps happen.
/kingdom turnreposts it. Secret rolls show 🤫. - Leaders covered by a feat no longer count as vacant. Fame gains are capped at Kingmaker Tools' maximum.
- New PF2e skill actions: Create a Diversion, Steal, Escape (Athletics or Acrobatics, against the grabber's Athletics DC), Make an Impression and Bon Mot (only for characters with the feat).
/rollautocomplete shows every kind of roll, skill actions included, before you type.
Also in 0.4.1 (not released separately)
- Kingdom rolls name the leader who rolled ("Ruler: Valeros").
/kingdom rollhas aleaderoption; by default it's the role your character holds. The GM DM flags a leader's second kingdom roll in a turn.
The bot changes are in bot/: update your bot and run npm run register (the /kingdom command has new subcommands).
v0.4.0 — Kingdom turns
Kingdom turns in Discord (PF2e Kingmaker)
Run the kingdom turn from Discord, using the PF2e Kingmaker Tools kingdom sheet.
/kingdom status: level, Control DC, RP, Unrest, ruins, commodities, Fame, and what Discord doesn't count./kingdom roll activity: skill:: rolls with the kingdom's modifier (including Kingmaker Tools' automated stats), judged against the right DC. The GM DM has Apply buttons for Unrest, Fame, RP, resource dice, commodities, ruins and the outcome's modifiers; the public card has Reroll (Fame).- GM steps:
/kingdom collect,upkeep,event,endturn. - Needs Kingmaker Tools active and the new setting Sync the Kingmaker kingdom to Discord (on by default). Changes are applied when a GM has the world open.
- Not counted yet: structure and feat bonuses (use
modifier:), settlement consumption and resource dice, warehouse storage. Ongoing events, XP, "pick an amount" effects, building and claiming stay in Foundry.
📖 Wiki: https://github.com/roileaf/foundry-discord-dice-roller/wiki/Kingdom-Turn
Update link (unchanged): https://github.com/roileaf/foundry-discord-dice-roller/releases/latest/download/module.json
Self-hosted bot: copy the new bot/src over your bot folder, run npm run register once (new /kingdom command), and restart it.
v0.3.4
- Rolls made from a
/requestbutton (single or group) now offer the Hero Point / Inspiration reroll, like/roll. In a group check, the GM's summary follows the reroll.
Update link (unchanged): https://github.com/roileaf/foundry-discord-dice-roller/releases/latest/download/module.json
Self-hosted bot: copy the new bot/src over your bot folder and restart it.