Skip to content

Installation

Roi Horowitz edited this page Dec 2, 2026 · 6 revisions

Installation

Requirements

  • Foundry VTT v14 (verified on 14.370)
  • One of the supported systems: PF2e, SF2e, D&D 5e, Draw Steel or Daggerheart
  • A Discord server where you can add a bot
  • Somewhere to run the bot with Node.js 20.12 or newer, or Docker. See Hosting for The Forge, cloud and VPS setups. Ideally it's always on: a small VPS, a Raspberry Pi or a home server. Running it on the same PC as Foundry works, but only while that PC is on.

1. Install the module

Squire isn't in Foundry's package browser, so searching for it there finds nothing. Foundry doesn't list modules that need a separate program, and this one needs the Discord bot you host yourself (step 2). Install it from the manifest URL:

In Foundry: Add-on Modules → Install Module, paste this manifest URL and click Install:

https://github.com/roileaf/squire/releases/latest/download/module.json

Then enable Squire in each world you want players to roll from.

2. Get the bot

The module download contains a bot/ folder, and the same folder is in the repository.

Do not run the bot from inside Foundry's Data folder. Foundry serves every file in a module folder over HTTP, so the bot's .env (your Discord token) and data/ would be downloadable by anyone who can reach your Foundry. The bot refuses to start inside a module folder. See Security.

Copy it somewhere else first.

Windows (PowerShell):

robocopy "$env:LOCALAPPDATA\FoundryVTT\Data\modules\squire\bot" "$env:USERPROFILE\squire-bot" /E /XD node_modules data

macOS / Linux:

cp -r /path/to/FoundryVTT/Data/modules/squire/bot ~/squire-bot

Then continue with Bot Setup.

Updating

  • Module: update it from Foundry's module list as usual. The manifest always points at the latest release, so Foundry finds new versions on its own.
  • Bot: copy the new bot/ folder over your copy. Keep your .env and data/. Then run npm install, npm run register (in case commands changed) and restart the bot.
  • After updating the module, reload Foundry (F5) in the GM browser so it runs the new code.

Clone this wiki locally