Используемые Roll20 API Scripts

❎️⛏ Все еще не завершено


API scripts используемые при играх через Roll20

Универсальные скрипты


Описание: This script lets you change just about any property of a token from a macro or the chat. You can only change tokens you control (enforced by the ability to select them), unless you are the GM, in which case you can specify token_ids with the --ids command. The same operation is applied to all selected tokens, so it makes batch changes fast and easy.

Ссылки Roll20 wiki ||| GitHub |||


Описание: Позволяет изменять атрибуты листа персонажа командами из чата.

Ссылки Roll20 Forum


Roll20 Audio Master FORUM


Описание: Предназначен для групповых проверок от выделенных токенов.

Ссылки Roll20 ||| GitHub |||


Описание: This script adds a command for rapidly adding large groups of tokens into the turn order. As of v0.3, there are quite a few configuration commands (see Commands below). The basic process followed by the script is this: Remove any tokens that already have a turn. For all selected tokens, find the character they represent. For each character, figure out the initiative bonus. Initiative bonuses are calculated using Bonus Stat Groups. Each Bonus Stat Group is a collection of Attribute Names and Stat Adjustment operations to apply to them. Bonus Stat Groups are evaluated in order. The first one that produces a bonus is used. If a character doesn't have one of the Attribute Names listed in the Bonus Stat Group (or that Attribute Name does not contain a valid number), that group does not produce a bonus. The selected Roller is used to generate the rolls for each token, with the bonus for its character applied (or 0 if it doesn't have a character). Add each token to the turn order.

Ссылки ||| GitHub nothing https://github.com/Roll20/roll20-api-scripts/tree/master/GroupInitiative

🌎Carry Tokens

Описание: This script allows you to set tokens to carry each other, either as a character holding an item, or as a mount carrying a rider. The carried token will always set its position to that of the carrying token. When you move the carrier around, the carried token will follow.

Ссылки ||| GitHub ||| Roll20 forums


Описание: Automatic Numbering of tokens with special placeholder.

Ссылки Roll20 ||| GitHub ||| Roll20 wiki ||| GitHub


Описание: Flight creates the API command !fly, which sets statusmarkers on the selected tokens to represent how high they are flying.

Ссылки Roll20 wiki GitHub



Ссылки Roll20 forum ||| GitHub backup


Описание: Round counter and a moving marker that shows who's turn it is.

Ссылки [Wiki Roll20] (https://wiki.roll20.net/Script:Turn_Marker) ||| GitHub ||| Roll20 forum |||Roll20 forum updated Roll20 wiki

Tracker Jacker

Описание: TrackerJacker is a cousin to TurnMarker made by The Aaron. Its logic however is quite different, and more rigid in function to simplify the most common use-cases. Like TurnMarker, it uses a graphic image that follows beneath tokens to indicate who's turn it is. The only animation TrackerJacker supports is the spinning graphic which is on by default (to disable it you'd need to edit a simple script flag). The real function however of TrackerJacker' is to track statuses and durations with an easily accessible graphical interface that's intuitive.

Ссылки Roll20 Wiki ||| GitHub ||| Roll20 forum ||| GitHub backup Roll20 forum

Table Export and Import


Ссылки Roll20 wiki||| Roll20 forum ||| GitHub

🌎Rollable Table Macros

Описание: This is a simple script that allows you to execute chat commands with a rollable table. Basically, this script will select an item on a table as normal, but instead of displaying the result as a rollable table result, it enters the title of the table item into the chat. This allows you to use things like inline rolls and macros.

Ссылки Roll20 wiki ||| GitHub


Описание: Provides an easy and user friendly way to move players between maps.

Ссылки Roll20 wiki ||| GitHub Roll20 forum

Roof Removal


Ссылки ||| GitHub||| Roll20 forum

Описание: Page navigator simplifies moving your players from map to map and allows them to interact with destinations on the map directly by moving their token to the destination. Player movement between maps regardless of the trigger is controlled by the GM unless the GM has defined a page or pages as player accessible, or has turned off the player movement restriction. See below for a complete guide on using the script.

Ссылки Roll20 Wiki ||| Github||| Roll20 forum


Описание: Builds dynamic lighting walls with an exported SVG path file.

Ссылки ||| GitHub ||| Roll20 forum |||


Описание: Make awarding XP simple. EasyExperience stores XP awards in a script created character and allows you to easily keep track of how much xp your players have earned throughout a session. At the end of the session awarding all that xp is as easy as typing "!xp session". You can also award xp directly to a specific character or group of characters for those moments when one player/character has distinguished themselves. The Script will also automatically send alerts when players level up based on what you set the thresholds at (The script comes with preloaded settings for all official pathfinder progressions (slow, medium, fast, and PFS) as well as the standard D&D 5e progression. If you use a different progression, simply edit the threshold values stored in the script created ExperienceThresholds character to suit your needs.

Ссылки ||| Roll20 wiki ||| GitHub

🌎Terrain Generator

Описание: Automates creation of outdoor maps (forests, deserts, etc.)

Ссылки Roll20 wiki ||| GitHub ||| Roll20 forum |||

🌎Aura/Tint HealthColors


Ссылки GitHub ||| Roll20 forum

🌎It's a Trap

Описание: This is a script that allows GMs to quickly and very easily set up traps, secret doors, and other hidden things on the GM layer, and detect when tokens on the objects layer move over them. This trap detection even works for tokens moving by waypoints. To set up traps: Place the token for your trap on the GM layer. Give it the cobweb status marker. By default, traps will only affect characters on the ground (ones that don't have a wing or angel status marker). To have a trap also affect flying characters, give it the wing or angel status marker. By default, trap tokens won't appear when they are activated. If you would like the trap to become visible to the players when it is activated, give it the bleeding eye status marker. To set off traps: If a token moves across a trap at ANY point during its movement, the trap will be activated!

Ссылки Roll20 wiki ||| GitHub ||| Roll20 forum

🌎Marching Order

Описание: This script allows you to select tokens and tell them to follow each other in some specified marching order.

Ссылки GitHub ||| Roll20 forum


Roll20 Forum | github

🌎Welcome Package


Ссылки GitHub ||| Roll20 forum

Описание: Search provides full text searching across handouts and characters (including attributes). Search uses an Okapi BM25F+ search engine with Porter stemming and stop word removal to provide fast results after building initial indexes. Index construction occurs at API startup, in the background. The GM is notified when indexing is finished. Indexing can take a few minutes, but won't slow down any other processes due to a great deal of deferring of processing. Search respects permissions on handouts and characters. GMs can search on all things, where as players can only search based on what they can see. Seeing a handout allows a player to search on it's name and notes fields. Seeing a character allows a player to search on it's name and bio fields. Controlling a character allows searching on it's attributes as well. Only GMs can search on gmnotes.

Ссылки GitHub ||| Roll20 forum

Bloodied and Dead Status Markers

Описание: Bloodied and Dead Status Markers automatically adds the Red marker to represent the "bloodied" state for any tokens that drop below half their health, and the "dead" marker for any that drop to 0 or less. It's assumed that health is stored in Bar 1.


Ссылки GitHub original ||| Roll20 forum - Extended version ||| Roll20 wiki - Original https://github.com/Roll20/roll20-api-scripts/tree/master/Bloodied and Dead Status Markers


Описание: Automatically fills in the hit points for a characters dragged onto the table top. The default token for the character needs to represent that creature but should not have the bar used for hit points linked to an attribute. Use the settings below to configure the script for how you calculate hit points in your game. There are several sheets for which the configurations are built in or you can use the more detailed settings. Details about each setting are included along with it. There are no in-game commands for this script as it is purely responsive to the event of adding a token to the table top.

Ссылки GitHub ||| Roll20 forum ||| Roll20 wiki

[Script] Hexploration

Roll20 forum

Roll20 forum

Apply Damage

Github ||| backup


var TOKEN_CONCENTRATING_STATUS_MARKER = "status_" + "overdrive";

on("change:graphic:bar1_value", function(obj, prev) {
        var playerPage = Campaign().get("playerpageid");
        var tokenPage = obj.get("_pageid");
        if (prev["bar1_value"] > obj.get("bar1_value")) {
            var final_conc_DC = 10;
            var calc_conc_DC = (prev["bar1_value"] - obj.get("bar1_value")) / 2;
            if (calc_conc_DC > final_conc_DC) {
                final_conc_DC = Math.floor(calc_conc_DC);

            sendChat("TokenDamage", "/w gm @{Macros|output_option} &{template:5e-shaped} {{character_name=@{Macros|character_name}}} @{Macros|show_character_name} {{title=Concentration Check}} {{action=1}}  @{Macros|hide_gm_info} {{@{Macros|shaped_d20}=1}} {{saving_throw_vs_ability=CONSTITUTION}} {{saving_throw_dc=" +final_conc_DC + "}} {{has_saving_throw_damage=0}} {{has_saving_throw_damage=0}}}} ");        }


Alter Bars

Описание: This simple API script allows you and your players to use a macro to adjust the value of the three bars of a token. The script has been updated to use a more aesthetically pleasing emote and eventually support triggering the FX and Aura changes from the Aura/Tint HealthColor written by DXWarlock. I have provided several macros below to highlight possible uses for this script and a list of the variables the GM can set within the script itself (some day I'll get a fancy chat menu and one click install).

Ссылки GitHub ||| Roll20 forum (https://gist.github.com/Sky-Captain-13/a503c35914644e6f885f170eaeedc705)



Ссылки GitHub ||| Roll20 forum

Recursive Tables

Описание: RecursiveTable provides a way to expand the results of Rollable Tables which have inline rolls within them. Now with options and support for whispering Roll Templates. When using Rolltemplates, your message must have at least one is first.

Ссылки [Roll20 forum] (https://app.roll20.net/forum/post/2845333/script-recursivetables-expands-inline-rolls-in-rollable-table-results/?pageforid=2845333#post-2845333) https://app.roll20.net/forum/post/4954818/script-update-recursivetables-now-with-direct-support-for-whispering-roll-templates-and-more

Status Track


Ссылки GitHub ||| Roll20 forum Roll20 forum

Token Status Manager

Описание: This script automatically adds status markers based on the bar values. The script can be configured to track any of the three bars, set any of the status markers for any ratio between 0 and 1. The script can manage multiple bars/tokens in a single instance. The example below watches bar 1 and sets the red marker when the value is <= 50% and then sets the dead marker when the value is <= 0. Ссылки Roll20 wiki - API

🌎Areas of Effect

Описание: When the script is installed, it creates a macro for all GMs of the game to display its main menu in the chat. This macro is also visible and usable by all players in the game, but only GMs are allowed to save new areas of effect. Players can only spawn them.

Ссылки GitHub original ||| Roll20 forum

Automatic Death Tracking




Turn Timer




Apply Damage




Import macros between campaigns

Roll20 forum

5e OGL NPC Action Damage Autoroller


Скрипты для OGL

🌎5th Edition OGL by Roll20 Companion

Описание: The Companion currently supports Ammo Tracking, Automatic NPC Tokens, Automatic Death Save Tracking, and Automatic Spell Slot Tracking.

Ссылки Ссылки: ||| GitHub Roll20 forum



Ссылки Github ||| Roll20 forum ||| Github David's fork

Token actions


Ссылки ||| Roll 20 forum ||| Backup link here



Ссылки Pastebin||| Roll20 forum ||| Backup link here



Ссылки Pastebin||| Roll20 forum ||| Backup link here

5eOGL statblock

5e OGL Resource Tracker

Once the script is installed it will look for a trait output to chat, looks for a resource with the same name, and if it exists reduces the number of uses by 1 https://app.roll20.net/forum/post/5616244/scriptlet-5e-ogl-resource-tracker

List and Toggle Equipment

https://app.roll20.net/forum/post/5447629/api-list-and-toggle-equipment-5e-ogl https://gist.github.com/oukag/bf92a517e7dfb2f1ce94b0e46e695d92


getAPL allows a DM to select PC tokens and auto calculate the party APL and strength for Adventure League Games .

https://app.roll20.net/forum/post/5691994/script-getapl-average-party-level-apl-and-assigning-party-strength-for-5e-al-games https://github.com/GrumpyOldDM/getAPL


🌎Shaped Script

Описание: This is a script designed for use with the API on Roll20. This script is specifically designed to provide services and enhancements for the 5e Shaped Sheet by Kryx.

Ссылки Github original

Dependent API Scripts

  • Vector Math

  • Path Math

  • MatrixMath

  • HTML Builder

Другие скрипты

Chultan Calendar (Original Script Here: https://github.com/Ciorstaidh/Roll20-API -- see below for my Chultan weather modified script)

Triggered SFX



https://app.roll20.net/forum/post/5633578/slug}#post-5695301 https://github.com/sarkamist/Tongues-Script



Oh the weather outside is frightful! - Weather script.


Event Tracking for The Aaron's Mystara Calendar Script


Realmspace planetary orbits

https://app.roll20.net/forum/post/5709970/script-realmspace-planetary-orbits https://gist.github.com/SplenectomY/18d1aa4c76cd31749e5c95e9303ef910


This is a variant on GroupSetAttr, from which I stole all the things I could understand and recreated the rest for myself, with a few extra features. Its basic principle is simple: you can supply a list of characters (in multiple ways) and a list of attributes and values, and for all characters in the list the attributes will be set to the values (and created if they did not exist before).

https://app.roll20.net/forum/post/3737514/script-chatsetattr-set-character-attributes-via-chat-messages https://github.com/joesinghaus/roll20-api-scripts/blob/master/ChatSetAttr/ChatSetAttr.js

AOE Template Generator


Druid Shifting Script


🌎Roll20 Audio Master


Soundboard macro generator for [Roll20 Audio Manager]


Extension to OGL 5e character sheet (Resource Tracking)

Roll20 forum Gist


Last updated