vi/raiser
business
business, GTA 6 style illustration
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.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~115 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / morising
$1,100($300 to $3,500)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate1-2 days

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), within the $50-389 script band against a corpus of comparable Tebex sellers (median ~$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.