gta6/prompts
jobs
Vaultbeginnerjobs

Farming Job — Crop Cultivation & Market Sales

ESX farming job with a server-tracked growth timer — plant and tend a plot to advance stages, harvest when ripe, and sell crops at market with server-authoritative payouts.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~100 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A beginner-friendly ESX farming job: the player plants and tends a field plot whose growth advances through server-tracked stages, harvests once the crop is ripe, and sells the yield at market. It sells because an agriculture growth-timer loop is a low-barrier onboarding job nearly every roleplay economy wants as a starter income source.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports-based…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

See content/expected-outputs/jobs/13-farming-crop-growth-harvest.lua. It implements plant/tend → server-tracked growth → harvest-when-ripe → market sale, with the stage table on the server and…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-side growth — the stage must be authoritative on the server, never a client variable.
  • Anim before dict load — wait on HasAnimDictLoaded.
  • Leaked growth entries — clear the per-source table on playerDropped.

Corrective re-prompt: "Players are harvesting instantly. Move the growth stage into a server-side table keyed by source, increment it only inside the tend handler, and reject the harvest event whenever the stored stage is below STAGES_TO_RIPE."

Framework Integration

  • ESX: uses ESX.GetPlayerFromId, addInventoryItem / getInventoryItem / removeInventoryItem / addMoney as written.
  • QBCore: swap to QBCore.Functions.GetPlayer, Player.Functions.AddItem / RemoveItem, AddMoney("cash", payout).
  • QBox: resolve via exports.qbx_core:GetPlayer(source) and move crops through ox_inventory exports.

Profit Potential

$100–$1400/mo on Tebex (expected ~$350). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled to a stable starter-economy niche.

Trend Signal

stable — inferred: Agriculture growth-timer loops are a perennial low-barrier starter staple of RP economies; consistent demand.

Sales Angle

Sell it as the plug-in starter economy — a gentle first job that teaches new players the gather/sell loop. Cheap, broad appeal, high install volume. Recommended Tebex price $59.

Difficulty & Ship Time

beginner · ships in 2-4h.