Commands
Bablo Electrician Job registers a handful of chat commands, most of them with a key binding. Some names and keys come from config.lua, so your server may use different ones. The defaults are shown here. Everything else is done at the dispatcher, at the boxes and in the menus.
| Command | Default | Key | Who | Set in |
|---|---|---|---|---|
| Answer a crew invitation | /electrician | F7 | Every player | Config.Command |
| Show the tip for the current step again | /electrichelp | Every player | Config.Tutorial.command | |
| Close the tip on screen | /electrichelpdismiss | F6 | Every player | Config.Tutorial.dismissKey |
| Hide or show the mission panel | /electricianhud | I | Every player | Config.MissionHud.toggleKey |
| Move and resize the mission panel | /editelectricui | Every player | Config.MissionHud.movable | |
| Open the route creator | /electriceditor | Players with the ACE in Config.Placement.ace | Config.Placement | |
| List and settle unpaid payouts | electricpayments | Server console only | Fixed |
The work order menu has no command. It only opens at the dispatcher, with Electrician work orders. See Work Orders.
/electrician
Answers a crew invitation. It is bound to F7.
/electricianA new invitation pops up in the middle of the screen by itself and takes the mouse, so the player can click Join crew or Decline right away. A player who closed it with Escape still sees the invitation until it runs out, with the hint F7 to respond. The command gives them the mouse back.
While the work order menu is open, the command closes it. Without an invitation it does nothing.
The name comes from Config.Command. The F7 default is set in the script. See Command and Crews & Invites.
/electrichelp
Shows the tip for the step you are on again, also when you have seen it before.
/electrichelpIt only works during a repair, while you read the box or work on it. At any other time it does nothing. See First-Time Tips.
The name comes from command in Config.Tutorial. With enabled = false there, the command does not exist. See Tutorial.
/electrichelpdismiss
Closes the tip on screen. It is bound to F6.
/electrichelpdismissThe name is fixed. The default key comes from dismissKey in Config.Tutorial. With enabled = false there, the command does not exist.
/electricianhud
Hides the Mission Progress panel, or shows it again. It is bound to I.
/electricianhudIt does nothing during a repair, while the work order menu is open and while the panel is being moved. The name is fixed. The default key comes from toggleKey in Config.MissionHud, and the panel shows that key next to Hide progress. See Mission HUD & Waypoints.
/editelectricui
Lets a player move and resize the Mission Progress panel.
/editelectricuiThe menu closes and the Mission HUD Editor opens. When no work order is running, a sample panel is shown.
| Action | How |
|---|---|
| Move the panel | Drag it. |
| Resize the panel | Drag the corner handle, or use the mouse wheel. The size goes from 60% to 180%. |
| Back to the default place and size | Reset. |
| Save and close | Done, or Escape. |
The place and size are saved in the player’s own game, so every player sets up their own panel.
It does nothing during a repair or while the route creator is open. With movable = false in Config.MissionHud it does nothing at all. The name is fixed. See Mission HUD.
/electriceditor
Opens the route creator, where you build service routes and place their boxes in the world. See Route Creator.
/electriceditorOnly players with the ACE in Config.Placement.ace (default command.electricplacer) can use it. The server checks it each time the creator loads, saves or deletes. Everyone else gets You do not have permission to use the electrician placer. Give the ACE in server.cfg:
add_ace group.admin command.electricplacer allowYou also have to be on foot (Leave your vehicle before opening the creator.), in the main world and not in the middle of a repair.
The name comes from command in Config.Placement. /electriceditor and /electricplacer always open the creator as well. With enabled = false there, none of them exist. See Placement.
electricpayments
A server console command for payouts that were not paid. Type it in the server console or the txAdmin live console. Used in game it does nothing.
Every payout is written down on the server before it is paid. It is paid as soon as the player is online on that character, and tried again every 5 seconds until then. A payout only needs you when something went wrong while paying it.
Listing unpaid payouts
electricpaymentsPrints one line for every payout that is not paid yet:
<reference> | <state> | <character identifier> | <amount> <account>| State | Meaning |
|---|---|
pending | Waiting to be paid. Paid automatically when the player is online on that character. A payout the framework refused goes back to this state and is tried again. |
in_flight | Being paid right now. |
review_required | Something went wrong while paying, for example the framework gave an error or the server stopped in the middle. It is never tried again by itself. |
When a payout needs review, the player gets Your payment needs administrator review. Reference: <reference> and the console prints [bablo-electricjob] Payment <reference> needs administrator review: <reason>. When the resource stops, every unpaid payout is printed as well.
Settling a payout
Check in your framework whether the money arrived, then settle the payout:
electricpayments resolve <reference> paid
electricpayments resolve <reference> retry| Word | What it does |
|---|---|
paid | Marks the payout as paid without paying anything. Use it when the money did arrive, or when you paid the player yourself. |
retry | Puts the payout back to pending, so it is paid again. |
Only payouts in the review_required or in_flight state can be settled. The console answers [bablo-electricjob] Payment resolution: true when it worked and false when it did not, for example because the reference is wrong.
Only use retry when you are sure the money did not arrive, or the player is paid twice.
See Payouts.
Keys
| Key | Used for | Changed in |
|---|---|---|
F7 | Answer a crew invitation | Key bindings |
F6 | Close the tip on screen | Config.Tutorial.dismissKey |
I | Hide or show the mission panel | Config.MissionHud.toggleKey |
E | The options at the dispatcher and at the boxes when no target resource runs | Fixed |
| Escape or Backspace | Leave a repair | Fixed |
Players can change the first three under Settings → Key Bindings → FiveM, where they are listed as Electrician - answer a crew invitation, Electrician - dismiss tutorial tip and Electrician — hide/show mission progress.
FiveM saves a key binding for each player the first time they join. Changing the default key in config.lua later only reaches players who never had the binding.
The keys of the placement camera are on Route Creator.

