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

Changing permissions of tokens created by !autonpctoken

1624485561
Chad
Plus
Sheet Author
When !autonpctoken creates a token, it doesn't seem to obey the default token permissions set for the game. (I normally show the name and show a bar without numbers). Anyone have a suggestion for changing the bar permissions automatically via API?
I'm not sure if the '5th Edition by Roll20 Companion' script has been updated with the new API keys that were just released a few weeks ago to include the bar location and style.   TokenMod has been updated , so you can use this to adjust the bar style and show the nameplate: !token-mod --set compact_bar|on showname
1624550872
Chad
Plus
Sheet Author
Thanks!
1624559250
The Aaron
Roll20 Production Team
API Scripter
You can add defaultname to that if you want to update the token on the character so it's right the next time you pull it out: !token-mod --set compact_bar|on showname defaultname