Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to clear compendiumConfiguration in v11 to reset Compendium Folders while testing #58

Open
kristianserrano opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kristianserrano
Copy link

Is your feature request related to a problem? Please describe.
In Foundry v11, Folder structure gets stored in core.compendiumConfiguration which doesn't update if a module modifies the folder structure in its manifest.

Describe the solution you'd like
To update folders from from modules, you must clear the Compendium Configuration data. The command to do this is:

game.settings.set("core", "compendiumConfiguration", undefined)

See @cswendrowski 's comment in the Foundry VTT repo.

Having an option (e.g. a button or macro) that either clears this on demand or a setting that always clears when loading a world (is that possible?) might be useful when testing modules during development.

Describe alternatives you've considered
I've created a macro for myself to do this when needed, but that could be at risk of accidentally getting lost.

Additional context
None.

@kristianserrano kristianserrano added the enhancement New feature or request label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant