Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Guide to run a headless server for brainlets.
- Grab those files from this zip file: https://files.catbox.moe/lpzq0l.zip
- StartServer.ps1 - Powershell script to start the server
- serverparameters.json - Config file for scenario and config folder
- Place them into your openrct2 folder.
- Open serverparameters.json and edit the scenario, paste the full path of the save/scenario you want to load, also edit the server_data_folder to a new folder where you want the server to store the data, like saves and shit. It's a new user folder that will only be used by the server.
- Example:
- {
- "scenario": "D:\Games\OpenRCT2\Scenarios\FuckingImpossibleScenario.sv6",
- "server_data_folder": "D:\Games\OpenRCT2\Server Data"
- }
- After that, right click on StartServer.ps1, click on "Run with Powershell", a console screen will open.
- A firewall prompt may also open, give it permissions to your network. Close the server, the server data folder will be created, open the config.ini in there.
- Change the parameters you wish to change on this section:
- [network]
- player_name = "Host" <- This is the player name that the headless server will have
- default_port = 11753 <- Server port
- listen_address = "" <- Leave it empty
- default_password = "" <- Pick a password
- stay_connected = true <- Don't touch
- advertise = false <- False to not be advertised on the master server
- advertise_address = "" <- Ignore
- maxplayers = 16
- server_name = "/vr/ Server"
- server_description = ""
- server_greeting = ""
- master_server_url = "" <- Ignore
- provider_name = "" <- Ignore
- provider_email = "" <- Ignore
- provider_website = "" <- Ignore
- known_keys_only = false <- Leave on false, unless you want to use whitelisting
- log_chat = true
- log_server_actions = true
- pause_server_if_no_clients = false <- False if no one besides the headless server is connected
- desync_debugging = false
- Save the file, and run the server again ( right click at StartServer.ps1, Run with a powershell ), you'll get a console screen.
- Open your OpenRCT2 and connect to your local server ( ip 127.0.0.1 should work )
- Alt tab, change to the server console and type network.players[1].group = 0
- Congratulations, your client is now admin. Now you can change permissions directly from the game.
- This should be enough. I'm not covering port forwarding.
- This could have been a .bat but i like powershell.
Add Comment
Please, Sign In to add comment