openrct2
Installation
SKILL.md
OpenRCT2 Plugin Development
Develop plugins (scripts) for OpenRCT2 using JavaScript/TypeScript to extend the game with custom windows, game actions, event hooks, and multiplayer features.
Overview
OpenRCT2 plugins run in Duktape (ES5 runtime). Key capabilities:
- JavaScript/TypeScript - ES5 compatible, use transpilers for ES6+
- Game Actions - Multiplayer-synchronized state mutations
- UI Windows - Custom windows with widgets
- Hooks - Subscribe to game events
- Network API - TCP sockets for localhost communication
- Hot Reload - Real-time plugin development
Plugin Directory
Place .js files in the plugin directory: