gta6/prompts
jobs
Vaultintermediatejobs

Dockworker Job — Container Crane Logistics

ESX dockworker job: operate a crane to move shipping containers between ship, yard and truck, with the server validating each placement and paying per completed move.

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
~98 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

An ESX dockworker job: the player operates a dock crane to lift shipping containers and place them between a ship, the yard stacks and waiting trucks, with the server validating each placement against the target slot before paying per completed move. It carves out the underserved port/crane lane next to the crowded trucking jobs, adding a heavy-industry loop servers can't get from another hauling script.

Prompt Template

You are writing a FiveM resource for esextended (stable, getSharedObject export).

🔒 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

The reference Lua at content/expected-outputs/jobs/27-dockworker-crane-container.lua implements a server-issued slot sequence, a distance-gated crane HUD, and a server-validated placement that…

🔒 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 payout — paying per move on the client lets a modder spam payouts; pay in the server dock:place after validating the slot.
  • Trusted object coords — a client-spawned container that gets teleported can fake a placement; validate against the server's expected active slot, not client coords.
  • Per-frame HUD — drawing the crane control HUD in a Wait(0) loop with no distance gate burns FPS.

Corrective re-prompt: "Track the expected slot sequence server-side and per worker, reject dock:place unless the reported slotId equals the active expected slot for that src, then advance the pointer and addMoney once — never read pay or completion from the client."

Framework Integration

  • ESX: ESX.GetPlayerFromId(source), gate on xPlayer.job.name == "dockworker", xPlayer.addMoney('cash', PAY_PER_MOVE).
  • QBCore: QBCore.Functions.GetPlayer(source), check Player.PlayerData.job.name, Player.Functions.AddMoney('cash', amount).
  • QBox: exports.qbx_core:GetPlayer(source) with the same job gate and AddMoney call.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled for a rising underserved port-logistics niche.

Trend Signal

rising — strategy: Niche-selection matrix: port/crane logistics are underserved versus trucking and add a differentiated heavy-industry crane-operation loop.

Sales Angle

Fill the underserved port/crane gap sitting next to crowded trucking jobs, with a real container-move loop and validated payouts. Recommended Tebex price $169.

Difficulty & Ship Time

intermediate · ships in 1-2 days.