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

Shortcut to token nameplate

Hi all! Sorry if this question was asked before, i honestly tried to search! :) I'm looking for fast-tracked way to show nameplate of NPC for my players For example, i have an NPC players don't know yet. And i want players to see nameplate only after they'll interact with this NPC. I know i can go to token settings, press 3 dots, click on checkbox, but that's not really convinient Is there any command/script/macros i could use for that? Thanks!
1705179231
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Token-mod can do this for you: All see !token-mod --set showplayers_name|yes showname|yes Nobody sees !token-mod --set showplayers_name|no showname|no GM enly sees !token-mod --set showplayers_name|no showname|yes playersedit_name|no These could be put into a (5e) macro like this: /w gm &{template:npcaction} {{rname=Nameplate Menu}} {{description=[All](!token-mod --set showplayers_name|yes showname|yes) | [None](!token-mod --set showplayers_name|no showname|no) | [GM Only](!token-mod --set showplayers_name|no showname|yes playersedit_name|no)}}
I have a similar use case: I wanted my players to not know the name of a creature they hadn't encountered yet, but I did want something in the nameplate. For example if they are meeting an NPC named 'Gandalf the Grey' but they don't know who it is, then the token would just have a nameplate that says 'Wizard in Grey Robes' or something. Once they learn his name, I use a macro to swap 'Gandalf the Grey' into the nameplate.  I could also just put 'Wizard in Grey Robes' into the nameplate, and use TokenMod to type in the name, but I like having this set up already. It uses these two custom scripts from The Aaron and TokenMod (though the TokenMod portion is optional): Set GM Notes Swap GM Note and Token Name First macro to set the GM note (I added a blue aura with TokenMod that is only visible to me so I know when a token has a custom name that can be switched) !set-gmnote Token Name: ?{Name} !token-mod {{ --off showplayers_aura2 --set  aura2_radius|0.25 aura2_color|#0000ff }} Then this macro to swap the GM Note name with the token nameplate: !swap-token-name !token-mod {{ --set  aura2_radius|!0.25 }} I also have the Set GM Notes as part of my standard mook TokenSetup macro, so when I create new monster tokens, if I pull them out and want them to have a different name initially, they have the GM Notes name ready to be swapped.
1705186899

Edited 1705254042
Thats amazing, thank for your advices wize sirs, token-mod looks like pretty powerfull tool!
Thank you The Aaron for the script and Thank you Jarren for the macro, I've been wanting to do something similar to this and have not yet done it. (I will steal both your code.)
1705262778
Gold
Forum Champion
Something else really nice with Token-Mod, you can select multiple (or Select-All) tokens on a Page and do the Token-Mod command for Show Nameplates. Token-mod works on as many tokens as you have selected at once.