A module to easily browse and filter spells, features and actors from compendiums.
 
 
 
Go to file
opus1217 86b15332fe 0.4.1k 12-Feb-2021
Auto-populates the visible tab (based on what is meant to be displayed)
- Needs a Loading... progress indicator in the data area + remember if data has been loaded already

compendium-browser.js
- afterRender(): Hook called after app is rendered to populate initial data
- _onChangeTab(): Override to load data in this tab when you switch tabs
- Move observer to be an instance property

en.json
- Add tab name tags

template.html
- Use tab name tags
2021-02-12 10:53:58 -08:00
.github Update FUNDING.yml 2020-03-20 12:32:16 +01:00
lang 0.4.1k 12-Feb-2021 2021-02-12 10:53:58 -08:00
template 0.4.1k 12-Feb-2021 2021-02-12 10:53:58 -08:00
.gitattributes Update .gitattributes 2020-04-30 19:08:20 +02:00
Patchnotes.md Update Patchnotes.md 2020-06-12 18:33:32 +02:00
README.md Spelling errors (Issue #1) 2021-02-08 08:58:53 -08:00
compendium-browser.css Add files via upload 2020-06-12 18:23:32 +02:00
compendium-browser.js 0.4.1k 12-Feb-2021 2021-02-12 10:53:58 -08:00
compendium-browser.less Add files via upload 2020-06-12 18:23:32 +02:00
item-packs.json Add files via upload 2020-06-12 17:29:59 +02:00
module.json 0.4.1 8-Feb-2021 2021-02-08 09:13:31 -08:00
preview.jpg Add files via upload 2019-12-29 17:54:57 +01:00
spell-classes.json Add files via upload 2020-04-30 19:07:00 +02:00
sub-classes.json Add files via upload 2020-06-12 17:29:59 +02:00

README.md

Compendium Browser

This version only works for Foundry v0.4.4 and up. To use the previous version please visit https://github.com/syl3r86/compendium-browser/tree/pre-0.4.4

A module to easily browse and filter spells as well as npcs loaded from compendia.

Installation

  1. Copy this link and use it in Foundrys Module Manager to install the Module

    https://raw.githubusercontent.com/syl3r86/compendium-browser/master/module.json

  2. Enable the Module in your Worlds Module Settings

example

Details

Only the Gamemaster has access to the Settings, where they can enable or disable player access to the spell or npc-browser. It is highly recommended to disable any compendia that do not contain spell or should not be used in the NPC Browser. This reduces the initial loading time, that happens after a client connects to foundry, immensly.

This application enables anyone to add their own custom spell or npc filters via the api. After initialization the app can be found under game.compendiumBrowser where either addSpellFilter or addNpcFilter can be used to add a filter. This does support any data that the spell or npc has, including flags.

All filters featured in the app are included in this manor and can be found in the compendium-browser.js at around line 726.

Contribution

If you feel like supporting my work, feel free to leave a tip at my paypal felix.mueller.86@web.de

License

Creative Commons Licence
Compendium Browser - a module for Foundry VTT - by Felix Müller is licensed under a Creative Commons Attribution 4.0 International License.

This work is licensed under Foundry Virtual Tabletop EULA - Limited License Agreement for module development v 0.1.6.