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

[Question] Is there any way... to tell if all players are logged in as a player?

1412131117

Edited 1412131166
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
That is... no one with GM access currently. Not definitively I suppose.... But a read out of anyone that is sending as " (GM)" ... as in any API commands. A tattle script that looks for any "slip up" and rats out the "cheating" campaign owner.
1412132755

Edited 1412132804
The Aaron
Roll20 Production Team
API Scripter
I have a script for handling GM detection that I feel is about the best possible alternative: <a href="https://app.roll20.net/forum/post/920764/script-is" rel="nofollow">https://app.roll20.net/forum/post/920764/script-is</a>... It is completely definitive and merely requires that a GM speak as themselves one time to automatically identify them as a GM. You can use it in any of your scripts (I use it in many of mine, see the bottom of them for examples of detecting if it is installed and not crashing if it isn't!) by simply checking the result of the isGM() function: if(!isGM(msg.playerid)) { sendChat('','You are not a GM!'); }