Description
A server-wide credit rating for roleplay servers: each player carries a clamped score that rises with repayments and drops on defaults, with a server export other resources call to gate loan, rent and financing approval. Servers sell it because it's the consequence layer that makes debt matter — one shared score every financial script can read.
Prompt Template
You are writing a FiveM resource for qb-core (QBox notes below).
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
The reference Lua at content/expected-outputs/economy/15-credit-score-rating-system.lua keeps a clamped per-citizenid score that adjusts on repaid/default events and exposes an IsEligible server…
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-stored score — a score the client holds can be edited. Keep
scoreson the server and clamp on every adjust. - Trusting a passed score — an export that reads a client score is forgeable. Resolve from citizenid inside the export.
- Dropped updates — handlers without AddEventHandler silently miss repaid/defaulted. Register both.
Corrective re-prompt: "Move the score table fully server-side, clamp every change to [300,850], and make exports('IsEligible', function(src, product) ... end) resolve the score via GetPlayer(src).PlayerData.citizenid rather than accepting any score argument from the caller's client."
Framework Integration
ESX: not targeted; if porting, key scores by identifier and expose the same IsEligible export.
QBCore: as written — GetPlayer, scores keyed by citizenid, gated via the IsEligible export.
QBox: swap to exports.qbx_core:GetPlayer(src); the IsEligible export signature and citizenid keying are unchanged.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] Priced inside the $50-389 script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo); a rising niche as the scoring layer financial scripts lack.
Trend Signal
↗ rising — inferred: Standalone credit-score scripts are rare; reasoned demand as the scoring layer loan/rent/insurance products lack. qb metadata fits per-player scores.
Sales Angle
Sell it as the dependency other creators need — the shared score every loan, rent and insurance script reads through one export. Recommended Tebex price: $159.
Difficulty & Ship Time
intermediate · ships in 2-4h.