# Farming System

## <mark style="color:yellow;">**Overview**</mark>

A versatile and fully configurable **Farming System** for FiveM that allows players to plant, harvest, process, and sell various crops or resources. With advanced prop handling, AFK farming options, customizable tools/vehicles, and dynamic pricing, this script provides a rich, farm-centric gameplay experience.

## <mark style="color:yellow;">**Key Highlights**</mark>

* **Advanced Prop Farming:** Place props in designated zones with random spawns, controlling how many appear at once.
* **Configurable Requirements:** Tools, vehicles, emotes, and even job restrictions can be defined for each farming point.
* **Processing & Selling:** Convert raw materials into refined goods, then sell them at NPC buyers with dynamic prices.
* **AFK & Manual Modes:** Choose between pressing **E** after each cycle or letting the script handle repeated AFK cycles (cancelable via **X**).
* **Discord Integration:** Generate detailed logs of all farming, processing, and selling activities in your specified Discord channel.

## <mark style="color:yellow;">**Preview Video**</mark>

{% embed url="<https://www.youtube.com/watch?v=_uhPSd8J6iQ>" %}


---

# 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.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.
