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

[help] How do I add this javascript character creation to roll20?

Several moving parts on this one.&nbsp; First: I have a classic Traveller character generator which I wrote. (<a href="http://traveller.fectin.com/" rel="nofollow">http://traveller.fectin.com/</a>) Second: I have separately a reasonably random hashing function which takes a text string as inputs and makes dice rolls. Third: I have not yet built something that turns arbitrary names into Traveller characters, but I consider that easy to solve. I want to make the following two things: &nbsp;- A way to automate making new NPCs. This should be basically a script referees can trigger, enter a name, and have a new, randomly-generated NPC added to the journal. &nbsp;- A way to make new PCs. This should be a much more decision-based process, like the linked site. Given the starting point I have and the roll20 API, what is a good approach to those objectives? I have a pro account, if that matters. Thanks!
1648088303

Edited 1648089523
GiGs
Pro
Sheet Author
API Scripter
I cant visit your site, BT (my ISP) warns of ptential scamming. My guess is its overreacting to your site using http instead of https. I'd suggest looking at the roll20 wiki, specifically the parts about writing API scripts. Having a Pro account is what matters. You need it to either modify character sheets or write API scripts (your own javascript code). PS: the easiest way to enable SSL on your site is by linking up the free cloudflare plan - its free. There's also Let's Encrypt. Whoever your internet provider is might offer free SLL, just go into your control panel and activate it there.