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

# Installation

## Requirements

1. [ox\_lib](https://github.com/overextended/ox_lib/releases/)
2. [oxmysql](https://github.com/overextended/oxmysql/releases)
3. [esx](https://github.com/esx-framework/esx_core) / [qbcore](https://github.com/qbcore-framework/qb-core)

## Installation

1. Download the latest script on [keymaster.fivem](https://keymaster.fivem.net) & unzip <mark style="color:green;">**yeva\_plantfarm**</mark>
2. Drag script into your resources folder, for example on `[qb]` or `[esx_addons]` folder.&#x20;
3. Add **Items** into you Inventory Scripts *(check on downloaded file)*
4. Ensure **yeva\_plantfarm** on you server config.
5. Import `sql.sql` to your database server.

## SQL File

```sql
CREATE TABLE `plant_farming` (
  `id` INT(11) NOT NULL AUTO_INCREMENT, 
  `player` VARCHAR(225) NULL DEFAULT NULL, 
  `level` INT(11) NULL DEFAULT '1', 
  `type` VARCHAR(50) NULL DEFAULT NULL, 
  `coord` LONGTEXT NULL DEFAULT NULL, 
  `metadata` LONGTEXT NULL DEFAULT NULL, 
  PRIMARY KEY (`id`)
);
```
