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 .
×

Players adding to a rollable

Is there a mod that allows a player to add items to a rollable table? Actually one that lets users upload sound files would be cool too, but I doubt that would be allowed.
I am new to Roll20, but from what I've seen, it doesn't support that natively. Rather than rollable tables, using a mod to store and use the data in its `state` storage might work better.
1778711159
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Melvin the Mediocre! 1. A mod script could be written to add to a Rolaable Table. Faces does this with selected tokens. I'm not sure if it is constrained to GM; I'd have to check. 2. A rollable table can hold images and/or text. Not music files. Though it could hold the titles to music files, which might then be leveraged by a script like Simple Sound to play a random track.
1778711279

Edited 1778715891
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Melvin, can you explain further what goal you are attempting to accomplish? There might be other ways of achieving it than a Rollable Table.
I'm hoping to make both rollable tables and sounds that I can call from macros as a player with out having to bug the gm to set things up for me.
1778740732
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
We're still less in what you want to do, and more how you want to accomplish it, but I'll answer as best I can. The audio will be tricky. A player cannot upload audio into a game. You'll need the cooperation of your GM to either upload sounds for you, or to temporarily promote you to GM so you can upload your own. After that, they can be played most easily with the Simple Sound Mod script. A GM will need to install that. As for uploading tables, same thing. That's normally GM territory. The simplest thing would be to put the table in your bio or a handout. Then just roll dice and consult them, and the GM can use the table to verify if need be. There is a script, TableExport which will allow you to import and export tables, but it's a bit tricky to learn. I'm not sure if players can use it, but I'll check.
To be clear, I was asking if there was a mod that already does this. I don't think there is but figured it was worth asking in case anyone knows of one I didn't find.
1778784921
timmaugh
Pro
API Scripter
I believe my TableToTable script allows you to create/modify tables even without GM privileges. Here is a playlist of videos I did on using it. And if there would need to be some coordination between what item you got from the table and what sound file you played to match it (ie, "I got 'Happy Fun Ball' from the table, so I need to play the 'Happy Fun Ball' sound file)... the Metascript Toolbox can bridge the gap to make that connection. Right now it seems like you're asking for just the ability to upload both (rollabletable entries and sound files), not that you want to synchronize their retrieval/usage... so I won't go into details on how to make it happen... but if I've misunderstood and that would be something you're interested in, post back.
Thanks Timmaugh!  I'll check them out.