shdwjk / roll20api Goto Github PK
View Code? Open in Web Editor NEWA collection of all my production ready Roll20 API scripts.
A collection of all my production ready Roll20 API scripts.
I know you are up to your gills with real life and other folks stuff, but you could add a "parameter" (I think) for the character name and the skill or weapon used, it would make me very pleased. To be clear, I want to hit the API button, and the acting character's name and the skill/weapon used appears with the die results.
Thank you for the work you've done already.
Would be a really nice feature for players to push button to move to the next turn.
Also, how do you reset the turn order. Mine is on Turn Order 57.
I'm currently using gifs on a multi-sided token, when using !token-mod commands the gifs will pause.
example command:
!token-mod --set height#70 width#45 currentside|2
I've looked through the documentation, I couldn't find any commands pertaining to playing/looping gifs.
I copied the script into my roll20 game, tested it, and it doesn't show the cool red rune, instead it's just a purple circle under the players? Please advise.
Thank you.
-Fork
This is the error I get when utilizing !tm command. I will start a new campaign and see if another macro is causing.
TypeError: Cannot read property 'replace' of undefined
TypeError: Cannot read property 'replace' of undefined
at getFrom (apiscript.js:13223:43)
at apiscript.js:13212:31
at eval (eval at (/home/node/d20-api-server/api.js:146:1), :65:16)
at Object.publish (eval at (/home/node/d20-api-server/api.js:146:1), :70:8)
at /home/node/d20-api-server/api.js:1510:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)
at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:400
According to the rules the soak rolls for armor are not possible to be pushed. It would be helpful if there was a flag or variant of the rolls that prevented the push button to be visible.
Validation doesn't accept 360 as a possible value.
I use TurnMarker1 and GroupInitiative, with TM1 set to not skip hidden tokens.
This seems to create one, if not multiple, hidden 'turn marker' tokens that don't get skipped when the turn order reaches the end of the list that have to be manually removed from turn order. Any idea why this is happening or how it can be fixed?
I copied the script into my roll20 game, tested it, and it doesn't show the cool red rune, instead it's just a purple circle under the players? Please advise.
Thank you.
-Fork
According to the rules if you get a high negative modifier, i.e. higher than your skill value, you will get a negative value for your skill dice. A negative value for your skill dice is explained as you roll the negative number of skill dice and get "negative successes" for each success symbol you roll that reduce the number of successes you roll.
Need to support naming pools.
Would also be great if reducing to 0 could remove it.
This could be via a table of names or via a Markov Chain Random Name Generator.
Hello,
Is there a way to make a copy of 1 template character abilities to all the rest existing character in the game without typing the name of them (more than 300 different ones)
it would be Awsome :)
Should be able to support attributes that have a formula in them.
At the moment TokenMod cannot be used to set any directional low light fields.
Fields to add:
The fields to add are based on the contents of the Roll20 Help Center's Updated Dynamic Lighting API Support page
Would like to be able to set the colors to interpolate between. Would like to be able to restore original color.
How do you include weight to the item you are importing?
Hello Shdwjk
Is it possible the make a API that i can add for the Turn order tracker not to be visible to the player? or a auto hide like the chat setting as player. if you click the box it moves to the right and stays there until i like to see it (as a player) or under the map and not be visible. I am using roll20 on a table whit a beamer and the tracker is on the map/table its just not looking nice.
I am using 2 laptops one whit the DM view and one as player on the beamer.
the turn order on the player laptop is just so annoying but a need for the DM.
thanks for you time
Edwin
Attempting to use the MapLock API script, when I try to select the map image and run !map-lock lock
this is what shows up in the console:
For reference, the error message generated was: ReferenceError: $d is not defined
ReferenceError: $d is not defined
at apiscript.js:101:17
at Function..each..forEach (/home/node/d20-api-server/node_modules/underscore/underscore.js:186:9)
at _.(anonymous function) [as each] (/home/node/d20-api-server/node_modules/underscore/underscore.js:1639:39)
at tintGraphics (apiscript.js:99:14)
at handleInput (apiscript.js:151:29)
at eval (eval at (/home/node/d20-api-server/api.js:151:1), :65:16)
at Object.publish (eval at (/home/node/d20-api-server/api.js:151:1), :70:8)
at /home/node/d20-api-server/api.js:1634:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.