gta6/prompts
crafting
Vaultadvancedcrafting

Crafting Skill Progression (XP & Levels)

QBCore crafting proficiency that levels with use to raise success rate, output quality and craft speed — XP, the success roll and rewards all server-authoritative.

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

Description

A working QBCore crafting skill progression system: every craft awards XP toward a proficiency level, and that level raises the success chance, the quality of the output and the speed of the craft. The server owns the XP table, the level curve and the success roll, so the proficiency can't be spoofed. This is the per-player progression spine that deepens paid-RP retention around a crafting economy.

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/crafting/11-crafting-skill-progression.lua. It implements a server-driven craft timer, a per-citizenid XP store with a capped level curve, 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 XP/roll — Claude levels the skill and rolls success locally; a modder forces level 20 and guaranteed crafts. Keep XP, the curve, the roll and rewards on the server.
  • Anim before loadTaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event — defining skill:beginCraft/skill:craftResult on only one side breaks the round-trip; both client and server use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move the entire progression to the server: store xp per citizenid, derive level and success chance there, roll math.random() against it after the server-timed craft, and scale duration, quality and xp by level. The client only plays the anim for the duration the server sends and renders the result."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject(), key skill by xPlayer.identifier, and use xPlayer.getInventoryItem / addInventoryItem with metadata for quality.
  • QBCore: as written — Player.Functions.GetItemByName / RemoveItem / AddItem with a { quality = n } info table, skill keyed by citizenid.
  • QBox: use exports.qbx_core:GetPlayer(src) with ox_inventory metadata for the quality field; the XP and roll logic are identical.

Profit Potential

$300–$3500/mo on Tebex (expected ~$1100). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising per-player progression niche that compounds retention.

Trend Signal

rising — strategy: niche-selection.md compound axis — per-player progression deepens paid-RP retention (rising 4.20-adjacent).

Sales Angle

The retention spine of a crafting economy — every craft levels a skill that makes the next one faster, safer and higher quality. Recommended Tebex price $269.

Difficulty & Ship Time

advanced · ships in 1 day.