> For the complete documentation index, see [llms.txt](https://kb.criticalscripts.shop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.criticalscripts.shop/paid-resources/fivem-hall/expansions.md).

# Expansions

`cs-hall` does **NOT** support any streaming services by default, out-of-the-box you can only queue URLs with embeddable video elements (e.g. self-hosted). In addition to that you may use controllers' expansions to expand on the supported media sources at your own risk and discretion, you can find more in our [extra-hac GitHub](https://github.com/criticalscripts-shop/extra-hac/tree/main/cs-hall/controllers) and in our [Discord](https://criticalscripts.shop/discord) community.&#x20;

To install an expansion controller, follow these steps:

{% stepper %}
{% step %}

### Copy all the contents of the controller

Copy all the contents of the controller you wish to install, not the file itself, but its contents.
{% endstep %}

{% step %}

### Open expansions file

Navigate to `cs-hall/client/dui/javascript/controllers/` and open the `expansions.js` file.
{% endstep %}

{% step %}

### Paste the contents of the controller

Paste the contents of the controller in your `expansions.js` file and save it.
{% endstep %}

{% step %}

### Restart the resource

Type `ensure cs-hall` in your server's console.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Please be mindful of the content you stream since your players also stream it through their clients.&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.criticalscripts.shop/paid-resources/fivem-hall/expansions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
