Skip to content

Ruleset Types and What They Mean

Spell Book defines class-specific defaults for spell swapping, cantrip swapping, and ritual casting through two rule sets. You select the active rule set globally, and each actor can override it through Spell Book Settings.

Spell Book does not block spell preparation. A player keeps full control over what they prepare. The Notify GM on Spell Changes setting whispers you a card each time a player saves a change to their prepared cantrips or spells.


The Default Spellcasting Rules setting (spellcastingRuleSet) sets the global rule set to legacy or modern.

The active rule set determines which class defaults apply when a new spellcasting class is first initialized on an actor. Per-class overrides already stored on the actor are preserved, and changing the setting does not rewrite them.

Applies the 2014 D&D 5e rules:

  • No class can swap cantrips.
  • Paladins and Rangers do not display cantrips.
  • Wizard ritual-casts from the spellbook.
  • Cleric, Druid, and Bard have prepared-only ritual casting.
  • Bard, Sorcerer, Warlock, and Ranger swap spells on level up.

Applies the 2024 D&D 5e rules:

  • Most classes swap cantrips on level up.
  • Wizard swaps cantrips on long rest.
  • Paladin and Ranger do not display cantrips and cannot swap cantrips.
  • Cleric, Druid, and Bard have no ritual casting.
  • Wizard ritual-casts from the spellbook.
  • Ranger swaps spells on long rest.
ClassRule SetSpell SwapCantrip SwapRitual CastingShow Cantrips
WizardLegacyLong RestNoneAlwaysYes
WizardModernLong RestLong RestAlwaysYes
ClericLegacyLong RestNonePreparedYes
ClericModernLong RestLevel UpNoneYes
DruidLegacyLong RestNonePreparedYes
DruidModernLong RestLevel UpNoneYes
PaladinLegacyLong RestNoneNoneNo
PaladinModernLong RestNoneNoneNo
RangerLegacyLevel UpNoneNoneNo
RangerModernLong RestNoneNoneNo
BardLegacyLevel UpNonePreparedYes
BardModernLevel UpLevel UpNoneYes
SorcererLegacyLevel UpNoneNoneYes
SorcererModernLevel UpLevel UpNoneYes
WarlockLegacyLevel UpNoneNoneYes
WarlockModernLevel UpLevel UpNoneYes
ArtificerLegacyLong RestNoneNoneYes
ArtificerModernLong RestLevel UpNoneYes

Spell Book Settings dialog showing per-actor and per-class rule overrides

Each character can override the global rule set through Spell Book Settings using the Rule Set Override dropdown:

ValueEffect
Use GlobalFollows the world-level spellcastingRuleSet value
LegacyApplies Legacy defaults for this actor’s class initialization
ModernApplies Modern defaults for this actor’s class initialization

The override is stored as the ruleSetOverride actor flag (null, "legacy", or "modern"). Per-class rule fields saved in Spell Book Settings take precedence over the rule set defaults.


The world setting notifyGmOnSpellChanges controls two things. It shows a toast on the player’s screen when they exceed a cantrip or spell preparation maximum. It also sends a whispered chat card to all GMs each time the player saves a change to their prepared cantrips or spells. The card lists each removed and added spell. A class that is over its cantrip or spell limit adds a warning line to the same card.

  • When on, the player sees a toast when a max is exceeded, and you receive a whispered card on every save.
  • When off, no toast is shown and no card is whispered.

The Notify on Spell Changes checkbox in Spell Book Settings is a plain boolean. It defaults to the current world setting value, and saving writes an explicit true or false to the notifyGm actor flag. There is no “Use Global” third state.


Spell swapping and cantrip swapping are configured independently per class. Both use the same three modes:

ModeValueWhen Swapping Is Allowed
NonenoneCannot swap
Level UplevelUpOnly when the class gains a level
Long RestlongRestAfter completing a long rest

Ritual casting is configured per class:

ModeValueBehavior
NonenoneNo ritual casting
PreparedpreparedRitual-casts only currently prepared ritual spells
AlwaysalwaysRitual-casts any ritual spell available to the class

When a wizard class has ritualCasting = always, ritual spells in the wizard’s spellbook are castable as rituals without being prepared. The wizard ritual pool is tracked on the wizardRitualCasting actor flag.


Wizard-specific values are seeded from WIZARD_DEFAULTS:

FieldMeaning
startingSpellsFree spells added to the spellbook at character creation
spellsPerLevelFree spells added to the spellbook on level up
spellLearningCostMultiplierGP per spell level to copy a spell into the spellbook
spellLearningTimeMultiplierMinutes per spell level to copy a spell into the spellbook

You can customize all four values per wizard class through Spell Book Settings. For defaults, see Installation and Settings.


You can grant extra preparation slots per class through Spell Book Settings:

  • spellPreparationBonus grants extra leveled spell preparation slots.
  • cantripPreparationBonus grants extra cantrip preparation slots.

Each value stacks additively on top of the class’s calculated maximum and clamps to the range -20..20. For defaults, see Installation and Settings.


SettingScopeWhere
Default Spellcasting RulesWorldModule settings
Notify GM on Spell ChangesWorldModule settings
Rule Set OverrideActorSpell Book Settings
Notify on Spell ChangesActorSpell Book Settings
Cantrip SwappingPer-classSpell Book Settings
Spell SwappingPer-classSpell Book Settings
Ritual CastingPer-classSpell Book Settings
Show CantripsPer-classSpell Book Settings
Force Wizard ModePer-classSpell Book Settings
Class Spell ListPer-classSpell Book Settings
Subclass Spell ListPer-classSpell Book Settings
Preparation BonusesPer-classSpell Book Settings
Wizard DefaultsPer-classSpell Book Settings