Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Mod Scripts Major Update 2024"

From Roll20 Wiki

Jump to: navigation, search
(Summary of changes)
m
Line 5: Line 5:
  
 
The '''Mod Scripts Major Update 2024''' was a large update to [[Mod Scripts]] sprearheaded by [[The Aaron]], giving more access for mods to different parts of Roll20, along with improving their performance.
 
The '''Mod Scripts Major Update 2024''' was a large update to [[Mod Scripts]] sprearheaded by [[The Aaron]], giving more access for mods to different parts of Roll20, along with improving their performance.
βˆ’
 
+
<br>
 
The update was made available as opt-in on a per-game basis on April 25th.{{source|https://app.roll20.net/forum/permalink/11877142/}}
 
The update was made available as opt-in on a per-game basis on April 25th.{{source|https://app.roll20.net/forum/permalink/11877142/}}
  

Revision as of 12:58, 3 May 2024



The Mod Scripts Major Update 2024 was a large update to Mod Scripts sprearheaded by The Aaron, giving more access for mods to different parts of Roll20, along with improving their performance.

The update was made available as opt-in on a per-game basis on April 25th.

Access

  1. Go to a game's "Mod Script"-page, and scroll down until you see API Sandbox Version( or "Mod Sandbox Version"), and a dropdown menu.
  2. Switch it from "Default" to "Experimental".

See these comments for additional info on the experimental version.

Features

full list of changes(Forum)

Summary of the changes:

  • Better Mod Output Console messages
    • Whenever possible, output messages will now list one or more context objects.
  • jQuery access
  • Functions:
    • new function: toAbove(obj,target), toBelow(obj,target) (to place object just above/below other object)
    • faster: toFront(obj), toBack(obj)
    • updated: findObjs(properties, options)
    • bugfix: spawnFxBetweenPoints(point1, point2, type, pageid)
  • Objects:
    • Individual Roll20 Objects now have more capabilities.
    • now support a property of .type, similar to existing .id.
    • new objects: pageFolder
    • objects with new properties and/or new functions: campaign, page, graphic, character, handout, card, rollabletable, path, text

Links

Category:Feature(Beta)