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

Players able to roll on universal macros after removing rights to view.

1390956281
DXWarlock
Sheet Author
API Scripter
The problem is if you set a player to see a macro under the settings Tab, and they add it as a button on the bar. If you remove them from viewing it with the "Visible to players" check box, they can still roll it and see the results with the button regardless of not having access to the macro.
Yes, they also still see it in their list of macros, but it will vanish from both places if they uncheck it. If you want to make sure it's gone, you'll have to copy it's content into a new macro and delete the old.
1390958228

Edited 1390958488
Gauss
Forum Champion
To clarify, the bug here is that the Macro or Ability is not removed from the macro bar after access is removed. Without unchecking it prior to access being removed a player is stuck having them on his bar whether he or the GM wants him to. The correct behavior should be that when you lose access to a Macro or Character sheet the Macro or corresponding Abilities are removed from your macro bar. I will file a bug report with the Devs.
1390958437

Edited 1390958517
DXWarlock
Sheet Author
API Scripter
Thanks Gauss. Hmm might need to think of a new way to do what I was doing until its fixed. Was using a macro so players could roll for random cash tresure amount, and calls a script so it adds it to the players character sheet to total cash..Didn't want them to randomly login while out of game and roll it sneaking some extra cash :) Thought removing them from having access to it while not ingame would do it.
If you pull the player object in the API, it lists what macros/abilities they have on their bar. Should be a way to strip that one particular macro out.
1391068196
DXWarlock
Sheet Author
API Scripter
I somewhat fixed it in an easier way for now.. I have a 'GM' character sheet, and just put a rolls attribute and check it, if its 1 allow rolls, if not, let them know its off.