gta6/prompts
business
Vaultintermediatebusiness

Business Auction House

ESX/QB/QBox timed auction house where players list businesses, vehicles or items for sale and bid live against each other, with the server owning every lot, the high bid and settlement.

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

Description

A timed auction house for ESX, QBCore or QBox: any player lists a business, vehicle or item with a starting bid and duration, and others bid live against each other until the clock runs out and the server settles the sale. Servers buy it as the competitive secondary-market layer that turns idle player assets into an engagement-driving, money-sinking event.

Prompt Template

You are writing a FiveM resource for esextended (exports getSharedObject).

πŸ”’ 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 lives at content/expected-outputs/business/26-business-auction-house.lua. It implements a server-owned lots table with an incrementing id, a bid handler that rejects stale or…

πŸ”’ 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-tracked high bid β€” clients disagree on the winner when the high bid lives client-side; keep the lot, high bid and timer server-authoritative and broadcast.
  • No re-check at settle β€” a winner who spent their cash mid-auction settles for free; re-verify the buyer's bank at settlement time.
  • One-sided sync β€” auction:sync on one side leaves other bidders on a stale board; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Keep lots, highBid, highBidder and endsAt in server.lua only, broadcast auction:sync to -1 after every accepted bid, and in the settle tick re-check the winner's bank before debiting them and crediting the seller β€” reject any bid that doesn't beat the server's current highBid."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); settle with buyer.removeAccountMoney('bank', amount) and seller.addAccountMoney('bank', amount) resolved via GetPlayerFromIdentifier.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); use Player.Functions.RemoveMoney('bank', amount) / AddMoney and resolve the seller via GetPlayerByCitizenId.
  • QBox: use exports.qbx_core:GetPlayer(src); persist open lots to oxmysql so an auction survives a restart mid-bid.

Profit Potential

$300–$3500/mo on Tebex (expected ~$1100). [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 β€” inferred: Open competitive bidding (vs private sale) inferred rising from secondary-market demand.

Sales Angle

Position as the competitive-bidding layer servers bolt onto an existing player economy β€” it drives engagement and acts as a money sink. Recommended Tebex price $129.

Difficulty & Ship Time

intermediate Β· ships in 1-2 days.