# Scripting Reference

- [Introduction to Resources](https://docs.sandboxpowered.org/scripting-reference/resource-introduction.md): Servers run on a collection of resources. A resource is a collection of files - such as client scripts, server scripts, and assets - that can be started, stopped and restarted at any time.
- [Resource Manifest](https://docs.sandboxpowered.org/scripting-reference/resource-manifest.md): The resource manifest is a file named manifest.toml placed in a resource folder on the server.
- [Creating your first script](https://docs.sandboxpowered.org/scripting-reference/first-script.md)
- [In JavaScript](https://docs.sandboxpowered.org/scripting-reference/first-script/javascript.md)
- [In Python](https://docs.sandboxpowered.org/scripting-reference/first-script/python.md)
- [In Lua](https://docs.sandboxpowered.org/scripting-reference/first-script/lua.md)
- [In Java](https://docs.sandboxpowered.org/scripting-reference/first-script/jvm.md)
- [Events](https://docs.sandboxpowered.org/scripting-reference/events.md): List of internal events Sandbox has


---

# 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://docs.sandboxpowered.org/scripting-reference.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.
