gta6/prompts
appearance
Vaultadvancedappearance

Outfit Code Marketplace

QBCore outfit economy where players export their current look to a shareable code and buy/sell those codes at a server-authoritative market terminal.

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

Description

A QBCore outfit marketplace: players walk to a market terminal, export their current outfit into a short shareable code, list any code for sale at a price, and buy listed codes — the purchase debits the buyer, pays the seller and applies the look. It is the compounding, player-driven cosmetic economy that outlasts a flat buy-only clothing shop.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).

🔒 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/appearance/13-outfit-code-marketplace.lua. It implements client-side outfit capture and apply with a terminal browse anim, and a…

🔒 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-trusted market — Claude keeps listings and runs money transfer on the client; a packet mints codes and pays the seller for free. Keep codeStore, listings and AddMoney/RemoveMoney server-side.
  • Apply before round-trip / anim before load — the bought outfit applies before outfit:apply returns, or the browse anim no-ops without RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event — defining outfit:export/outfit:apply on only one side breaks the export-then-apply round-trip; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move all listings, codes and money to the server: store codeStore + listings server-side, and on outfit:buy call Player.Functions.RemoveMoney on the buyer and AddMoney on the seller before TriggerClientEvent('outfit:apply'). The client may only read its own outfit and render what the server returns."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject() and use xPlayer.removeMoney(price) / seller xPlayer.addMoney(price) in the buy handler.
  • QBCore: as written — Player.Functions.RemoveMoney('bank', price, 'outfit-buy') and seller AddMoney('bank', price, 'outfit-sale').
  • QBox: use exports.qbx_core:GetPlayer(src) then player.Functions.RemoveMoney/AddMoney; codeStore and listing logic are identical.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising outfit-economy niche carries compounding demand.

Trend Signal

rising — strategy: A player outfit economy (export/sell codes) is a defensible compounding mechanic beyond commodity buy-only shops.

Sales Angle

The outfit ECONOMY that turns cosmetics into a player-driven market every social-RP server wants — sellable codes, not a flat catalog. Recommended Tebex price $329.

Difficulty & Ship Time

advanced · ships in 1 day.