Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for new privacy policy info API #355

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading