vi/raiser
appearance
appearance, GTA 6 style illustration
Vaultintermediateappearance

Job Uniform Locker

ESX/QBCore/QBox locker that auto-equips the correct duty uniform by job and grade with a server-verified on/off-duty toggle.

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

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

Effort vs return
intermediate3-5h

Description

A working job uniform locker: a player on duty walks to their station locker, and the correct uniform for their job and grade is equipped automatically, with a single toggle to drop back to civilian clothes. The job and grade are read server-side so nobody can equip another faction's gear. The selling point is clean ESX/QBCore/QBox parity plus grade-aware outfits, which is the quality bar for this category.

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/10-job-uniform-locker.lua. It implements a proximity duty toggle, a server-side job+grade lookup into a nested uniform table with 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 job, Claude reads job/grade on the client to choose the outfit, letting anyone equip any uniform; do the lookup and selection server-side.
  • Grade ignored, hardcoding one uniform gives every rank the same gear; index by job then grade with a grade-0 fallback.
  • 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 locker:requestUniform/locker:equipUniform on both sides with RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move outfit selection to the server: read Player.PlayerData.job name and grade server-side, index Uniforms[job][grade] with a grade-0 fallback, reject jobs with no set, and only then TriggerClientEvent the chosen outfit. The client must never decide which uniform it is allowed to wear."

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); read job via xPlayer.getJob().name and .grade server-side, then index the same Uniforms table.
  • QBCore: as written, Player.PlayerData.job.name and Player.PlayerData.job.grade.level.
  • QBox: use exports.qbx_core:GetPlayer(src) then player.PlayerData.job; outfit application is identical.

Profit Potential

$150-$2000/mo on Tebex (expected ~$500), priced inside the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo); a stable utility category where multi-framework parity drives the sale.

Trend Signal

→ stable, corpus: Job-grade locker outfits ship with every framework job pack; ESX/QBCore/QBox parity is the quality bar (niches.md Niche 4).

Sales Angle

The universal job locker with true ESX/QBCore/QBox parity and grade-aware outfits, the parity itself is the differentiator. Recommended Tebex price $119.

Difficulty & Ship Time

intermediate · ships in 3-5h.