FoundryVTT - Token Attacher Auto Import JSON Compendium Example

GitHub release (latest SemVer) GitHub Releases GitHub All Releases

[Compatibility]: FoundryVTT v10+
[Systems]: any
[Languages]: English

This Example module has two dnd5e compendiums as regular compendiums and as json files exported through Token Attacher. When you open the world it'll ask to import them into the world if the system differs from the regular compendiums. When the module version changes it'll ask to import the compendiums again, deleteing the pervious ones.

How to use this for your own module

Download the latest zip of this module.

Update module.json with everything that is necessary for your module. Put your compediums and JSON exports side by side in the packs folder, they have to be named the same expect that ".db" has to be ".json" for the JSON exported compendiums.

You can change the texts by editing "languages/en.json". When you do that you have to replace "TOKENATTACHEREXAMPLECOMPENDIUM" with some string that identifies your module for all texts.

Contact

If you wish to contact me for any reason, reach me out on Discord using my tag: KayelGee#5241