I'm trying to use the API to add notes to a player and I get the response {"Result":"Error","Error":"Missing Encrypted parameter"}.
My URL parameters are Command=AccountsNotes&password=Password&player=Test&Action=Set&Json=Yes&Data={"Result":"Ok","Player":"test","Count":2,"Label":[],"Subject":["test","test2"],"Color":["0","8"],"Chat":["Yes","Yes"],"Note":["aWs=","SHYkdyVnJ2Zmfm4t"]}
Any suggestions? I'm trying to be able to back up a player's notes before I delete them so that if I restore them later, their notes return. Also, what happens to the notes player1 has written about player2 if player2 is deleted?
Thanks!
Questions about player notes
-
- Site Admin
- Posts: 6007
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Questions about player notes
Looks like I forgot to update the API docs for that command. Include a Encrypted = Yes parameter in your call to AccountsNotes. Notes are encrypted beginning with version 7.00. When you delete a player, it deletes both that player's notes and the notes other players made on that deleted player.
-
- Posts: 21
- Joined: Mon Feb 24, 2020 10:53 pm
Re: Questions about player notes
So if I wanted to archive those notes made by Player1 about Player2, I would need to use the API to go through every player and export their notes just in case they had written any about Player2 before I deleted them.
That's doable, I think. Thanks!
That's doable, I think. Thanks!
-
- Site Admin
- Posts: 6007
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Questions about player notes
Yeah, I suppose. Assuming the player that claims that name again is the same person as before. Otherwise those notes should stay deleted.loquacious wrote: ↑Wed May 28, 2025 12:18 pm So if I wanted to archive those notes made by Player1 about Player2, I would need to use the API to go through every player and export their notes just in case they had written any about Player2 before I deleted them.