๐งโ๐พ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
Import the SQL file to your database:
Add to your server.cfg:
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
Tomato (
tomato_seed)Zucchini (
zucchini_seed)Pumpkin (
pumpkin_seed)Potato (
potato_seed)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
Adjust
growthPerMinuteto control plant growth speedModify
waterIntervalandfertilizerIntervalto change resource consumption ratesCustomize
rewardstables to adjust harvest yieldsAdd new ground types to
ValidGroundHashesfor expanded planting areasModify
Config.Sprinklersettings to adjust automated watering behavior