First, go to your API Scripts and enable these two:
TokenMod
GroupInitiative
(ignore the warning popup when adding this one, it's fine)
Then open up the Macros section.
- 🗸 Show macro quick bar
- 🗸 In Bar
!group-init --toggle-turnorder
- 🗸 In Bar
!group-init --clear
- 🗸 In Bar
!group-init --sort
- 🗸 In Bar
- 🗸 Token Action
!token-mod --set name|"?{Name}" showname|yes
- 🗸 In Bar
- 🗸 Token Action
!token-mod --set bar1_value|"?{Hit points}" bar1_max|"?{Hit points}"
- 🗸 Token Action
!token-mod --set bar1_link|HP bar2_link|passive_wisdom bar3_link|AC showplayers_bar1|yes
(Optional)
- 🗸 Token Action
!token-mod --set bar1_link| bar2_link| bar3_link| bar1_value| bar2_value| bar3_value| bar1_max| bar2_max| bar3_max| showplayers_bar1|no showplayers_bar2|no showplayers_bar3|no
- 🗸 Token Action
!token-mod --set ?{Vision|Torch, light_radius#40 light_dimradius#20 light_hassight#yes light_angle#360 light_otherplayers#yes|Hooded Lantern, light_radius#60 light_dimradius#30 light_hassight#yes light_angle#360 light_otherplayers#yes|Bullseye Lantern, light_radius#120 light_dimradius#60 light_angle#60 light_hassight#yes light_otherplayers#yes|Lamp, light_radius#30 light_dimradius#15 light_hassight#yes light_angle#360 light_otherplayers#yes|Candle, light_radius#5 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#yes|Darkvision, light_radius#60 light_dimradius#=30 light_hassight#yes light_angle#360 light_otherplayers#no|Darkvision (120'), light_radius#120 light_dimradius#=60 light_hassight#yes light_angle#360 light_otherplayers#no|Warlock Devil's Sight, light_radius#120 light_dimradius#=120 light_hassight#yes light_angle#360 light_otherplayers#no|No light source(Dusk), light_radius#120 light_dimradius#=-5 light_hassight#yes light_angle#360 light_otherplayers#no|Fog, light_radius#200 light_dimradius#=5 light_hassight#yes light_angle#360 light_otherplayers#no|No light source, light_radius#0 light_dimradius#=-5 light_hassight#yes light_angle#360 light_otherplayers#no|Blinded, light_hassight#no light_angle#360 light_otherplayers#no}