๐Ÿง‘โ€๐ŸŒพPlantation System

A comprehensive farming and plantation system for FiveM servers with sprinkler mechanics.

Features

  • Plant various crops (tomatoes, zucchini, pumpkins, potatoes, peppers)

  • Three-stage growth system

  • Water and fertilizer management

  • Automated sprinkler system

  • Plant decay system

  • Rotting mechanics

  • Multi-language support

  • Framework agnostic (supports ESX and QB-Core)

Dependencies

Required:

  • oxmysql

  • One of the supported frameworks:

    • ESX

    • QB-Core

Optional:

  • ox_target or qb-target for targeting system

  • One of the supported inventory systems:

    • ox_inventory

    • core_inventory

    • codem-inventory

    • qb-inventory

Installation

  1. Import the SQL file to your database:

  1. Add to your server.cfg:

  1. Configure the script in config.lua:

  • Set your preferred language

  • Adjust growth rates and timers

  • Configure valid planting areas

  • Customize rewards

  • Set up sprinkler settings

Configuration

The script can be configured through config.lua:

  • Language settings

  • Plant types and growth stages

  • Water and fertilizer items

  • Sprinkler settings

  • Framework detection

  • Inventory system detection

  • Target system detection

Supported Languages

  • English (en)

  • Turkish (tr)

Add more languages by extending the Config.Languages table in config.lua.

Items Required

Seeds:

  • tomato_seed

  • zucchini_seed

  • pumpkin_seed

  • potato_seed

  • pepper_seed

Water Items:

  • drink_water

  • watering_can

Fertilizer Items:

  • fertilizer

  • super_fertilizer

Sprinkler Items:

  • Installation item (configurable)

  • Repair item (configurable)

  • Water refill items (configurable)

Technical Details

The script uses:

  • Database for persistent storage

  • Framework-agnostic design

  • Configurable targeting system

  • Progressive growth system

  • Automated maintenance systems

Support

For support or bug reports, please contact through the marketplace where you purchased the script.

Note: This script uses FiveM's escrow system for protection. Client and server-side code is encrypted.

Detailed Configuration Guide

Basic Settings

Plant Decay System

Sprinkler System Configuration

Plant Configuration Structure

Each plant type follows this structure:

Available Plant Types

  1. Tomato (tomato_seed)

  2. Zucchini (zucchini_seed)

  3. Pumpkin (pumpkin_seed)

  4. Potato (potato_seed)

  5. Green Pepper (pepper_seed)

Water and Fertilizer Items

Valid Ground Types

Progress Bar Settings

Framework Detection

The script automatically detects and configures:

  • Framework (ESX or QB-Core)

  • Target system (ox_target, qtarget, or qb-target)

  • Inventory system (ox_inventory, core_inventory, or codem-inventory)

Customization Tips

  1. Adjust growthPerMinute to control plant growth speed

  2. Modify waterInterval and fertilizerInterval to change resource consumption rates

  3. Customize rewards tables to adjust harvest yields

  4. Add new ground types to ValidGroundHashes for expanded planting areas

  5. Modify Config.Sprinkler settings to adjust automated watering behavior