
Either a single string or an array containing multiple sources

This sequence of actions ensures that every player execute the action exactly in the same way on the exact same game tick."0A188A80|4X4 |0DB8676C " sourceGame : string or array of strings Send action to all player to execute action at tick #.If query or permission fails, send error message back to player, else:.Server receives action and query method is called on server.If query succeeds, send action to server, else show error message.Game action (open park), query method is called.Player executes action (open park) via UI.Here is an example flow of a game action such as opening the park:

Game actions allow you to define new actions (with a new permission slot) that players can invoke in games. Other hooks include receiving a chat message in multiplayer, or a ride breaking-down. Start by copying this template script into a new file in your plugin directory:įunction main ( ) )
#OPENRCT2 WITHOUT RCT2 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 WITHOUT RCT2 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.


