Description
A civic electrician job: an outage knocks a city zone's server-owned power state to false and notifies everyone, then an electrician runs /repairgrid at the affected junction box to play a wiring minigame. The server validates the job and current state before flipping the zone back on for all clients and paying out — live world-state, not a cosmetic prop. A standout utility role for servers chasing civic-RP depth.
Prompt Template
You are writing a FiveM resource for qb-core (exports GetCoreObject).
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 lives at content/expected-outputs/jobs/18-electrician-grid-repair-restore.lua. It implements a server-authoritative zonePower table, a job-gated restore that bails if the zone is…
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-side state — power tracked on the client is trivially spoofed. Keep
zonePowerserver-side and only the server flips it. - Single-client broadcast — notifying only the fixer leaves everyone else on a stale grid. Use
TriggerClientEvent(..., -1, ...). - Farmable repair — paying when the zone is already on lets a player loop one box. Bail unless the zone is currently
false.
Corrective re-prompt: "Move all power state to the server's zonePower table, reject electric:attemptRestore when the zone is already true, and broadcast electric:powerRestored to -1 so every client updates."
Framework Integration
- QBCore:
exports["qb-core"]:GetCoreObject(), gate onPlayer.PlayerData.job.name == "electrician", pay viaPlayer.Functions.AddMoney("bank", ...). - QBox:
exports.qbx_core:GetPlayer(src); same job-name gate andAddMoney, optionally ox_liblib.notifyand an ox_target junction zone. - ESX:
getSharedObject(), checkxPlayer.job.name, pay viaxPlayer.addMoney, notify withesx:showNotification.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising utility-job niche with thin competition supports a premium ask.
Trend Signal
↗ rising — strategy: Niche-selection matrix: utility/civic jobs are underserved versus combat roles and add live world-state (zone power) interactivity.
Sales Angle
Sell as the underserved utility job that adds live world-state — a zone goes dark and the whole city notices. Upsell to server owners chasing civic-RP depth beyond the usual combat roles. Recommended Tebex price $129.
Difficulty & Ship Time
intermediate · ships in 1 day.