Skip to content

Commit

Permalink
Update docs for new privacy policy info API
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Nov 29, 2024
1 parent e744fbe commit b943d5b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/en/robust-toolbox/server-http-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,17 @@ More detailed JSON server information that is mostly necessary when connecting t
"icon": "discord", // Icon to use for this button, can be left out. See below for valid icon names.
"url": "https://discord.gg/abcdef" // Link this button opens when pressed. Must be http:// or https://
}
]
],
// Optional, specifies information about a privacy policy that players must agree with.
"privacy_policy": {
// Link that contains the privacy policy, accessible via web browser.
"link": "https://example.com/privacy",
// An identifier that will be stored by the launcher when accepted.
// THIS SHOULD BE UNIQUE FOR EVERY SERVER COMMUNITY. DON'T JUST COPY PASTE THIS FROM SOMEBODY ELSE.
"identifier": "example",
// The "version" of the privacy policy. This should be changed if the server's privacy policy has been updated.
"version": "example"
}
}
```

Expand Down

0 comments on commit b943d5b

Please sign in to comment.