Description
A business ownership transfer with escrow for ESX or QB: a seller lists a business at a valuation, the buyer's funds are locked in a server-held escrow, and on mutual confirm the money and the deed change hands in one atomic server-side step. Nothing the client does can flip the deed without payment or let a seller double-sell — it is the safe secondary-market sale that few storefronts ship cleanly.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/business/06-ownership-transfer-escrow.lua. It implements a server-owned deal phase machine (listed → funded → closed), a buyer-funded escrow hold,…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Non-atomic transfer — Claude lets the client move money and the deed separately; lock funds into deal.held and pay+flip-deed in one server-side step keyed by dealId.
- Anim before load — the signing
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop. - One-sided net event —
escrow:syncon only one side leaves the counterparty unaware the deal funded; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "In server.lua move the buyer's money into deal.held during escrow:fund, and in escrow:confirm — gated on source==seller and phase=='funded' — pay held to the seller, set businesses[bizId].owner = buyer and phase='closed' in the same handler with no client involvement; refund held on any abort."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); lock funds withxPlayer.removeMoney(price)into the deal and release withaddMoneyto the seller on confirm. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); persist the deed in aplayer_businessesrow and updateownerinside the confirm transaction. - QBox: use
exports.qbx_core:GetPlayer(src); wrap the pay+deed flip in a singleoxmysqltransaction for true atomicity across a restart.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a rising secondary-market niche.
Trend Signal
↗ rising — strategy: Matrix flags ownership-transfer as a compounding secondary-market mechanic few storefronts ship cleanly.
Sales Angle
Position as the safe player-to-player business sale almost nobody ships — escrow prevents the scam that otherwise kills a server's secondary market. Recommended Tebex price $139.
Difficulty & Ship Time
intermediate · ships in 1 day.