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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$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β¦
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$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().nameserver-side and compare to the skin's required job. - QBCore: check
Player.PlayerData.job.nameviaQBCore.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). [INFERRED] priced in the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), 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.