A module to easily browse and filter spells, features and actors from compendiums.
 
 
 
Go to file
Matheus Clemente ca1f629151 Update compendium-browser.js 2023-11-09 14:50:57 -03:00
.github Add dev tools 2023-11-09 14:14:29 -03:00
.husky Add dev tools 2023-11-09 14:14:29 -03:00
src Update compendium-browser.js 2023-11-09 14:50:57 -03:00
.editorconfig Add dev tools 2023-11-09 14:14:29 -03:00
.eslintignore Add dev tools 2023-11-09 14:14:29 -03:00
.eslintrc.cjs Linting 2023-11-09 14:29:24 -03:00
.gitattributes Update .gitattributes 2020-04-30 19:08:20 +02:00
.gitignore Add dev tools 2023-11-09 14:14:29 -03:00
.gulp.json Add dev tools 2023-11-09 14:14:29 -03:00
.nvmrc Add dev tools 2023-11-09 14:14:29 -03:00
.prettierignore Add dev tools 2023-11-09 14:14:29 -03:00
.prettierrc.cjs Add dev tools 2023-11-09 14:14:29 -03:00
CHANGELOG.md Move files 2 2023-11-09 14:04:11 -03:00
CONTRIBUTING.md Add dev tools 2023-11-09 14:14:29 -03:00
README.md Add dev tools 2023-11-09 14:14:29 -03:00
gulpfile.mjs Add dev tools 2023-11-09 14:14:29 -03:00
package-lock.json Add dev tools 2023-11-09 14:14:29 -03:00
package.json Add dev tools 2023-11-09 14:14:29 -03:00
preview.jpg Add files via upload 2019-12-29 17:54:57 +01:00
rollup.config.mjs Add dev tools 2023-11-09 14:14:29 -03:00

README.md

Compendium Browser

Tired of scrolling compendia? Easily browse and filter for spells, feats, items, and NPCs using Compendium Browser.

Compendium Browser is faster and better-behaved; it no longer loads all the compendia into memory on start-up (which sometimes hung servers because of memory or CPU requirements). Instead, it filters and loads on-demand, as well as giving you a Module Setting to control how many rows are loaded at a time.

Installation

  1. Go to the Add-on Modules tab in Foundry Setup
  2. Click Install Module and search for Compendium Browser OR paste this link: https://github.com/League-of-Foundry-Developers/compendium-browser/releases/latest/download/module.json
  3. Open your world and go to Settings>Manage Modules and enable Compendium Browser

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 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 manner and can be found in the compendium-browser.js at around line 726.

License

This project is a fork of Compendium Browser by Felix Müller.

Community Contribution

See the CONTRIBUTING file for information about how you can help this project.