Skip to content

A Foundry VTT module to share Data between worlds via compendia.

Notifications You must be signed in to change notification settings

stschoelzel/My-Shared-Compendia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My Shared Compendia

A Foundry VTT module to share Data between worlds via compendia.

Installation

  1. Go to the Add-on Modules tab within the FoundryVTT Configuration and Setup page.
  2. Click the Install Module button.
  3. Paste the Module's Manifest URL into the Manifest URL field.
  4. Click the Install button.
WARNING: If you update this module, FoundryVTT will erase your compendia.

Preventing Module Update

  • Option 1 (easier): Locking your module:
    1. Go to the Add-on Modules tab within the FoundryVTT Configuration and Setup page.
    2. Find this module (My Shared Compendia) in the list, and click the padlock icon.
      • Unlocked:
        unlocked-module
      • Locked:
        locked-module
  • Option 2: Updating your module.json file:
    1. Go to the Module's installation folder within foundry (~/Data/modules/My Shared Compendia) and update the module.json file.
    2. Remove lines 68-69 (download and manifest) and save the file.
    3. Restart Foundry to reload the module.

Unlock your Compendia!

Remember that you need to unlock your compendia to be able to add things to them.

Default Setup

This module comes with 13 Default compendia:

  • Actors (shared) (Actor)
  • Adventures (shared) (Adventures - documentation pending)
  • Classes (shared) (Item)
  • Feats (shared) (Item)
  • Items (shared) (Item)
  • Journal Entries (shared) (JournalEntry)
  • Macros (shared) (Macro)
  • Monsters (shared) (Actor)
  • Playlists (shared) (Playlist)
  • Roll Tables (shared) (RollTable)
  • Scenes (shared) (Scene)
  • Spells (shared) (Item)
  • Subclasses (shared) (Item)

Customize

To change the default setup, edit the module.json file. All compendia are defined within the "packs" attribute beginning with line 18.

For example:

{
  "packs": [
    {
      "name": "monsters",
      "system": "dnd5e",
      "label": "Monsters",
      "path": "./packs/monsters.db",
      "module": "my-shared-compendia",
      "type": "Actor"
    },
    {
      "name": "my-custom-items",
      "system": "dnd5e",
      "label": "My Custom Items",
      "path": "./packs/items.db",
      "module": "my-shared-compendia",
      "type": "Item"
    }
  ]
}

Note: There are no compendium Types for Classes, Feats, and Features in Foundry, so the Item type is generally used for these.

Dependencies

Credits

Credit for the cleaner version goes to npiani. Process explained by /u/solfolango on /r/FoundryVTT.

About

A Foundry VTT module to share Data between worlds via compendia.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published