Easily create World Scripts without needing to create your own module or world script file.
If you were looking for more information on "World Scripts", you may find more information on the Foundry Community Wiki. This module basically cuts down on the work of setting up the files.
How to Use
- Go to the module settings.
- Paste your code.
- Save and reload.
I suggest you edit the code on the Macro Editor or on an external text editor, because there's a visual issue with the editor on the game settings.
Caveats
There is a small difference for "init" hooks where you need to run it immediately, AKA paste it without the Hooks.on("init"
part and the )
, or call it at "i18nInit" instead. This is due to the fact the module already runs at that hook, so Foundry won't detect it.