vi/raiser
appearance
appearance, GTA 6 style illustration
Vaultintermediateappearance

Restricted-Skin Whitelist Enforcer

ESX/QBCore/QBox anti-exploit guard that restricts restricted skins (police/EMS) to authorized jobs only and reverts unauthorized players server-side.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~88 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 / mostable
$520($150 to $2,000)

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

Effort vs return
intermediate2-4h

Description

An anti-exploit guard that maps restricted skins (police/EMS uniforms) to authorized jobs and, when an unauthorized player is detected wearing one, reverts them server-side. Checks fire on equip, on spawn, and on a periodic sweep so players can't slip a restricted skin past the gate.

Prompt Template

Write a FiveM Lua resource that enforces a restricted-skin whitelist, targeting <esx|qbcore|qbox via its exports (never hardcode the framework global).

🔒 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

See content/expected-outputs/appearance/29-uniform-whitelist-enforcer.lua, implements server-side job verification on equip + a periodic sweep and a load-guarded client revert for unauthorized…

🔒 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-side job checks are spoofed; verify the real job server-side.
  • Spawn-time wearers bypass an equip-only check.
  • The revert swaps the model before it loads, breaking the ped.

Corrective re-prompt: "Players still wear restricted uniforms by spoofing the client. Move all job verification server-side using the framework job API, add a spawn-time and periodic sweep, and guard the revert with RequestModel/HasModelLoaded. Return corrected client.lua and server.lua."

Framework Integration

  • ESX: read the job with xPlayer.getJob().name server-side and compare to the skin's required job.
  • QBCore: check Player.PlayerData.job.name via QBCore.Functions.GetPlayer(src) before allowing the skin.
  • QBox: resolve exports.qbx_core:GetPlayer(src) and read the job from qbx player data.

Profit Potential

$150-$2000/mo on Tebex (expected ~$520), priced in the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), scaled for a stable admin-tooling niche.

Trend Signal

→ stable, strategy: Restricted-skin whitelist enforcer is an anti-exploit utility servers pay for; admin-tooling niche (niches.md Niche 5).

Sales Angle

Position as the anti-exploit guard that keeps job uniforms exclusive. Recommended Tebex price $99.

Difficulty & Ship Time

intermediate · ships in 2-4h.