Taking a quick look at this forum, there seems to be an abundance of resting scripts being released at the same time. Nevertheless, here's my take on it:
https://github.com/magnars/roll20-scripts
5E OGL Resting in Style
This Roll20 API Script solves the error prone task of updating your character sheet when resting. Using !long-rest
and !short-rest
commands will update your sheet, and report to you everything it is doing.
Short rest
Select your character, then run the !short-rest
command. It will:
check your hit points and hit dice, and remind you to use them if needed.
replenish Warlock Pact Magic spell slots. This works correctly even if you are a multiclass spell caster.
replenish class specific resources, like Wild Shape, Second Wind and Channel Divinity.
- It knows that Bards regain Bardic Inspiration at class level 5.
- It knows that Sorcerers gain 4 Sorcery Points at class level 20.
replenish subclass specific resources, like Superiority Dice and Hexblade's Curse.
remind Wizards to use Arcane Recovery, and Bards to use Song of Rest.
Long rest
Select your character, then run the !long-rest
command. It will:
replenish your hit points.
replenish the correct number of hit dice (even at lvl 1).
remove temporary hit points.
replenish spell slots.
replenish class specific resources, like Lay on Hands, Arcane Recovery and Rage.
replenish subclass specific resources, like Consult the Spirits and Avenging Angel.
replenish race specific resources, like Breath Weapon and Relentless Endurance.
Usage
Resting in Style will generally do the right thing out of the box, as long as you're using the 5th Edition OGL by Roll20 character sheet.
However, not all resources are automatically added to the Resource boxes. You might have to add them yourself.
For instance, a Wizard starts with the Arcane Recovery skill. This is not tracked in the sheet. Add a custom resource box, set the Total to 1, the value to 1, and the name to "Arcane Recovery".
Resting in Style will detect the new resource by name, and start notifying you to use it on short rests, and replenish it on long rests.
I have a resource not covered by this script
No worries. If your skill is called "Homebrew Resource", you can rename it to "Homebrew Resource [l]" to reset it every long rest. If you instead postfix it with "[s]", then it is reset every short and long rest.
Also: Please let me know if I have missed any skills in the official source books, I'll happily add the support.