[QB/QBX] Plantation
A fully configurable farming system that lets players plant, water, grow, and harvest crops. Supports durability-based tools, growth stages, farm zones, and customizable rewards for every seed type.
Features
The following list are all the things that you can configure for each plant:
Plant System
Max Player Plants – Maximum number of plants a player can grow.
Water Time – Time (in seconds) needed to water a plant.
Water Boost – Growth time reduction (in seconds) when watered.
Render Distance – Distance at which plants are visible.
Target Distance – Interaction distance for plants.
Planting Distance – Maximum distance allowed when planting.
Planting Delay – Delay (in seconds) between planting actions.
Required Tools
Planting Tool – Item needed to plant seeds.
Harvesting Tool – Item needed to harvest plants.
Watering Tool – Item required to water plants.
Destroy Tool – Item used to remove plants.
Durability System
Planting Cost – Durability loss per planting.
Harvest Cost – Durability loss per harvest.
Destroy Cost – Durability loss per plant destroyed.
Watering Cost – Durability loss per watering.
Farm Zones
Blip – Toggle visibility, name, sprite, color, scale, and location.
Zone Points – Polygon coordinates defining the farm area.
Seed Features
Grow Time – Time for seed to fully grow.
Durability Cost – Tool durability lost per interaction.
Proximity – Interaction distance from plant.
Decoration – Cosmetic only, no rewards.
Position – Offset adjustments for placement/preview.
Stages – Growth stages with different models.
Rewards – Items gained when harvested.
Materials – Allowed surfaces for planting (e.g., dirt, grass).
Preview Video
Watch on YouTube
UI shown in the preview is a personal ox_lib customization and not included.
Get Here
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | ~1800 |
Requirements & dependencies | QB/QBX, oxmysql, ox_lib |
Support | Yes |