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

[Question] Logging into R20 and rolling via external program

I don't know if this is the right section, excuse and delete if not. I'm planning to create for myself a little application to serve as my character sheet, since I absolutely despise the one coming with R20. I want it to have the functionality to /roll from the program, directly into the campaign. Is that possible via an R20 API? Or do I have to fall back to programmatically focusing the browser window and copy pasting the roll macro into the chat?
Roll20 does seem to support concurrent logins, so it's possible. I've never looked into what kind of authentication and such they use, so I don't know how much browser functionality your app will need, but your idea of pointing your app at your browser window and generating keystroke events is probably going to be easier.
1409325296
Lithl
Pro
Sheet Author
API Scripter
What is it about the character sheets that you despise? There may be a simpler solution. There is currently no external API interface.
The Roll20 API still has to be "triggered" via something from the main app (a chat message, a button press, etc.) So I don't think that will really help here. If you are going to make a completely external program then it would need some way to interact with the browser window and simulate keystrokes/button presses. At some point we may offer a REST API which would allow you to do something like but it's not currently available.
1409327469
The Aaron
Roll20 Production Team
API Scripter
I have wondered what the Roll20 stance is on external programs interacting with the browser window (bookmarklets, etc.) Can I take this post as carte blanche to do that sort of thing?
Brian said: What is it about the character sheets that you despise? There may be a simpler solution. There is currently no external API interface. 1. At least the pathfinder sheet is way too full of stull and not really manageable at a glance, also too many bugs in comparison to the myth weavers sheet. I'm just gonna write an app that will allow GM's to manage Character Sheets, or NPC's by importing them directly from pf20srd with the ability to roll directly from the program. Maybe gonna include some random generation functions to generate encounters, npcs, towns or maps. Not sure. PS. Drunk now, ignore if offensive, im sorry.