Added serverCode to documentation and sample distro
This commit is contained in:
parent
411c9fce34
commit
14b2c79b1b
@ -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.
|
||||
|
@ -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": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user