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

[API] GroupInitiative not working with D&D 5e 2024 character sheet (works fine on 2014 OGL sheet)

Hi everyone, I'm running a campaign where I use both D&D 5e 2014 (OGL) sheets and the new D&D 5e 2024 official sheet (by Roll20). I'm encountering an issue with the GroupInitiative API script: ❗ The problem: When using the 2024 character sheet , the script does not correctly read the initiative modifier . It either rolls just 1d20 with no bonus, or defaults to 0. With the 2014 (OGL) sheet, it works perfectly fine — initiative modifiers are read and included correctly in the rolls. ✅ What I've tried: Clearing and redefining the initiative group with: bash Copia Modifica !group-init --del-group 1 !group-init --add-group --bare initiative_bonus and also: bash Copia Modifica !group-init --add-group --bare dexterity_mod Ensured the token is properly linked to the character. Verified that initiative shows correctly in the character sheet UI (top of the sheet, next to Armor Class). 🔍 What I suspect: The 2024 sheet likely calculates initiative dynamically using derived attributes, and does not expose a raw attribute that the API can access via --bare . ❓ My questions: Has anyone successfully configured GroupInitiative to work with the new 2024 5e character sheet? Is there a hidden or alternative attribute name I can use? Is there a workaround (e.g., creating a custom attribute manually for initiative)? Are there any plans to update GroupInitiative for compatibility with the 2024 sheet? 🧩 Context: GroupInitiative version: latest from the Roll20 Script Library Sheets in use: ✅ D&D 5e OGL 2014 → working fine ❌ D&D 5e 2024 Official Sheet by Roll20 → initiative not detected Account type: PRO I can provide sandbox access or example characters if needed. Thanks a lot in advance!
1747065053
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Zaknafein83! I have been tripped up by this multiple times. The newest version of the script relies on the Experimental API server. It doesn't read properly while on the default (Production) server. Go to your mod page. There's a drop-down to choose the Experimental server. It will take about 39 seconds and then prompt you to restart. It may take multiple tries for the transfer to stick. Watch the log. It should tell you if the Experimental server is active. After that, the script should be able to access both sheets.
I missed the first configuration, sorry. Thanks for advice