Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Moving Scripts (and settings) to a different game

What's the best way (is there even a way?) to move API Scripts from one game to another whilst retaining their settings so I can quickly setup a new campaign with my preferred DM tools and settings in place ready to go.

May 11 (5 years ago)
The Aaron
Roll20 Production Team
API Scripter

There isn't a good way of doing that.  Most settings are stored in the state object, which is not transferable.  Even if it was, many settings rely on game specific things, like player/token/character ids, which would be different in another game.  It's a bit of a process, but there isn't a better method currently beyond:

  1. Open both games side by side
  2. Add 1-click scripts in source to the destination game via the dropdown
  3. Copy non-1-click scripts to new tabs in the API
  4. For each script, find the settings you use for it and configure it.

I have some ideas about how this could be streamlined, but they all rely on rewriting large swaths of scripts, and that's not something I've had a chance to work on.

Hi Aaron, thanks for the quick reply. I was pretty certain the answer was going to be no but wanted to double check before starting to copy things over manually.

May 11 (5 years ago)
The Aaron
Roll20 Production Team
API Scripter

No problem!