gta6/prompts
jobs
Vaultintermediatejobs

Electrician Job — Grid Outage Repair & Power Restore

QBCore/QBox electrician job: respond to junction-box outages with a wiring minigame that restores a server-owned zone power state and pays on success.

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

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).

🔒 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/jobs/18-electrician-grid-repair-restore.lua. It implements a server-authoritative zonePower table, a job-gated restore that bails if the zone is…

🔒 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-side state — power tracked on the client is trivially spoofed. Keep zonePower server-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 on Player.PlayerData.job.name == "electrician", pay via Player.Functions.AddMoney("bank", ...).
  • QBox: exports.qbx_core:GetPlayer(src); same job-name gate and AddMoney, optionally ox_lib lib.notify and an ox_target junction zone.
  • ESX: getSharedObject(), check xPlayer.job.name, pay via xPlayer.addMoney, notify with esx: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.