mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Updated Multiplayer (markdown)
@@ -42,3 +42,61 @@ Alternatively set the following configuration option as a client in your config.
|
|||||||
[network]
|
[network]
|
||||||
stay_connected = true
|
stay_connected = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Server List API
|
||||||
|
**Available at https://servers.openrct2.website**
|
||||||
|
|
||||||
|
**Request:**
|
||||||
|
```
|
||||||
|
GET HTTP/1.1
|
||||||
|
Host: servers.openrct2.website
|
||||||
|
Accept: application/json
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response:**
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"status": 200,
|
||||||
|
"servers": [
|
||||||
|
{
|
||||||
|
"name": "Server Name",
|
||||||
|
"description": "Description of the server...",
|
||||||
|
"version": "0.0.3",
|
||||||
|
"players": 3,
|
||||||
|
"maxPlayers": 16,
|
||||||
|
"port": 11753,
|
||||||
|
"ip": {
|
||||||
|
"v4": [
|
||||||
|
"80.12.231.106"
|
||||||
|
],
|
||||||
|
"v6": [
|
||||||
|
"2001:0:9e18:6ac8:34:23be:ad67:7c52"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"requiresPassword": false,
|
||||||
|
"supportsIPv4": true,
|
||||||
|
"supportsIPv6": true,
|
||||||
|
"serverId": 390,
|
||||||
|
"gameInfo": {
|
||||||
|
"guests": 1520,
|
||||||
|
"month": 46,
|
||||||
|
"day": 44564,
|
||||||
|
"parkValue": 1399430,
|
||||||
|
"mapSize": 126
|
||||||
|
},
|
||||||
|
"customGI": {
|
||||||
|
"month": "September",
|
||||||
|
"day": "21st",
|
||||||
|
"year": 5,
|
||||||
|
"parkValue": "139,943",
|
||||||
|
"guests": "1,520"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"website": "https://myopenrct2server.net",
|
||||||
|
"email": "support@myopenrct2server.net",
|
||||||
|
"name": "MyOpenRCT2 Server"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user