Comment on page
This page contains the overview of this GitBook.
Welcome to the Rise 6 Scripting API documentation. This document goes over the API itself, as well as some examples.
The scripting system uses Java Script (ES version 5.1) as the scripting language.
Script throwing an exception could result in the script being unloaded.
You should unregister/finalize modules/commands/anything else manually. This is not required, however is strongly suggested in case of a script crash.
Disabling security measures feature will allow Java.type() access for every class, including the classes from Java standard library, bringing a possibility to run unsafe code. Those measures are enabled by default. To switch their state, do .script enablesecurity or .script disablesecurity