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

[Script] DryErase -- Gives you control over how your players are drawing on your maps.

1453340232

Edited 1455065820
The Aaron
Pro
API Scripter
Commands: !dry-erase &nbsp;-- accesses the help and configuration. &nbsp;(There are arguments used internally that might be handy for scripting, but likely you'll not need to know anything about them.) There are 3 configuration settings: Auto Delete -- when someone that isn't allowed to make drawings does, it is deleted. (Default: Off) Auto Hide -- when someone that isn't allowed to make drawings does, it is moved to the GM Layer, labeled with their name, and highlighted with their current color. &nbsp; If auto delete is on, this will be skipped. (Default: On) Report -- when someone that isn't allowed to make drawings does, there is a message whispered to the GM about it (with some options for Auto Hide). Erase -- erases the drawing Allow -- restores the drawing Grant Player -- adds the player to a list of players allowed to make drawings (you will still need to Allow their current drawing). In the Configuration/Help screen, you can toggle the settings on and off, as well as Granting drawing privileges or revoking them. (In the screenshot above, Stephen S. has been granted permission to draw.. possibly a mistake... =D ). Happy (tidy) Rolling! Git:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Dr" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Dr</a>... Support my work on If you use my scripts, want to contribute, and have the spare bucks to do so , go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free! Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.
1453340572
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
He left off the shortcut keys included in the script...
1453342661

Edited 1453342679
What about a way to revoke drawing privileges? Never mind, I am dumb.
1453350505

Edited 1453350578
vÍnce
Pro
Sheet Author
Stephen S. said: He left off the shortcut keys included in the script... LOL Yeah, didn't Aaron have a token "lockdown" script as well...?
1453370311
Ziechael
Forum Champion
Sheet Author
API Scripter
You should see his Vince automation script! It's incredible, soon seals of approval will be automatically applied once a script meets a certain standard. On topic, is it wrong that i'm tempted to install this just to mess with my players who liberally draw on my overview maps (Godzilla attacks usually *sigh*)?
1453374428
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Ziechael said: On topic, is it wrong that i'm tempted to install this just to mess with my players who liberally draw on my overview maps (Godzilla attacks usually *sigh*)? I don't think so, and actually this has game mechanics value as well. In some cases its only right that the RPG conditions not allow for any drawing.&nbsp; I think it's a needed and valuable script (its only the motivations of the script writter that are in real question.)
1453377913
Gen Kitty
Forum Champion
Stephen S. said: I think it's a needed and valuable script (its only the motivations of the script writer that are in real question.) To be fair, I did ask him if something like this existed to solve an issue another GM was having with players who refused to stop drawing on the map :P :)
I'd just boot the player myself. Sets an example for the other players. :D &nbsp;Would be nice to have something like this by default though for more than just drawings. Could be used to provide a level of control over who can do what for a variety of things, so that you can have an assistant "GM" that can help manage some minor aspects of combat and such without seeing everything behind the curtain.
1453382747
Alicia
Sheet Author
That's actually pretty cool.
1453383624
DK Heinrich
Marketplace Creator
Sheet Author
installing now.&nbsp;
1453385161
The Aaron
Pro
API Scripter
GenKitty said: Stephen S. said: I think it's a needed and valuable script (its only the motivations of the script writer that are in real question.) To be fair, I did ask him if something like this existed to solve an issue another GM was having with players who refused to stop drawing on the map :P :) That's just Stephen's sense of humor, you'll have to forgive him (I do constantly!). =D
1453385275
The Aaron
Pro
API Scripter
HoneyBadger said: I'd just boot the player myself. Sets an example for the other players. :D &nbsp; Probably that will be the result in some cases. &nbsp;In the case where this is happening, figuring out who is doing it is the biggest problem. For version 1.1, I'm going to see about making it parse all the drawings it hasn't seen on start up so it can still handle the things that happen when the API is .... unavailable... =/
1453385425
The Aaron
Pro
API Scripter
Oh.. and better colors for the buttons... =D
Aaron,&nbsp; thank you for this script!&nbsp; Seriously, I love my PCs and they are an awesome group, but at times...late at night...they get...well...a little immature which creates a nightmare for me lol
1453395186
The Aaron
Pro
API Scripter
Great! &nbsp;I'm looking forward to hearing back from people using it.
I can tell you it's working well with other scripts right now (I run about 15 scripts per campaign...I know...it's a lot)
1453404603
The Aaron
Pro
API Scripter
I don't know.. that doesn't seem like that many to me... &nbsp;=D
1453404650
Gold
Forum Champion
I'm going to install this just for the Report ability. Haven't actually had a need to block anyone from drawing yet (in 3-4 years of Roll20 gaming). I feel like just getting the GM message in chat, telling me that something has been drawn, sounds like that would be useful and helpful for anyone's game, frankly. &nbsp;I'm not even looking at it from the perspective of busting someone for secretly drawing. I'm viewing it more as GM-information, like "Heads up! One of the players wants to draw something for their action, take a look." Seems like a good API for that reason alone!
1453404754
The Aaron
Pro
API Scripter
Ah, good point! &nbsp;Toward that end, let me know if you want any other features. &nbsp;I have a few ideas in that scope... =D
1453405277
DK Heinrich
Marketplace Creator
Sheet Author
last script on row 10 in your list.... that is not a real script... its just a fairy tale? correct? :)
1453405902
The Aaron
Pro
API Scripter
Hahahah.. no, it's a real script and actually functions, I'm just not satisfied with it yet. &nbsp;=D It's interesting to look through the list since it's in creation order. Some of the later things are really old things I've pulled up to bug fix, but mostly they are in the right places. =D
1453410967

Edited 1453411028
vÍnce
Pro
Sheet Author
DK Heinrich said: last script on row 10 in your list.... that is not a real script... its just a fairy tale? correct? :) I started looking at Aaron's list and made this before reading the rest of the thread. &nbsp;Great minds think alike. ;-P I think "New Script" is probably Aaron's most popular one though... &nbsp;
1453411127
The Aaron
Pro
API Scripter
Ha! &nbsp;everyone seems to have that one, don't they. =D
1453411203

Edited 1453411278
vÍnce
Pro
Sheet Author
I'm with&nbsp;Ziechael, I'm installing this script just to mess with my players. &nbsp;}:-)
I'm curious what the difference between HB Powercards and PowerCards Vanilla is, lol.
1453420448

Edited 1453420647
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Vince said: I'm with&nbsp;Ziechael, I'm installing this script just to mess with my players. &nbsp;}:-) What? Vince has friends? I figured he was LFG&nbsp;since 04/16/14. Fine fine fine... too many moderators in this thread I will self moderate.&nbsp; Vince is a fine fellow. .. couldn't do it... Vince is Vince.&nbsp;
1453424469
The Aaron
Pro
API Scripter
HoneyBadger said: I'm curious what the difference between HB Powercards and PowerCards Vanilla is, lol. Ha! &nbsp;Just various versions where I was making modifications (like multi line and http formatting and such) and testing. =D
1453433859
Lithl
Pro
Sheet Author
API Scripter
Aaron is a pack rat coder. He just creates a new tab instead of deleting something. =P
1453435325
The Aaron
Pro
API Scripter
True enough. =D &nbsp;Might want to come back to it later. =D
1453456357
Ziechael
Forum Champion
Sheet Author
API Scripter
(and I thought the 30 scripts I run was a lot!... admittedly thats in my main game, not a test area...) Does the report function work even when players are allowed to draw, the text suggests that it does only when they are restricted but i was wondering if this screenshot shows what you get when the GM doesn't need to 'respond' to the drawing: Since I don't mind my players drawing sometimes it would be nice to know who has taken it too far!
1453467083
The Aaron
Pro
API Scripter
That's correct, that images is Report only. &nbsp;The other image is Report+Auto Hide. &nbsp;I should add a screen shot for Report+Auto Delete as well...
1453467949
Ziechael
Forum Champion
Sheet Author
API Scripter
Cool, thanks for confirming... installed :)
Saving for Spotlights! Thanks The Aaron , great work!
The Aaron, just wanted to report back that this is working like a charm.&nbsp; I have had no problems at all with it.&nbsp; I'm excited to see what's next from your book of scriptomancy
1453817338
The Aaron
Pro
API Scripter
Fantastic! Glad it's been useful to you! &nbsp;And don't worry, I'm working on some incantations even now! &nbsp;MUHAHAHAHAHA! Happy rolling!
Ziechael said: (and I thought the 30 scripts I run was a lot!... admittedly thats in my main game, not a test area...) Does the report function work even when players are allowed to draw, the text suggests that it does only when they are restricted but i was wondering if this screenshot shows what you get when the GM doesn't need to 'respond' to the drawing: Since I don't mind my players drawing sometimes it would be nice to know who has taken it too far! 30 scripts whaaaaaaa o.o. Doesnt your game start to pack up and slow down xD?
Not all the scripts run at the same time. Some only trigger on specific events.
Following for later use...very practical and useful script.
1453887529
Ziechael
Forum Champion
Sheet Author
API Scripter
Saevar L. "Liquid-Sonic" said: Ziechael said: (and I thought the 30 scripts I run was a lot!... admittedly thats in my main game, not a test area...) 30 scripts whaaaaaaa o.o. Doesnt your game start to pack up and slow down xD? Not at all... in fact it is smoother than ever, gameplay is quicker too. A round of combat involving 25 participants can take little more than a couple of minutes, and with very little effort from me (other than updating hit points, narrating the scene and laughing maniacally as each critical hit lands on those pesky adventurers ;) ). Back on topic, i'll be officially trialling this tonight... without telling my players of course... and will feed back any issues =D
1454652855
vÍnce
Pro
Sheet Author
Just had a joker "defile" my PF beta page... I've installed the script. &nbsp;Hopefully the API will run this unattended. &nbsp;For my own players, drawing isn't an issue, but for a public campaign I think roll20 should have the option to lock things down if needed. Thanks for this Aaron.
1454696465
The Aaron
Pro
API Scripter
The next version will definitely have support for catching up if the API becomes unavailable between sessions. &nbsp;=D
1455090232
The Aaron
Pro
API Scripter
Update v0.1.3 -- Following the new guidelines for script update releases, I've posted the new release in a new thread: &nbsp; <a href="https://app.roll20.net/forum/post/2948292/script-d" rel="nofollow">https://app.roll20.net/forum/post/2948292/script-d</a>...