OPENRCT2-CLI(6)
π OPENRCT2-CLI π
okay bestie, so this is the Games Manual page for openrct2-cli β that's the whole manual name, OPENRCT2-CLI(6), section 6, games. sit down, hydrate, we're running a game server with no screen and it's gonna be iconic π
β¨ NAME β¨
openrct2-cli β headless server mode for OpenRCT2, aka running the whole game like a little console gremlin with zero UI π
π SYNOPSIS π
openrct2-cli [-h | --help] [-v | --version] [--verbose]
openrct2-cli host uri [--address address] [--port port]
[--password password]
π¦ DESCRIPTION π¦
So OpenRCT2 has a headless mode where the game just runs as a console application, no UI, nothing, just vibes and stdout. it's literally made for running dedicated game servers. main character energy but the main character is a terminal π«Ά
there's a bunch of objects chillin' in OpenRCT2's scripting interface that you can poke at from the CLI:
cheatsβ turn various cheats on and off, no judgmentclimateβ mess with the climate and the weather π¦οΈconsoleβ options for talking to the stdout consolecontextβ the core API, for pluginsdateβ get or set the in-game datemapβ manipulate the mapnetworkβ manage the server or interact with clientsparkβ APIs for the park and managing itscenarioβ info about the current scenariotitleSequenceManagerβ create and edit title sequences (only available to clients that are not running in headless mode, so not you, sorry bestie π)uiβ APIs for controlling the user interface (only available to clients that are not running in headless mode either, same deal π)
if you want the deeper lore about OpenRCT2, its options and what it can do, go read the openrct2(6) manpage, it's right there π
π OPTIONS π
-h|--helpβ print a summary of all options to stdout and then exit. bye βοΈ-v|--versionβ show version information and exit.-n|--no-installβ do not install the scenario if passed.-a|--allβ show help for all commands. the full lore drop.--aboutβ show information aboutopenrct2-cli.--verboseβ print diagnostic information to stdout. it's giving yapper, and honestly we love that for it π£οΈ--portport β port to use for hosting or joining a server. if you don't specify it, the default port of11753gets used π--addressaddress β address to bind to when hosting a server.--passwordpassword β password needed to join the server. keep it secret, keep it safe π--user-data-pathpath β path to the user data directory (the one containingconfig.ini)--openrct2-data-pathpath β path to the OpenRCT2 data directory (the one containinglanguages)--rct1-data-pathpath β path to the RollerCoaster Tycoon 1 data directory (the one containingdata/csg1.dat)--rct2-data-pathpath β path to the RollerCoaster Tycoon 2 data directory (the one containingdata/g1.dat)
πΈ NOTES πΈ
with multiplayer you might run into some bugs that do not occur in single player mode. not to be dramatic but. yeah. if that happens, please report it on GitHub if the issue hasn't already been reported, and please say if the bug only occurs on multiplayer games. we need the deets bestie π
for the server to successfully accept clients, the port must be open for the server's own firewall and any router's firewall the computer is behind. also, if the server is behind a router with NAT enabled, the router has to be configured to have the port forwarded to the server's local address. networking is the villain of this story fr fr π
π EXAMPLES π
openrct2-cli host ./my_park.sv6 --port 11753
run a headless server for a saved park. slay.
$ network.players[1].group = 0
from the CLI for a multiplayer server, set the first user to join as an admin π
$ cheats["disableAllBreakdowns"] = true
from the CLI, enable the cheat to disable all ride breakdowns. no more breakdown jumpscares π’β¨
β SEE ALSO β
openrct2(6)- Official site:
https://openrct2.io - GitHub:
https://github.com/OpenRCT2/OpenRCT2
okay that's the whole page, and before you go: this lovely thing came from Debian and it's dated December 19, 2021 π go forth and host, bestie, you got this π«Άπ
π¦ where this page comes from
- alpine 3.24: openrct2-doc 0.5.1-r0 Β· GPL-3.0-only
- arch rolling: openrct2 0.5.6-1 Β· GPL-3.0-or-later
- debian bookworm: openrct2 0.4.3+ds-1 Β· GPL-3.0-only
- debian trixie: openrct2 0.4.21+ds-1 Β· GPL-3.0-only
- nixos 26.05: openrct2 0.5.0
- nixpkgs unstable: openrct2 0.5.6
- ubuntu noble: openrct2 0.4.10+ds-1ubuntu1 Β· GPL-3.0-only
- ubuntu questing: openrct2 0.4.21+ds-1
- ubuntu resolute: openrct2 0.4.31+ds-1ubuntu1 Β· GPL-3.0-only
- ubuntu stonking: openrct2 0.5.3+ds-1ubuntu2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms