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

Do IDs persist when stopping/restarting a game?

1735836458
Ulti
Pro
Sheet Author
API Scripter
Some years ago, I noticed that token IDs may not persist when stopping a game and starting it again later (the IDs of the tokens seemed to be regenerated). I wonder if this is always the case, and if it is also the case for character IDs, player IDs or page IDs. I couldn't find anything about that in the wiki. Does anyone have a definite answer?
1735843532
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Ulti! That should never be the case. If you copy and paste a token, or drag a new token onto the sheet, it will have a different ID, but the existing token should never change its ID. If you can reliably reproduce this, let me know, because that would break a lot of things.
1735978908
GiGs
Pro
Sheet Author
API Scripter
As Keith says, this should not happen now and suggests there was a bug. Note that each token you create is a different token (even if they come from the same character), and so will have a different id. This also applies when you copy a token from one game to another - it is not the same token.
1736066893
Ulti
Pro
Sheet Author
API Scripter
Then that is good news! I won't have to double check my IDs anymore. Thanks to both of you.