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

Hidden player rolls only visible to gm?

1546609695

Edited 1546618581
Hello everyone,  I've got a question concerning hidden rolls: Is there a way, a player can press the roll-button for one of his (knowledge-)skills and only I as the gm gets to see it? I realize that there's a whisper -function, but this the roll appears for both gm and sending player, which I do want to prevent.I also do not want a gm-roll by myself for that player, so the actual player shall roll and only the gm can see the roll and result. Why: I want the players do their own rolls (so they know they just used their knowledge-skill), but the gm only sees the result. So fumbles could be interpreted and communicated by the gm as a valid information to the player, which actually is a royal fumble.
I believe there is a script for this, but I do not recall it's name off the top of my head.
1546627274
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
HiddenRolls will likely do the job for you, from the look of it.
keithcurtis said: HiddenRolls will likely do the job for you, from the look of it. Thank you! But I still don't have any clue how to work with hiddenrolls after I studied the page you recommended. I only found a formula within this forum (thanks to "Stephen S."), which I cannot use because I do not know where to copy this thing. I tried "my" css, at the end of the text, and then inserted a command line like:  !broll 1d100+10 to pick pocket Jimmy It did not work at all. This was the formula I found: on("chat:message", function(msg) { var cmdName = "!broll "; var msgTxt = msg.content; var msgWho = msg.who; var msgFormula = msgTxt.slice(cmdName.length); if(msg.type == "api" && msgTxt.indexOf(cmdName) !== -1) { sendChat(msgWho, "/gmroll " + msgFormula); sendChat(msgWho, "/w " + msgWho + " secret roll sent to GM (" + msgFormula + ")"); }; }); I am at the end of my wits. It's way too complicated. Thank you guys very much anyway for trying to help me :(
1546805929
GiGs
Pro
Sheet Author
API Scripter
The thing you found there is an API Script. You need to add it to your campaigns API Scripts page. Go to the page where you normally launch your campaign from, the page with the pink Launch button. At the right side is a Settings button. Clicking that will reveal a dropdown which contains API Settings. Go there. Once in your Scripts page, click New Script. Paste the above text in, give the script a name, and at the bottom, click Save. Now you can go to your campaign and type the commands in chat, like !broll 1d100+10 to pick pocket Jimmy Good luck!
Thank you so much, GiGs and keithcurtis ! Thanks to your improvements on my campaign, rolling now became less stressy for me and my players get the impression that their knowledge skills are really worth the training! :) All the best to you!