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 .
×

[Script, Update] SyncPage v1

SyncPage v1: rewritten for Jumpgate, sync groups, per-page hiding, players card, repair and undo SyncPage v1.0.0 is out. It's a full rewrite of Robin Kuiper's SyncPage 0.1.9, which hadn't changed since 2018. Many thanks to Robin for the original. Your 0.1 set-up carries over, and !sync still works. SyncPage keeps copies of a map in step, so each group of players can be on its own copy (Roll20's split party) and see only what their characters should: move, draw or delete on one page and every copy follows, while each copy hides its own things. What's fixed Jumpgate drawings and walls, doors and windows were never mirrored. An object made on a page was copied to every page whose name contained that page's name ("Town" → "Town Hall", "Old Town"). Deleting anything on a page that wasn't synced threw an error in the API console. Every sandbox start emptied and rebuilt every copy, so object IDs changed (turn order, TokenHome and other Mods lost track), hides on copies were lost and players' tokens were recreated. Links were wiped on every start, so with Reload Refresh off nothing stayed linked. "ForestRoadsynced" linked to "Forest", and names were matched case-sensitively. Show/Hide wrote "undefined" into GM Notes and moved the source token's layer too. Page settings missed every Jumpgate lighting setting, and archiving the original archived the copy. Changes made by other Mods were never mirrored. What's new Named sync groups, stored by page ID (renaming a page is safe), with any number of pages and a source page. Pairing: a page made with Roll20's Duplicate Page is matched object by object (marketplace art kept), and anything missing is copied. Per-copy hiding, in two modes: GM layer, or remove and recreate (nothing left for players to find; turn order kept). A Players card: who is on which page, buttons to move each player, gather everyone, save and restore the layout, and a show/hide grid for the selected tokens. Repair with a preview, Pause/Resume, Undo and a recycle bin per group. Settings for all groups or one group: delete mode (everywhere, source only, unlink or ask), hide mode, leftovers, new objects, token properties and page settings kept per page, layers not synced, page settings on/off, repair on start, player card, recycle bin size and language. TokenMod changes are mirrored, and a public API (getGroup, getLinked, notify, isHidden, onSync, repair) for other Mods. Chat menu (!syncpage), SyncPage - Help and SyncPage - Command Deck handouts, One-Click options for every setting, and 24 languages. True Copy is gone: Roll20's Duplicate Page does it better. How-to video (every feature, about 7 minutes): <a href="https://youtu.be/Ixfhcz2DHmQ" rel="nofollow">https://youtu.be/Ixfhcz2DHmQ</a> Download from GitHub : <a href="https://github.com/steverobertsuk/roll20-api-scripts/releases/download/SyncPage-v1.0.0/SyncPage_v1.0.0.zip" rel="nofollow">https://github.com/steverobertsuk/roll20-api-scripts/releases/download/SyncPage-v1.0.0/SyncPage_v1.0.0.zip</a> Docs and changelog : <a href="https://midniteshadow.online/projects/roll20-mods/syncpage/" rel="nofollow">https://midniteshadow.online/projects/roll20-mods/syncpage/</a> It will appear in the One-Click installer soon (it has 0.1.9 today). Until then, upload SyncPage.js from the zip to your game's Mod scripts, replacing 0.1.9 (don't run both). Questions, feedback and bug reports are welcome in this thread. &nbsp; Steve (MidNiteShadow7)
The Roll20 wiki now has a page for SyncPage 1.0.0: <a href="https://wiki.roll20.net/Script:SyncPage" rel="nofollow">https://wiki.roll20.net/Script:SyncPage</a> It covers mirrored pages, hiding tokens per page, repair and undo, every command, and upgrading from 0.1.