Description
A shared organization/gang stash for ESX/QBCore with per-rank deposit and withdraw permissions and a complete audit log of every transfer. The server enforces grade thresholds and records who moved what and when, giving faction leaders a tamper-proof trail to deter insider theft.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
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/crafting/06-org-shared-stash-audit.lua implements grade-gated deposit/withdraw against a job-keyed stash, a capped server-side audit log via record, andβ¦
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 grade check β trusting a client permission flag lets a low-rank cheat withdraw. Read
xPlayer.job.gradeserver-side every time. - Forgeable log β logging in NUI defeats the audit. Call
recordonly in the server handlers. - Deposit dupe β crediting the stash without first verifying+removing the depositor's item duplicates loot. Check
getInventoryItemthenremoveInventoryItembefore crediting.
Corrective re-prompt: "Enforce MIN_DEPOSIT_GRADE/MIN_WITHDRAW_GRADE against xPlayer.job.grade server-side, append every transfer to the server-side audit log only, and on deposit verify the player holds the item and removeInventoryItem before crediting the org stash."
Framework Integration
- ESX:
exports['es_extended']:getSharedObject();xPlayer.job.name/xPlayer.job.gradedrive the key and permissions. - QBCore:
exports['qb-core']:GetCoreObject(),QBCore.Functions.GetPlayer(source); readPlayer.PlayerData.job.grade.level. - QBox:
exports.qbx_core:GetPlayer(source); persist the stash + log to an ox_inventory stash and a DB table for durability.
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 faction-storage niche.
Trend Signal
β rising β [INFERRED] faction servers increasingly demand permissioned org storage with transfer logging to deter insider theft; rising.
Sales Angle
The anti-insider-theft org vault β per-rank permissions plus a tamper-proof audit log faction leaders can actually review. Recommended Tebex price: $99.
Difficulty & Ship Time
advanced Β· ships in 1 day.