From b943d5b5a36f4e3539d832f6e3aef7ffe173de4d Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Fri, 29 Nov 2024 23:48:34 +0100 Subject: [PATCH] Update docs for new privacy policy info API Part of https://github.com/space-wizards/SS14.Launcher/issues/194 --- src/en/robust-toolbox/server-http-api.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/en/robust-toolbox/server-http-api.md b/src/en/robust-toolbox/server-http-api.md index f3bbbb54d..69ab9de2a 100644 --- a/src/en/robust-toolbox/server-http-api.md +++ b/src/en/robust-toolbox/server-http-api.md @@ -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" + } } ```