diff --git a/docs/distro.md b/docs/distro.md index 6637a1e..3ea597e 100644 --- a/docs/distro.md +++ b/docs/distro.md @@ -143,6 +143,10 @@ Only one server in the array should have the `mainServer` property enabled. This Whether or not the server can be autoconnected to. If false, the server will not be autoconnected to even when the user has the autoconnect setting enabled. +### `Server.serverCode: string` + +A code that allows you to privately distribute certain servers on the launcher. Players will only be able to see the server in their launcher if they have specified the code in the settings. If left blank, all players can see the server. + ### `Server.modules: Module[]` An array of module objects. diff --git a/docs/sample_distribution.json b/docs/sample_distribution.json index 57bdb24..d91f8b6 100644 --- a/docs/sample_distribution.json +++ b/docs/sample_distribution.json @@ -24,6 +24,7 @@ "largeImageKey": "server-prod" }, "mainServer": true, + "serverCode": "", "autoconnect": true, "modules": [ { @@ -438,6 +439,7 @@ "largeImageKey": "server-test" }, "mainServer": false, + "serverCode": "", "autoconnect": true, "modules": [ { @@ -852,6 +854,7 @@ "largeImageKey": "server-test" }, "mainServer": false, + "serverCode": "", "autoconnect": true, "modules": [ { @@ -1283,6 +1286,7 @@ "largeImageKey": "server-test" }, "mainServer": false, + "serverCode": "", "autoconnect": false, "modules": [ {