# Installation

1. **Download & Extract**
   * [ ] Obtain the script (e.g., from [<mark style="color:red;">Tebex</mark> ](https://risk-scripts.tebex.io/)).
   * [ ] Place its folder into your <mark style="color:red;">`resources`</mark> directory. For example:

     <mark style="color:red;">**`resources/[local]/farming_system`**</mark>
2. **Add to Server Config**\ <mark style="color:red;">**`ensure farming_system`**</mark>
3. Change <mark style="color:red;">`farming_system`</mark> to the folder’s actual name if it differs.
4. **Verify Dependencies**
   * [ ] **Framework Detection:** The script can automatically detect ESX/QBCore if <mark style="color:red;">`RS.Framework = "auto"`</mark>. Otherwise, manually set <mark style="color:red;">`"esx"`</mark> or <mark style="color:red;">`"qbcore"`</mark> in the config.
   * [ ] **Discord Webhook** (Optional): If you want dynamic price updates or admin logs in Discord, be sure to add your **Webhook URLs** in the config (<mark style="color:red;">`DCConfig.WebhookURL`</mark><mark style="color:red;">,</mark> <mark style="color:red;"></mark><mark style="color:red;">`DCConfig.AdminWebhookURL`</mark>).
5. **Optional Integrations**
   * [ ] If you’re using a custom notification or progress bar system, update the relevant functions in the config (<mark style="color:red;">`RS.notify`</mark><mark style="color:red;">,</mark> <mark style="color:red;"></mark><mark style="color:red;">`RS.CustomProgressBar`</mark>, etc.).

{% content-ref url="/spaces/raV0ahRHt9rGeSXy7pTb/pages/uEgQHpnnZbITZ1FJBSix" %}
[Discord Webhooks](/risk-scripts/discord-integration/discord-webhooks.md)
{% endcontent-ref %}


---

# 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://risk-scripts.gitbook.io/risk-scripts/scripts/farming-system/installation.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.
