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 .
×
Create a free account

[Scripts] A Listing of All Available API Scripts

August 06 (10 years ago)

Edited August 06 (10 years ago)
Figured I'd share a bestiary character generator script ( currently working out the bugs for bestiary, 2, 3 with automatic character generation). Need to clean up some abilities with regex, and also create macros for primary attacks, etc. Working on it with Bast L

We also need to expand it to handle variant section creature types (I had to skip anything with a section due to the size and the limitations of roll20 sandbox scripts).

It leverages the PSRD-Data by devonjones which I forked / modified into the above json
August 06 (10 years ago)
Updated the script will share it here after macros are in for most rolls. Going to mod it into a

!createMonster monsterName augment <templates>
tool. Will still need token art... not sure how to automate allowed token setting
August 09 (10 years ago)
Dynamic Lowlight Source Generator v0.3.2 for D&D3.5/Pathfinder and corresponding forum entry.
September 03 (10 years ago)
Roger A.
Sheet Author
I was looking through this post, thinking about adding some scripts to my campaign, but the language scripts(and all the other scripts by Stephen S.), several of the 4e scripts, and the target marking script link to apparently non-existent gists. Is there anywhere I can get a complete copy of the language script? the forum post seems to have an outdated version in the preview pane based on the comments later on....
September 03 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
I think Stephen remarked in another thread that his Gist account has some problems. There are almost certainly some people out there using them that could post them, it's just a matter of reaching them. I'd suggest seeing who posted with the most interest on the thread and PMing them.
September 04 (10 years ago)
Yeah if anyone has the update version of the language script I would love it :)
September 16 (10 years ago)
Hi, is anyone else getting "Unexpected identifier" for the circle/cone script? From what I can tell all the braces and commas match up just fine. webstorm IDE confirmed that the code looks good. When I stash the code in the API/scripts area for my campaign the console spits out "Unexpected identifier" and refuses to load it. Cheers, ty!
October 08 (10 years ago)
For specific scripts, since they now close after a period of time, I would recommend PMing their creator.
I just want to make sure, I have to be of Mentor status in order to use API scripting; is this correct? Thank you for your time. And Roll20 rawks! I will be upgrading to Mentor eventually.
October 18 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Eric, you are correct.
November 06 (10 years ago)
Okay after looking over this I saw an API I might like. I decided I would like the "Auto Highlight token at top of initiative for all" script. I know nothing about APIs so I have one question. How long would it take to implement a script like that for someone completely ignorant?
November 06 (10 years ago)
Really depends on how complex the script is. Some, you can just copy and paste into the API section of your campaign and it will just work. Others require you to set things up properly.
November 06 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Also Devlin, when you say "implement", you're just talking about taking the existing script and applying it to your campaign, right? You're not talking about taking the concept and writing your own version from scratch?
November 06 (10 years ago)
Correct I didn't know implement had an alternative meaning like that. :/
November 06 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
No worries. To programmers, implement means to write the code. (implement and interface, implement a feature, etc..) Probably install is a better word for what you're after. If you have some scripts in mind and you don't know where to start, you can PM me a join link and I can help get you started. =D

BTW, the list above is not wholly inclusive. You'll want to look through the forum for other examples (most have [Script] in the title: https://app.roll20.net/forum/search?q=%5Bscript%5D).
November 07 (10 years ago)
Well I was reading through the highlight turn order API and I say apparently its not actually a way to make it easier for players to see which token's turn it is. Also I really don't have the time to do anything thats not copy and paste.
November 07 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Try this one, which should be copy and paste: https://app.roll20.net/forum/post/931415/script-turnmarker-turn-token-highlight-round-counter-player-advance-command-turn-announce-plus-spiny-graphics-if-you-want-them#post-1323009
November 07 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
(Bear in mind you'll need to copy/paste the isGM script as well)
December 10 (10 years ago)
I have a few scripts that I would like to submit for consideration, these are specifically for Dark Heresy Second Edition.

roll40k - Calculates and outputs successes according to Dark Heresy 2nd edition rules
skill40k - Calculates and outputs success for skill rolls according to Dark Heresy 2nd edition rules
Modified Dark Heresy Second Edition character sheet - Used the above to scripts when rolling

I am curious in how, if possible, I can integrate these scripts with the character sheet making it available for non-mentor members. (I have posted this over in the Character Sheet forum as well Topic: Dark Heresy Second Edition character sheet update
December 10 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
For your scripts, it's probably best to post them individually or as a set in a new post in the API forum.

Unfortunately, there is no way for non-mentors to use API scripts.
December 10 (10 years ago)
Alicia
Sheet Author
I'm thinking the original post is best moved to a Wiki page which can be updated by everyone rather than relying on one person who may or may not stick around to keep up on it.
December 10 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Indeed. Brian and I started doing that. We should really finish it..
December 10 (10 years ago)

Edited December 10 (10 years ago)
Alicia
Sheet Author

The Aaron said:

Indeed. Brian and I started doing that. We should really finish it..

I don't mind helping. It when then just be a matter of getting this old thread UnStickied or getting the first post edited to include the link to the more up to date list
December 10 (10 years ago)
I can update them regularly. As the first post states, if people PM me, I add them to the post. I haven't gotten any in a while, however, and it's not manageable to keep track of which posts in the forum are new and which are repeats.
December 10 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Yeah, and having the listing of API scripts gated by a single individual just isn't practical. The wiki is a much better long term solution.
December 15 (10 years ago)
Lithl
Pro
Sheet Author
API Scripter

Alicia G said:

The Aaron said:

Indeed. Brian and I started doing that. We should really finish it..

I don't mind helping. It when then just be a matter of getting this old thread UnStickied or getting the first post edited to include the link to the more up to date list

We started https://wiki.roll20.net/API:Script_Index

One of the things we wanted to do was create a standard layout for the script page. The proof-of-concept for that layout is https://wiki.roll20.net/Script:IsGM_Auth_Module

When I was working on the "formal" syntax for the commands, I was also playing around in my personal sandbox for HB's power cards: https://wiki.roll20.net/User:235259/Sandbox/Formal...

December 16 (10 years ago)
Hey guys, I have added your link above, but I have a question. Are you expecting people to resubmit each of their scripts to the above page?

I noticed all of the links on the page are dead, and the formatting for submission is not in line with what has been done in this forum in the past.
December 16 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
That's why we hadn't really mentioned it yet. The intent was to engender a culture where scripts were released via the wiki, and the forum became a place for discussion of creating scripts, or requesting scripts. Forums in general are great places for discussions, but poor places for documenting. The nature of a forum causes it to be constantly changing, with the only alternative being to freeze a particular discussion at the top of the forum, which leaves only a single person as the gate keeper to changes.

The wiki can be collaboratively maintained, with a constant organization of information. Our intent was to come up with a standard template/format for presenting API scripts. Something easy to create and easy to understand, which can grow with the script. I created that first page based off the list of scripts in the first post of this thread, with the intent to come back and build each of those pages, but have not gotten to it yet. We had started working on this just before GenCon, and had intended to talk to Riley about installing a few additional modules to the Wiki. I suppose we should do that now. (Hey Riley? Can you install a few things for us?)
December 16 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter

Josh said:

Hey guys, I have added your link above
That might be a bit premature... =D maybe change that to something like:

PLEASE NOTE: This post is out of date. A community driven listing is being built here and you can help!



December 16 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
I updated the Talk page to give a short rundown on how to help: https://wiki.roll20.net/Talk:API:Script_Index
December 16 (10 years ago)
Done!
December 16 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Thx!