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

Roll20 Tips and Tricks (Innovative Solutions to Common Problems)

1648758385

Edited 1648758521
From a previous help request about rolling physical dice, some of us collaborated and through a meeting of the minds figured out how to make the 5e by roll20 sheet take physical dice in a cool way: ?{Physical Digital Critical?||Physical,?{What you rolled}+0d20|Digital,1d20|Critical,1d20cs>1} Physical asks for the actual number rolled and then adds the modifiers as normal but fails to register criticals for attack rolls.   Digital runs the dice as normal through the quantum roller Critical sets the CS range to always so that if you roll a physical nat 20 on an attack, this will just basically bypass the caveat with physical option above and roll critical damage.   You need to paste the above code into the "Core Die" field on the character sheets: This will also save on npc sheets if you briefly set them to PC change the core roll, then change them back, you can also do this trick for npcs that have an increased crit range too or need a global modifier turned on for the record.   NOTE:  It seems that the critical option overrides the crit range field below in the image for the record so you do not need to change that also for any reason for this trick.  Just include the cs>1 in the above code in the critical option.  
1649254455

Edited 1649255271
Use Emoji to Clarify Sheet Actions Not my original idea (thanks reddit user Emmia for this one!). Didn't see it in the thread anywhere else, so hopefully I'm not duplicating. Using emoji, you can make features and actions (or really anything!) on your sheet more easy to parse at a glance. Requires a bit of manual work - just copy and paste them into the name of the item. This work goes pretty fast for an established sheet, I suggest trying to do all similar items in one pass so you don't have to switch what is in your copied clipboard. While I think this is helpful to players, this is super helpful as the DM, as I'm less familiar with character options than most other functions in the game. So if I need to hop into a sheet to run for someone who is missing a session, or help troubleshoot, I can quickly see what options are available to me in my current game situation without toggling everything open. This is the template I have started with (easily expand with whatever emoji you want, add multiple emoji for complex actions, whatever!), which I add at the top of the Features & Traits section as a cheat sheet: For some reason the forum won't display four of the emoji. They display fine on the character sheet. Click this  link to access github version  to copy/paste from ❔ Action Colors ⚪ - Passive  - Action  - Bonus Action  - Movement  - Reaction ⚫ - Free Action ⏲️ - Spell with long cast time And here are some screenshots of this in action on the 5e sheet: 6th Level Cleric Sheet Easy to spot which attacks/actions are Bonus or Standard. 6th Level Cleric Spell Page Don't need to toggle open the spell description to see whether the spell is a reaction, action, or bonus action, or if it just takes a long time to cast but isn't a ritual. 6th Level Tortle Druid Sheet Lots of passive items on this sheet. The emoji makes it easier to skim through the features looking for features you can use as an action, or to spot passives you need to double check. Could easily be re-arranged so all similar actions/passives are grouped together in the features box.
1649255145

Edited 1649255170
I also added a stopwatch and crossed swords for concentration and superiority dice.  And I added another color for "On hit" and "On critical".  
1649257668
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Good tip. It's similar to one of the very first tricks, but that was more aimed at saving button space.
That's neat but doesn't everything get remove when you level up using the charactermancer ? Loren the GM said: Use Emoji to Clarify Sheet Actions Not my original idea (thanks reddit user Emmia for this one!). Didn't see it in the thread anywhere else, so hopefully I'm not duplicating. Using emoji, you can make features and actions (or really anything!) on your sheet more easy to parse at a glance. Requires a bit of manual work - just copy and paste them into the name of the item. This work goes pretty fast for an established sheet, I suggest trying to do all similar items in one pass so you don't have to switch what is in your copied clipboard. While I think this is helpful to players, this is super helpful as the DM, as I'm less familiar with character options than most other functions in the game. So if I need to hop into a sheet to run for someone who is missing a session, or help troubleshoot, I can quickly see what options are available to me in my current game situation without toggling everything open. This is the template I have started with (easily expand with whatever emoji you want, add multiple emoji for complex actions, whatever!), which I add at the top of the Features & Traits section as a cheat sheet: For some reason the forum won't display four of the emoji. They display fine on the character sheet. Click this  link to access github version  to copy/paste from ❔ Action Colors ⚪ - Passive  - Action  - Bonus Action  - Movement  - Reaction ⚫ - Free Action ⏲️ - Spell with long cast time And here are some screenshots of this in action on the 5e sheet: 6th Level Cleric Sheet Easy to spot which attacks/actions are Bonus or Standard. 6th Level Cleric Spell Page Don't need to toggle open the spell description to see whether the spell is a reaction, action, or bonus action, or if it just takes a long time to cast but isn't a ritual. 6th Level Tortle Druid Sheet Lots of passive items on this sheet. The emoji makes it easier to skim through the features looking for features you can use as an action, or to spot passives you need to double check. Could easily be re-arranged so all similar actions/passives are grouped together in the features box.
Verbose API message debugging script I use the following script to help debug API scripts. For example, figuring out how to make "Customizable Roll Listener" work. on('chat:message', msg => {     log(msg); //log every msg to the API console }); //below is a reminder that logging is ongoing; script should be disabled for normal use on('ready',f =>{    log('API is Up.\n*************************************\n*****VERBOSE MSG LOGGING ENABLED*****\n*************************************');    sendChat("dumpMsg.js","/w gm VERBOSE MSG LOGGING ENABLED",null,{noarchive:true});   // log(`=========================id: ${state.someState} | obj: ${JSON.stringify(state.someState)}`); //log state information for another script }); I save the above as a New Script named "dumpMsg.js", and enable/disable it as needed. The name is not important. Disabling it when not needed will avoid lots of unneeded messages in the API console.
sebastien g. said: That's neat but doesn't everything get remove when you level up using the charactermancer ? It only removes it if you overwrite the item when using the charactermancer, which I don't believe is general behavior - the charactermancer tends to be additive rather than overwrite (it is much easier to end up with two entries on your character sheet then for it to remove something or overwrite it). The one weirdness I have noticed with the charactermancer is it does mess with the list of currently known spells, since it is technically renaming them. 
Ok thx Loren the GM said: sebastien g. said: That's neat but doesn't everything get remove when you level up using the charactermancer ? It only removes it if you overwrite the item when using the charactermancer, which I don't believe is general behavior - the charactermancer tends to be additive rather than overwrite (it is much easier to end up with two entries on your character sheet then for it to remove something or overwrite it). The one weirdness I have noticed with the charactermancer is it does mess with the list of currently known spells, since it is technically renaming them.  Loren the GM said: sebastien g. said: That's neat but doesn't everything get remove when you level up using the charactermancer ? It only removes it if you overwrite the item when using the charactermancer, which I don't believe is general behavior - the charactermancer tends to be additive rather than overwrite (it is much easier to end up with two entries on your character sheet then for it to remove something or overwrite it). The one weirdness I have noticed with the charactermancer is it does mess with the list of currently known spells, since it is technically renaming them. 
1649368291

Edited 1649368505
Hiding multiple query calls on an empty link I'm not sure if this is a known trick, but filling the text of a link with a space "[ ](<url>)" seems to completely remove the link from the chat, but if you replace the url with a query call, it is still triggered and can be referenced later on. This might be useful for condensing multiple query calls at the beginning of a macro/roll template (i use this before the title of a roll template) to help with  readability or preventing more complex queries from breaking more sensitive parts of a macro (like rollable table calls). Ex.:  [ ]( ?{bonus_type|Accuracy,1|Split,0.5|Damage,0} ?{mana|1,4|2,8|3,12})
1649379335
Arumeda said: Hiding multiple query calls on an empty link I'm not sure if this is a known trick, but filling the text of a link with a space "[ ](<url>)" seems to completely remove the link from the chat, but if you replace the url with a query call, it is still triggered and can be referenced later on. This might be useful for condensing multiple query calls at the beginning of a macro/roll template (i use this before the title of a roll template) to help with  readability or preventing more complex queries from breaking more sensitive parts of a macro (like rollable table calls). Ex.:  [ ]( ?{bonus_type|Accuracy,1|Split,0.5|Damage,0} ?{mana|1,4|2,8|3,12}) That’s good, but an even simpler way is to use a fake API call:  !?{bonus_type|Accuracy,1|Split,0.5|Damage,0} ?{mana|1,4|2,8|3,12}
To clarify: Jarren said: Arumeda said: Hiding multiple query calls on an empty link I'm not sure if this is a known trick, but filling the text of a link with a space "[ ](<url>)" seems to completely remove the link from the chat, but if you replace the url with a query call, it is still triggered and can be referenced later on. This might be useful for condensing multiple query calls at the beginning of a macro/roll template (i use this before the title of a roll template) to help with  readability or preventing more complex queries from breaking more sensitive parts of a macro (like rollable table calls). Ex.:  [ ]( ?{bonus_type|Accuracy,1|Split,0.5|Damage,0} ?{mana|1,4|2,8|3,12}) That’s good, but an even simpler way is to use a fake API call:  !?{bonus_type|Accuracy,1|Split,0.5|Damage,0} ?{mana|1,4|2,8|3,12} I should point out: this isn't a “fake API Call” this is an “ignored API call” where the API Call goes out but is ignored, used when constructing Chat Macro Buttons (link URL can be located in 1st post, with multiple other indexed completed tips) in addition to Parser Buffering using HTML (which was covered in a separate trick, URL in 1st Post).
Thanks for such a helpful post!
1651862521
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Khruc said: Does anyone know of any script that does random outcomes?  I want to add 5 different possible sounds to one attack roll using the  !roll20AM --audio,play|  script.  thanks Hi Khruc! This thread is for sharing finished tricks that users have created. Check out the top post for some general guidelines. If you are looking for a solution to a particular thing you want to accomplish, the best thing to do is to post your own thread in  Specific Use Questions & Macros . I'm sure there are some folks who have great ideas to share.
1653246172
Having a lot to keep track of, I often found myself forgetting to use the extra actions in D&D boss fights.  So I have created tokens for Lair Action and Legendary Action 1 through 3.  I keep them on the GM layer so I can add them to the turn counter, but they don't show up to the players.  I space them into the initiative as a reminder to use them in boss fights (of course I can use them whenever, but it helps).
Jim M. said: Having a lot to keep track of, I often found myself forgetting to use the extra actions in D&D boss fights.  So I have created tokens for Lair Action and Legendary Action 1 through 3.  I keep them on the GM layer so I can add them to the turn counter, but they don't show up to the players.  I space them into the initiative as a reminder to use them in boss fights (of course I can use them whenever, but it helps). Nice!  I did the exact same thing. :)
1653254820
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That's pretty handy! Good way to keep track of all kinds of events that are invisible to the players.
1655508633

Edited 1656085445
Reusing rolls to get additional crit damage So, thanks to Scott C   RainbowEncoder and Oosh 's respective work, I started messing with roll templates to allow attacks to add damage dices if and only if we get a nat twenty. &{template:default} {{name=Attack}} {{2=Damage : [[ [[4d6+5]]+[[floor($[[1]]/25)*4d6]] ]]}} {{1=Check : [ ]([[) [[1d20+5]] [ ](]])}}   Thanks to Blue64 for the improvement
1655922893
I am fairly certain this is because you are using round() instead of the more commonly used floor().