1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Clarify openrct2-cli usage

Aaron van Geffen
2018-08-12 21:54:50 +02:00
parent 917664f872
commit 66ed234e9d

@@ -9,15 +9,22 @@ In order for the server to successfully accept clients, the port must be open fo
You can also launch a server by command line, e.g.
```
openrct2-cli host <saved game path> --port 22050
openrct2 host <saved game path> --port 22050
```
### Dedicated server
OpenRCT2 also supports a headless mode where the game will run as a console application with no UI. This is useful for running dedicated game servers. This can be launched by the following command line:
```
openrct2-cli host <saved game path> --port 11753 --headless
openrct2 host <saved game path> --port 11753 --headless
```
Alternatively, on Linux, the openrct2-cli binary may be used:
```
openrct2-cli host <saved game path> --port 11753
```
Additional arguments:
Argument | Variable | Description