Skip to content

Instantly share code, notes, and snippets.

//XP, Gold and Res Calculator for the AG
//Script made by Julexar (https://app.roll20.net/users/9989180/julexar), original by BlackJet (https://app.roll20.net/users/4499315/blackjet134)
//API Commands:
//!calc - gives the GM a menu with the Options.
var Calculator = Calculator || (function() {
'use strict';
var version="1.0",
//A System for tracking Downtime Activities
//Made by Julexar (https://app.roll20.net/users/9989180/julexar)
//API Commands:
/* !down - will give you the menu
--Options--
--sel - use the selected character token
--name - use the character name
--charid - use the character id
*/
/*
Calendar for Eberron, Faerun, Greyhawk, Modern and Tal'Dorei Settings
Original created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
API Commands:
!mwcal - Shows the menu to the person that issued the Command. GM menu has more Options.
--world {world}- Allows the GM to change the world to one of the Options (Eberron, Faerun, Greyhawk, Modern, Tal'Dorei)
--adv {type} --{amount} - Allows the GM to advance the time by a certain amount and a certain type (Short Rest, Long Rest, Hour, Minute, Day, Week, Month, Year)
--set {type} --{amount} - Allows the GM to set the day, month, year etc.
--weather {type} - Allows the GM to set the weather. Putting "Random" will randomise the weather.
--toggle {weather/moon} - Allows the GM to toggle the weather and moon Display.
/*
Resolve Tracker for D&D 5e
Made by Julexar (https://app.roll20.net/users/9989180/julexar)
API Commands:
!resolve - Shows you the reolve of a Character. (based on speaking as)
--sel - Shows the Resolve of a selected Character (Select a Token)
--charid - Shows the Resolve of a character based on ID.
--name - Shows the Resolve of a character based on name
// Calendar and down day counter for Faerun
// Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
// Updated by Julexar (https://app.roll20.net/users/9989180/julexar)
/* API Commands:
!cal - pulls up the Calendar Menu
--adv {type} --{amount} - Advances the Time.
--set {type} --{amount} - Sets the day, month, year etc.
--weather - Pulls up the Weather Menu
--setclimate {climate} - Sets the climate of the region