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

Can't get GroupInitiative to work properly

The problem I'm having is that when I select a few tokens on the battlefield and then paste  !group-init  into the chat window, nothing happens. 1. To ensure that the fault wasn't with one of my existing games, I made a new game (with Jumpgate) and chose the D&D 5E By Roll20 character sheet. 2. Next I went to the Mod (API) Scripts page for this game and the Experimental API was already selected. 3. Then I installed GroupInitiative  0.9.41. The Mod Output Panel gave me this after I installed  GroupInitiative  0.9.41: "-=> GroupInitiative v0.9.41 <=-  [Tue Jan 21 2025 18:05:48 GMT+0000 (Coordinated Universal Time)]" "  > Updating Schema to v1.3 <" "  > Updating Help Handout to v0.9.41 <" "##########> Sandbox [EXPERIMENTAL 2025-10-22] : Ready fired after 5.45s, 19 objects." 4. I launched the game and in the chat window clicked on the  GroupInitiative standard configuration option " D&D 2024 by Roll20"  button that said "Apply Configuration". 5. I placed a token on the battlefield and opened the Turn Order window, then selected the token I just placed. 6. I pasted  !group-init  into the chat window and got absolutely nothing. No response whatsoever. Looking at the Mod Output Panel for this game show no information.  Can anyone help me out? What am I missing?
1761314168
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
HI Matt! That sounds pretty thorough. The only thing I can think of off the top of my head is to double check the token you selected. Make sure it represents a character.
Thanks for the response. I used a Young Red Dragon from the 2024 Monster Manual in my Compendium. Any other ideas?
Do you use GroupCheck as well?  If you do, is it working?
Did you somehow get into Talk To Yourself mode? That could explain no API response.  Also, it sounds like you selected the 2014 sheet when you created the game, and the 2024 configuration from the API setup prompt. I don’t know if that would cause no response, though.
1761580150
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Joe said: Did you somehow get into Talk To Yourself mode? That could explain no API response.  Also, it sounds like you selected the 2014 sheet when you created the game, and the 2024 configuration from the API setup prompt. I don’t know if that would cause no response, though. I believe that that configuration choice is now intended to handle both sheets simultaneously.
I am having this same problem, though, I've noticed it with both GroupInit and GroupCheck.
1761603750

Edited 1761605831
So whatever problem the problem is, it seems to still exist. These are the exact steps I just did now and am still getting no response from GroupInitiative. 1. Create new game 2. Pick a character sheet: D&D 5E 2024 By Roll20 3. Click "I'm ready create game" button 4. Go to settings menu and choose "Mod (API) Scripts" option 5. On that page, having done nothing, I get this error " Your scripts are currently disabled due to an error that was detected.  " The API Sandbox version is already chosen for me as "Experimental". 6. Use the dropdown "Roll20 Mod Library" to choose "GroupInitiative". Scroll down and click the Save button 7. Back on the Mods screen, click the "Restart API Sandbox" button, resulting ultimately in this line: "##########> Sandbox [EXPERIMENTAL 2025-10-22] : Ready fired after 5.60s, 19 objects." 8. Launch game 9. In the game, use the compendium to add a monster to the battle field, in my case "Young Red Dragon" from the Free Basic Rules (2024) 10. In the chat window, scroll up a little and click the button "Apply Config" next to the heading "D&D 2024 by Roll20" 11. Open the Turn Order window and select the red dragon token on the battlefield 12. In the chat window type !group-init ... and then absolutely no response at all from the script. If anyone could please repro these steps and tell me what I missed, I would be very grateful.
I had the same issues, I disabled groupcheck and went to the non experimental sandbox and groupinit works again.  So the issue is with the experimental sandbox. (groupinit is more important to me then groupcheck, but I miss it all the same).   Was for the new Keep on the Borderlands module if it matters.
Joe said: Did you somehow get into Talk To Yourself mode? That could explain no API response.  Also, it sounds like you selected the 2014 sheet when you created the game, and the 2024 configuration from the API setup prompt. I don’t know if that would cause no response, though. I'm not sure what Talk to Yourself mode is, and no, I did not select the 2014 sheet. If you can, take a look at my steps above and see if you can get the same lack of response from the script.
Feyte said: I had the same issues, I disabled groupcheck and went to the non experimental sandbox and groupinit works again.  So the issue is with the experimental sandbox. (groupinit is more important to me then groupcheck, but I miss it all the same).   Was for the new Keep on the Borderlands module if it matters. In my test game, I don't have any other scripts loaded. Strangely, when I switch to the Default API, !group-init works, mostly. It will roll initiative but it doesn't pull the initiative bonus for the selected token. 
1761631177
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
By following your carefully laid out steps, I can confirm that this is not working in a new game, though it does in an existing one. It has been reported.
keithcurtis said: By following your carefully laid out steps, I can confirm that this is not working in a new game, though it does in an existing one. It has been reported. Thank you!
To confirm: this is happening in your established games as well as new games? Matt J said: So whatever problem the problem is, it seems to still exist. These are the exact steps I just did now and am still getting no response from GroupInitiative. 1. Create new game 2. Pick a character sheet: D&D 5E 2024 By Roll20 3. Click "I'm ready create game" button 4. Go to settings menu and choose "Mod (API) Scripts" option 5. On that page, having done nothing, I get this error " Your scripts are currently disabled due to an error that was detected.  " The API Sandbox version is already chosen for me as "Experimental". 6. Use the dropdown "Roll20 Mod Library" to choose "GroupInitiative". Scroll down and click the Save button 7. Back on the Mods screen, click the "Restart API Sandbox" button, resulting ultimately in this line: "##########> Sandbox [EXPERIMENTAL 2025-10-22] : Ready fired after 5.60s, 19 objects." 8. Launch game 9. In the game, use the compendium to add a monster to the battle field, in my case "Young Red Dragon" from the Free Basic Rules (2024) 10. In the chat window, scroll up a little and click the button "Apply Config" next to the heading "D&D 2024 by Roll20" 11. Open the Turn Order window and select the red dragon token on the battlefield 12. In the chat window type !group-init ... and then absolutely no response at all from the script. If anyone could please repro these steps and tell me what I missed, I would be very grateful.
It has also happened in one of my 2024 games where it was working two weeks ago. I can confirm that they booth work when I set the sandbox to default, but fail to fire when in the experimental sandbox.   So now it is multiple games and at least one of my older games has now exhibited the same behavior. Both mods perform fine in my 2014 games, but they are all using the default sandbox.