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 .
×

Concentration Mod/API , Spells do not trigger it. DnD 2024 Sheet

Per Topic. Details: Fairly new to Mods. I understand that the Concentration MOD on Experimental Version is supposed to work automatically; identify a Spell is Concentration and toggle on the selected Token the Stopwatch marker and add the feature of auto rolling CON checks. This does not work for me. I use the 2024 Character sheet and choose the spell with concentration from the Spell Tab, and it doesn't seem to trigger it. I can put in chat (!concentration) and operate it, with the token selected, it toggles and enables it on the character. HP loss works, and the CON save is rolled.  Am I doing something wrong for it to auto detect? Is there another Mod or something else to do for this to function? The MOD wiki entry doesn't seem to be updated or address the 2024 sheet. I can have a token button for the spell and add !concentration to it, but I assume it was to be from the character sheet with as little prep for a player.
1776720899

Edited 1776721152
Gauss
Forum Champion
Hi lvl_0_DM,  If the wiki is not updated or addressing the 2024 sheet and there is no documentation elsewhere stating that the API Script has been modified to work with the 2024 sheet then it is likely that it is not compatible with that sheet.  D&D 5e 2024 is a Beacon sheet, beacon sheets do not play nice with API Scripts without a lot of work rewriting the script and work on the Devs part on the Beacon sheet.  Edit: I see that there was an update 11months ago that was supposed to enable it to work with Beacon, but it is entirely possible that changes to the 2024 sheet since that date have caused it to break again. That happened to certain other scripts that were updated to work with the 2024 sheet. 
Thank you for the reply Gauss. I hadn't seen anyone mention it for the last year, and was wondering, if A) it broke or B) I was doing something wrong. Some mentions of Combat Master MOD also incorporating it/working, but that did not seem to be the case for me. This link made it seem that it should still function&nbsp; <a href="https://help.roll20.net/hc/en-us/articles/36178591926423-D-D-2024-Compatible-Mod-Scripts" rel="nofollow">https://help.roll20.net/hc/en-us/articles/36178591926423-D-D-2024-Compatible-Mod-Scripts</a> Do you know if I can edit any text/fields within the character sheet (2024) and have it trigger/call the Mod? It wouldn't be hard to just add !concentration into those few spells. Example in the Description field some syntax that [!concentraion] or something (I've tried a few and looked up to no avail). Otherwise, I already have a Global Token Macro for Concentration that players can manually toggle.
1778941062
Victor B.
Pro
Sheet Author
API Scripter
Concentration API prob hasn't been updated in a LONG time.&nbsp; Check the code.&nbsp; If the creator was Robin Kuiper, it's probably been around a decade since he worked on that.&nbsp;&nbsp;
His last update here Concentration Code on Github &nbsp;, shows a 0.20 update last year, maybe more June 2024 to incorporate Beacon sheets. Anyway, it seems like it was in the works? Maybe some other change to the spell template messed it up? I was wading through that part to see if I could crack it.
Here is a new version of the Concentration API Mod that you can try:&nbsp; <a href="https://www.dropbox.com/scl/fi/d94oywa5s7y0n5i0mqei7/Concentration_v1.0.0.beta.1.zip?rlkey=f92viw7g86m1p1l6dg3xw1b8p&amp;dl=0" rel="nofollow">https://www.dropbox.com/scl/fi/d94oywa5s7y0n5i0mqei7/Concentration_v1.0.0.beta.1.zip?rlkey=f92viw7g86m1p1l6dg3xw1b8p&amp;dl=0</a> I'm still doing some testing, so it should be in GitHub soon. Let me know if it works for you now.
The updated version 1.0.0 has been released to the One-Click installer. [1.0.0] - 2026-05-23 Added Dedicated legacy and Beacon spell-detection paths. Support Mode for debug output with two levels: Basic: short support-friendly diagnostics. Detailed: structured diagnostics for troubleshooting. Pending roll ID flow for Roll and Advantage buttons. Pending roll cleanup for expired entries. Guarded CON save modifier lookup helper. Documentation set for compatibility and testing: docs/beacon-compatibility.md docs/troubleshooting.md docs/testing-checklist.md Changed Updated script and package versioning to 1.0.0 . Hardened Beacon matching heuristics for concentration spell cards. Improved character resolution using character ID first, then exact-name fallback. Preferred represented tokens on the caster's current page before global fallback. Refreshed README and metadata for current Roll20/Beacon behavior. Refactored API input handling into dedicated parse/dispatch helpers. Refactored HP-loss concentration flow into focused reminder/button/tracking helpers. Added JSDoc typedefs and function docs for core detection, command, roll, and config flows. Fixed Fixed selected-token manual toggle whisper targeting for character mode. Prevented brittle regex indexing assumptions on unmatched spell content. Improved marker-change loop protection using tracking keys. Added safer marker removal behavior for represented and unlinked tokens. Improved handling of missing or expired pending roll IDs. Security Validates API command and config input values before applying state changes. Escapes dynamic chat-rendered values to reduce markup injection risk.