From d96a339991fc73651d34f3127bdd06889a9e807b Mon Sep 17 00:00:00 2001 From: Spetzel <10853466+spetzel2020@users.noreply.github.com> Date: Wed, 17 Feb 2021 14:11:54 -0800 Subject: [PATCH] Described new behavior and differentiation from old version --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5ac64fe..3e3696e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # 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. +A module to easily browse and filter spells, feats, items, and npcs loaded from compendia. +**NEW** 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. Copy this link and use it in Foundrys Module Manager to install the Module @@ -14,11 +13,11 @@ A module to easily browse and filter spells as well as npcs loaded from compendi ![example](preview.jpg) ## 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. +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 manor and can be found in the compendium-browser.js at around line 726. +All filters featured in the app are included in this manner 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