Skip to content

Installation and Settings

This guide covers installing the Spell Book module and configuring its world and client settings.

  • Foundry VTT: 13.351 or newer
  • D&D 5e System: 5.3.0 or newer
  • Optional: tidy5e-sheet, chris-premades (extra compatibility settings appear when active)
  1. Launch Foundry VTT and open the Setup screen.
  2. Open Add-on Modules and click Install Module.
  3. Search for Spell Book by Tyler.
  4. Click Install.
  5. Enable the module in your world’s Manage Modules menu.
  1. Open Add-on Modules and click Install Module.

  2. Paste the following Manifest URL:

    https://github.com/Sayshal/spell-book/releases/latest/download/module.json
  3. Click Install and wait for the download to finish.

  4. Enable the module in your world’s Manage Modules menu.

After enabling the module:

  1. Open Game Settings -> Configure Settings -> Spell Book.
  2. Choose your Default Spellcasting Rules (Legacy 2014 or Modern 2024).
  3. Decide whether the GM should be notified when players overprepare via Notify GM on Spell Changes.
  4. Open Spell Details Customization to choose which UI elements and metadata appear in spell rows.
  5. As GM, open an actor’s Spell Book and use the gear icon in the sidebar to open the Spell Book Settings dialog and override world defaults per actor and per class. The gear is hidden for non-GM users. See Class Rules.

All settings live under Game Settings -> Configure Settings -> Spell Book. Scope: World = GM-only, shared by everyone; Client = per user, stored locally; User = per user, synced with the server.

SettingKeyScopeDefaultDescription
Default Spellcasting RulesspellcastingRuleSetWorldlegacyDefault rule set for spellcasting behavior. Choose Legacy Rules (2014) or Modern Rules (2024). Per-actor override available in Class Rules.
Notify GM on Spell ChangesnotifyGmOnSpellChangesWorldtrueWhen a player prepares more cantrips or spells than their class allows, the GM receives a whispered report. Does not block preparation. Per-actor override available in Class Rules.
SettingKeyScopeDefaultDescription
Consume Scrolls When LearningconsumeScrollsWhenLearningWorldtrueWhether spell scrolls are consumed when a wizard learns a spell from them.
Deduct Spell Learning CostsdeductSpellLearningCostWorldfalseAutomatically deduct gold from the character when learning spells. Cost per spell level is configurable per class.
Cantrip Scale Value KeyscantripScaleValuesWorldcantrips-known, cantripsComma-separated scale value keys the module checks to find a class’s cantrip limit. First resolving key wins; add keys here for homebrew classes.
Auto-Delete Unprepared SpellsautoDeleteUnpreparedSpellsUserfalseAutomatically removes unprepared prepared-casting spells from the character sheet after saving. Cleans up spells unprepared through the system UI.
Disable Long Rest Swap PromptdisableLongRestSwapPromptClientfalseDisables the dialog that appears after a long rest for swapping spells or cantrips. The Spell Book remains available for swaps.
SettingKeyScopeDefaultDescription
Maximum Note LengthspellNotesMaxLengthWorld240Maximum characters allowed in a personal spell note (range 10-1000, step 10).
Inject Notes into Spell DescriptionsinjectNotesIntoDescriptionsClientoffInserts your personal spell notes into the spell description on the character sheet. Options: Off, Before description, After description.
Party Mode Token LimitpartyModeTokenLimitClient4Maximum number of party member tokens displayed per spell in Party Mode (range 2-8).
SettingKeyScopeDefaultDescription
Logging LevelloggingLevelClient2 (Warnings)Console verbosity: 0 Off, 1 Errors, 2 Warnings, 3 Verbose. The Troubleshooter captures all events regardless of this setting.
SettingKeyScopeDefaultDescription
Cauldron of Plentiful Resources CompatibilitycprCompatibilityWorldfalseOnly appears when the chris-premades module is active. When enabled, automatically runs CPR automation setup after spells are added to character sheets.

Display Toggles (via Details Customization)

Section titled “Display Toggles (via Details Customization)”

The per-element UI toggles do not have individual entries in the main settings panel. They are configured through the Spell Details Customization menu and stored as client-scope booleans, one per toggle. The full list:

  • Player Spell Book UI: Favorites, Compare, Notes, Position Controls at Bottom (sidebarControlsBottom)
  • Player metadata: Spell Level, Components, School, Casting Time, Range, Damage Types, Conditions, Save, Concentration, Material Components
  • Spell List Manager UI (GM): Compare
  • Spell List Manager metadata (GM): same list as player metadata, stored under gmUI* keys

The Wizard Book Icon Color (wizardBookIconColor, client scope, ColorField, default null) is also configured here.

Full reference: Details Customization.

These are registered with config: false and are not visible in the settings panel. They persist module state or internal bookkeeping:

KeyScopePurpose
customSpellListMappingsWorldCompendium-to-custom-list mappings maintained by the SLM.
registryEnabledListsWorldIDs of dnd5e registry lists enabled for display.
hiddenSpellListsWorldUUIDs excluded from the Class Rules spell-list pickers and other consumers.
spellBookPositionnClientLast window position of the Player Spell Book.
sidebarControlsBottomClientLayout flag (exposed through Details Customization).
troubleshooterIncludeActorsClientRemembered Troubleshooter checkbox.

The settings panel exposes two dialog menus alongside the standard settings.

Opens a dialog where each user toggles UI elements and metadata fields on spell rows in the Player Spell Book and Spell List Manager, sets the wizard book icon color, and positions sidebar controls.

  • Menu label: Configure Display
  • Icon: paint palette
  • Restricted: No (players and GMs)

Full reference: Details Customization.

  • Menu label: Open Troubleshooter
  • Icon: bug
  • Restricted: World / GM only
  • Purpose: Generates a diagnostic report of environment, settings, and (optionally) actor data for bug reports. Supports copying to clipboard, exporting to file, import/export of Spell Book settings, and quick links to the issue tracker and Discord.

The Spell Book Settings dialog (gear icon in the Player Spell Book sidebar) provides per-actor and per-class overrides. The gear is rendered for GMs only; non-GM users do not see it.

Spell Book button injected into the D&D 5e character sheet

  • Rule Set Override — Use Global / Legacy / Modern (per actor)
  • Notify on Spell Changes — boolean (per actor)
  • Cantrip / Spell Swapping — none / level-up / long-rest (per class)
  • Ritual Casting — none / prepared / always (per class)
  • Class Spell List / Subclass Spell List — multi-select (per class, required for spells to show)
  • Show Cantrips, Force Wizard Mode, preparation bonuses, wizard learning cost/time, starting spells, spells per level

These overrides take precedence over the world-level defaults. See Class Rules.

  1. Confirm the module is enabled in Manage Modules.
  2. Confirm Foundry is on 13.351 or newer and dnd5e is on 5.3.0 or newer.
  3. Open the Troubleshooter menu, generate a report, and share it on Discord or the issue tracker.
  • Lower Logging Level to Warnings or Errors.
  • Disable optional integrations you do not use.

Navigate to Game Settings -> Configure Settings -> Spell Book -> Open Troubleshooter to generate a system report for support.