gta6/prompts
economy
Coreintermediateeconomy

Salary Tiers Per Job Grade

QBCore salary-tier table with a GetSalary export, a player-facing lookup callback, and an admin command to patch grade salaries live.

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

Description

A QBCore salary-tier definition resource: it owns one table mapping job and grade to a salary, exposes a GetSalary export for the paycheck system to call, lets a player check their own tier with /salary, and gives admins a restricted /setsalary to tune values live. Centralising salaries here keeps the numbers in one place instead of scattered across scripts.

Prompt Template

You are writing a FiveM resource for qb-core.

πŸ”’ 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 at content/expected-outputs/economy/07-salary-tiers-per-grade.lua defines the tier table, a numeric getSalary with grade-0 fallback, a GetSalary export, a salary:mine callback, an…

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

  • Scattered numbers β€” inlining salaries at each call site makes tuning impossible. Require one table behind a GetSalary export.
  • String grade keys β€” grade.level is numeric; string keys never match. Require numeric indexing.
  • Open admin command β€” an ungated /setsalary is a self-enrichment exploit. Require the "admin" permission in QBCore.Commands.Add.
  • Unknown-grade crash β€” no fallback errors on a new grade. Require tier[grade] or tier[0] or 0.

Integration Notes

server.lua owns the table/export/admin command; client.lua is just /salary. Declare both in fxmanifest.lua; depends on qb-core. The paycheck resource calls exports['salary-tiers']:GetSalary(job, grade). Test: /salary as a graded cop shows the right tier; /setsalary police 2 999 as admin updates it; the same command as a non-admin is rejected.

Profit Potential

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

Trend Signal

β†— rising β€” [INFERRED] banking/economy is core RP-server infrastructure, steady demand.

Sales Angle

Position as economy infrastructure for QBCore/QBox β€” every paycheck reads one salary table through an export, and admins retune grades live without a restart. Recommended Tebex price: $59.

Difficulty & Ship Time

intermediate Β· ships in 2-4h.