![openrct2 sandbox mode openrct2 sandbox mode](https://i.redd.it/uk7s8yjo3to61.png)
This however does not mean you need to write your plug-in in JavaScript, there are many transpilers that allow you to write in a language of your choice and then compile it to JavaScript allowing it to be executed by OpenRCT2. OpenRCT2 currently uses the duktape library to execute scripts. Scripts are written in ECMAScript 5 compatible JavaScript. A good reference material is listed on ChooseALlicense, try to pick one of them and use its corresponding identifier, as listed on SPDX. The authors must also define a licence for the plug-in, making it clear to the community whether that plug-in can be altered, copied, etc. This allows the plugin to provide functionality across different screens such as the title screen. However they are loaded at the very start of launching OpenRCT2 and remain loaded until shutdown. Intransient scripts are similar to local scripts, in that they can not alter the game state.
#Openrct2 sandbox mode download
This allows servers to enable scripts without players needing to manually download or enable the same script on their end. Instead the server will upload any remote scripts that have been enabled on the server to each player. Players cannot enable or disable remote scripts for multiplayer servers they join. Remote scripts on the other hand can alter the game state in certain contexts, thus must be enabled for every player in a multiplayer game.
#Openrct2 sandbox mode windows
These scripts tend to provide extra tools for productivity, or new windows containing information. This allows each player to enable any local script for their own game without other players needing to also enable the same script. Local scripts can not alter the game state. So if you want to prevent a plug-in from being used, you must move it outside this directory, or rename it so the filename does not end with. OpenRCT2 will load every single file with the extension. Linux: $XDG_CONFIG_HOME/OpenRCT2 or in its absence $HOME/.config/OpenRCT2.Mac: /Users/YourName/Library/Application Support/OpenRCT2.Windows: C:\Users\YourName\Documents\OpenRCT2.The user directory for each platform is usually: This can range from extra windows providing information about the park to entire new multiplayer game modes.Įach script is a single physical javascript file within the plugin directory in your OpenRCT2 user directory. OpenRCT2 allows custom scripts (also known as plug-ins) to be written and executed in the game providing additional behaviour on top of the vanilla experience.