Hi, I'm figuring out ways to prevent a person in control of a token from being able to delete it. Example with the delet button
Thank you in advance for your comments / macros: PHi, I'm figuring out ways to prevent a person in control of a token from being able to delete it. Example with the delet button
Thank you in advance for your comments / macros: PFollowing!
These would be Suggestions:
There is not a standard macro for this.
There could be an API that would un-delete.
There could be an API that would report into the Chat whenever something's been deleted.
Personlly my habit (since True Page duplication feature came out), is making Backup COPY of each Page in the campign that has tokens. So if someone deletes one, I can get it back by copy-paste from the backup page.
I have a couple of city maps like that, filled with map pins or NPCs that the players have control over. I periodically duplicate the map, tokens included so there is an immediate backup. If nothing has gone wrong for a while, but the tokens have increased, I delete and make a new backup.
You can undo (Cmd/Ctrl-Z) an accidental deletion, but only immediately afterward. I think an API would suffer similar limitations. It might be possible to create a new token that is a virtual duplicate of the old upon deletion. It would definitely have a different token_id. Given the nature of how gmnotes are retrieved though, I suspect it might be impossible to re-create it entirely. Maybe someone with better API chops than me would have a more authoritative answer, though.