# Introduction

Welcome to the Rise 6 Scripting API documentation. This document goes over the API itself, as well as some example&#x73;**.**

{% hint style="info" %}
The scripting system uses Java Script (ES version **5**.1) as the scripting language.
{% endhint %}

{% hint style="warning" %}
Script throwing an exception could result in the script being unloaded.
{% endhint %}

{% hint style="warning" %}
You **should** unregister/finalize modules/commands/anything else manually. This is not required, however is strongly suggested in case of a script crash.
{% endhint %}

{% hint style="danger" %}
**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
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://riseclients-organization.gitbook.io/rise-6-scripting-api/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
