Cuxial Electrician is a job for one to four players who repair the power grid of a region of the map and get paid when they bring the service trucks back. Each kind of fault has its own minigame, and street lamps and utility poles are repaired from a ladder or a lifting platform.
Cuxial Electrician is sold inside Cuxial Job Pack, together with Cuxial Diving and Cuxial Gardener.
What it does
- Five kinds of repair. Transformers, house panels, street lamps, traffic lights and utility poles, picked at random in the chosen region on every job.
- Three minigames. A breaker box tested with a multimeter, traffic light wiring by colour, and wire welding.
- Work at height. Street lamps are reached with a ladder taken from the truck; poles with a platform the crew builds and raises. Both are configurable.
- Traffic light junctions. The lights of a junction flicker until its transformer is fixed; only then can each light be repaired.
- Crews. The owner invites nearby players, picks the region and can split the money by percentage.
- Service trucks. One truck per job, and a second one for larger crews. All of them must come back to get paid.
- Progress. Levels with XP, regions locked by level, daily tasks, job history and ranking.
- One panel. Home, progress, ranking and a guide tab that explains every repair.
- Work clothes (optional) put on at the start of the job and removed at the end.
- Reconnection. A player who drops during a job keeps their seat for a configurable time.
- Logs to a Discord webhook and an audit table in the database.
Requirements
| Resource | Required | Used for |
|---|---|---|
| OneSync | Yes | Server-side trucks, platforms and distance checks |
ox_lib | Yes | Callbacks, commands, key bindings, notifications, locales |
oxmysql | Yes | Profiles, history, ranking and audit |
cuxial_bridge | Yes | Connects to your framework (QBox, QBCore or ESX) |
cuxial_jobs | Yes | Shared library of the Cuxial jobs. Delivered with the script |
sleepless_interact | Yes | Interaction with the job NPC, the repair points, ladders and platforms |
cuxial_garages | No | Gives and removes the keys of the service trucks |
The ladder for street lamps uses a game model added in game build 2944. On older builds the script falls back to a shorter ladder. See Installation.
Pages
InstallationDependencies, convars and start order.ConfigurationEvery option in
shared/config.lua and the editable data files.Commands & permissionsPlayer and staff commands, keys and who can work.Exports & eventsRead a player's crew and level, and react when a job is paid.TroubleshootingCommon problems and how to fix them.