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] TokenMod -- Status Markers now support configurable order

1788125976

Edited 1788126013
The Aaron
Roll20 Production Team
API Scripter
Update v0.8.91 -- Added config for status-marker-order (Thanks&nbsp; *** Dave ) The default order for status marker name resolution is default (color spots, dead marker), sheet (status markers provided by the character sheet), then custom (everything else, including the basic supplied set).&nbsp; This creates an issue when you suddenly are getting markers you didn't want or expect from the sheet.&nbsp; You can change that now in a config: !token-mod --config status-marker-order|default|custom|sheet This sets sheet to be the last resolved status.&nbsp; This also opens up the possibility of using your own custom status markers for the defaults (colors, dead, etc). Additionally, I've adjusted the output for: !token-mod --help-statusmarkers It will now show the different types of markers in their own group, along with an up arrow that will promote them above the preceding group.&nbsp; The format is also a bit cleaner, no more weirdly flowing blocks. Finally, there is a new syntax for to force resolving a status marker by tag, rather than by name.&nbsp; This is important if for example you added your own dead marker, and sorted custom ahead of default.&nbsp; Because default status markers don't have an id, there would be no way to reference them.&nbsp; You an now preface the name with a $ and it will be resolved as a tag: token-mod --set statusmarkers|!$dead This will toggle the default dead marker on and off, no matter where it is in the status marker list. New version here:&nbsp;&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/TokenMod/TokenMod.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/TokenMod/TokenMod.js</a> It should be in the 1-click in a few days.
1788362643
The Aaron
Roll20 Production Team
API Scripter
Update v0.8.92 -- Added support for the new aura shapes and borders: Aura Options Aura Options sets the shape that an aura is displayed in on the tabletop. There are six shapes that can be used: square , circle , hex , squareborder , circleborder , and hexborder . Any other value is ignored. Available Aura Options Properties: aura1_options aura2_options Set aura1 to be square: !token-mod --set aura1_options|square In addition, you can also use the aliases aura1_option , aura2_option , aura1_shape , and aura2_shape . !token-mod --set aura1_option|hex aura2_shape|hexborder