gta6/prompts
appearance
Vaultintermediateappearance

Mask Shop with Name-Tag Concealment

QBCore/QBox concealment-headwear shop where a worn mask hides the player's overhead name/ID from other players, with a server-authoritative concealed state.

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

Description

A working mask shop with real consequence: buying and wearing a concealment mask hides your overhead name/ID from every other player until you take it off. The concealed state is owned by the server and broadcast to all clients so the anonymity is genuine, not cosmetic. Crime-RP servers buy this because it converts a generic clothing shop into a defensible identity mechanic.

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/09-mask-shop-nametag-hide.lua. It implements a server-charged mask purchase, the put-on anim + mask component, and a server-owned…

πŸ”’ 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

  • Local-only hide β€” Claude hides the tag only on the wearer's client; everyone else still reads the name. Set the concealed flag server-side and broadcast it to all clients.
  • Client-trusted purchase β€” charging on the client lets the mask be bought free; keep the price check + RemoveMoney server-side.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event β€” define mask:setConcealed/mask:syncConcealed on both sides with RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Make concealment server-authoritative: store each player's concealed bool on the server keyed by source, broadcast mask:syncConcealed to -1 on every change and on drop, and have every client render gamer tags from that synced table. The wearer's local view must never be the source of truth."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject() and xPlayer.removeMoney(price); the concealed-state broadcast logic is identical.
  • QBCore: as written β€” exports['qb-core']:GetCoreObject() and Player.Functions.RemoveMoney('cash', price, 'mask-shop').
  • QBox: use exports.qbx_core:GetPlayer(src) then player.Functions.RemoveMoney('cash', price); broadcast and gamer-tag logic unchanged.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a defensible crime-RP mechanic sustains steady demand.

Trend Signal

β†’ stable β€” strategy: Crime-RP differentiation: mask-driven nametag hide scores on the Defensibility axis vs a generic clothing shop.

Sales Angle

The crime-RP anonymity mechanic a plain clothing shop can't offer β€” a mask that actually hides your identity from everyone. Recommended Tebex price $139.

Difficulty & Ship Time

intermediate Β· ships in 4-6h.