This script is just a simple one that adds the Plutonium backend to your FoundryVTT installation.
This script currently only supports linux based installations. It is possible this script will also work on Apple Mac, but I do not own any Apple products and cannot test that.
- Install the Plutonium module
- Shutdown your FoundryVTT server
- Run the following to make sure the script can be executed:
> chmod +x plutonium-backend.sh
- Run the script with the following command:
> ./plutonium-backend.sh /path/to/foundryvtt /path/to/foundrydata
- You will be asked which version of Foundry you have, simply type the number that is beside your version and hit enter.
- Start FoundryVTT and enjoy
Simply follow the above steps. If you have previously installed Plutonium, the script will detect the back up file and ask if you would like to uninstall the plutonium backend.
If you don't want to input the paths every time you want to run the script, you can edit just a couple of lines to hardcode your paths. Simply do the following:
- Open the script in any text editor.
- Find line 40 and replace
fvtt="$1"
withfvtt="/path/to/my/foundry"
- Find line 41 and replace
data="$2"
withdata="/path/to/my/foundrydata"
- Delete lines 31 to 38 which look like the following:
if [ $# -ne 2 ]; then echo "How to use this script" echo " > $0 <foundry_dir> <data_dir>" echo "" echo " <foundry_dir> Installation directory of FoundryVTT" echo " <data_dir> FoundryVTT Data directory" exit fi
- Save the file
Note: I DO NOT recommend using relative paths like ./path/to/foundry
or ~/path/to/foundry
as relative paths are unreliable. Please use absolute paths instead like /home/username/path/to/foundry
I wrote this for my own server environment and have not tested it outside of Ubuntu Server and WSL. I cannot guarantee it will work for everyone.