> For the complete documentation index, see [llms.txt](https://savana.gitbook.io/savanascripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://savana.gitbook.io/savanascripts/scripts/farming-job/installation.md).

# Installation

{% hint style="success" %}
Supports all frameworks.
{% endhint %}

## **Step 1: &#x20;**<mark style="color:violet;">**Download Resource**</mark>

<mark style="color:$info;">Extract the zip you downloaded from</mark> [<mark style="color:violet;">cfx.re portal</mark>](https://portal.cfx.re/assets/granted-assets) <mark style="color:$info;">and place the</mark> <mark style="color:violet;">savana-farmingjob</mark> <mark style="color:$info;">folder inside</mark> <mark style="color:$info;">the</mark> <mark style="color:violet;">\[savana]</mark> <mark style="color:$info;">folder in your resources directory.</mark>

## Step 2: <mark style="color:violet;">Download Requirements</mark>

[<mark style="color:violet;">ox\_lib (github)</mark>](https://github.com/overextended/ox_lib/releases/tag/v3.37.2) <mark style="color:$info;">(It must run before all other scripts.)</mark>

[<mark style="color:violet;">PolyZone (github)</mark>](https://github.com/mkafrin/PolyZone) <mark style="color:$info;">(It should start before the savana-farmingjob script)</mark>

## Step 3: <mark style="color:violet;">Install SQL File (with database app)</mark>

```sql
CREATE TABLE IF NOT EXISTS `savana_farming` (
  `id` int(11) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `owner` varchar(50) DEFAULT NULL,
  `owner_name` varchar(50) DEFAULT NULL,
  `workers` longtext DEFAULT NULL,
  `crops` longtext DEFAULT NULL,
  `water_tank` int(11) DEFAULT NULL,
  `fertilizer_tank` int(11) DEFAULT NULL,
  `level` int(11) DEFAULT NULL,
  `exp` int(11) DEFAULT NULL,
  `plow_level` int(11) DEFAULT NULL,
  `upgrades` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
```

## Step 4: <mark style="color:violet;">Setup Images & Itemlist</mark>&#x20;

{% tabs %}
{% tab title="Item List" %} <mark style="color:$info;">Check savana-farmingjob/invetory folder</mark>

<mark style="color:$info;">Example:</mark>&#x20;

```lua
    ['mushroom_seed'] = {
        label = 'Mushroom Seed',
        weight = 200,
        stack = true,
        close = true,
        description = 'Nice to eat',
        client = { image = 'mushroom_seed.png' }
    },
```

{% endtab %}

{% tab title="Images" %} <mark style="color:$info;">Check savana-farmingjob/invetory folder</mark>
{% endtab %}
{% endtabs %}

## Step 5: <mark style="color:violet;">Set configs</mark>

{% embed url="<https://savana.gitbook.io/savanascripts/scripts/farming-job/config>" %}

## Step 6: <mark style="color:violet;">Ensure Script</mark>

<mark style="color:$info;">Enable the savana-farmingjob script in server.cfg and restart your server</mark>


---

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

```
GET https://savana.gitbook.io/savanascripts/scripts/farming-job/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.
