I’m trying to do some custom elements for my Forge game, and was directed to the World Scripter module so that I might be able to create a custom script to put in. However after installing and activating it I’m left with an empty compendium folder and no other information.
I created a macro with the following:
Hooks.on("ready", () => ui.notifications.notify("Welcome to the World!"));
As an edit to this post, another way to add world scripts (if you need them to run very early on in Foundry’s startup) is to export the world (How to Export Worlds and Compendium Modules from The Forge), edit its world.json file and add your world scripts locally, and then re-import the world with the Import Wizard.
Heya - yeah I saw I might be able to do the export/import, but wanted to see if I could do it without that, as I’ll likely need to continually tweak the script, namely as I want to move some elements on certain scenes to work with the Falemos plugin.