This script enables you to install or update a list of Foundry VTT modules easily.
Assume that you started supporting a new content creator and thus got access to their full catalog of Foundry modules.
Usually, you would install such many modules manually by uploading the module folders into your server file system.
With this script you can command your server to download the modules itself instead, and in a single step instead of one by one through the module browser.
- Gather the manifest urls of the modules you want to install or update.
- Download the script.js, then edit it accordingly.
- Login to your Foundry instance and enter the setup menu.
- Open the developer tools of your web browser.
- Inside the developer tools, navigate to the Console tab.
- Paste the content of your modified script.js there, then press Enter.
- ???
- Profit
I haven't tested for that. It does what it should do with Foundry VTT 13.351 running on PM2.