> For the complete documentation index, see [llms.txt](https://mi-store.gitbook.io/mistore-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mi-store.gitbook.io/mistore-docs/resources/mi-blackout.md). Agents can also search and read this documentation through its [MCP server](https://mi-store.gitbook.io/mistore-docs/~gitbook/mcp).

# mi\_blackout

Power cuts in Los Santos, zone by zone or the whole city, with hacks, a control room, field repairs, timed outages and an admin panel.

Power cuts in Los Santos, zone by zone or the whole city. Criminals hack a breach key to cut zones, the control room watches the grid from a console, repair crews bring zones back in the field, timed outages run on their own, and admins run everything from a panel.

{% hint style="info" %}
Current version: **2.0.0**
{% endhint %}

## Features

### Criminals

* A `blackout_key` item starts the breaker puzzle. Win it and you get a few minutes of access to cut zones from a map.
* A `blackout_console` item opens the panel again while the access lasts.
* Hack spots can limit where the key works.
* Cut zones stay locked for the control room for a while, and cooldowns stop the same zone from being cut again right away.

### Control room and repairs

* Jobs on duty watch the whole grid from a console (MRPD by default) and cut or restore zones.
* Repair jobs bring a dark zone back at a repair site by wiring its junction box, with the items you set.

### Automation and police

* Timed outages on the in-game hour or the server's clock.
* Police calls through En\_ptools, ps-dispatch or a built-in blip when a key is hacked or a zone is cut.
* Notices to every player when the power goes or comes back.

### Admin panel

* `/blackoutadmin` shows the grid live, the accesses, cooldowns and activity.
* Zones, places (consoles, repair sites, hack spots) and every setting can be changed in the panel. Changes are saved in the database and apply at once.

## Supported setups

|             |                                                                                                                    |
| ----------- | ------------------------------------------------------------------------------------------------------------------ |
| Frameworks  | Qbox, QBCore, ESX, found by itself                                                                                 |
| Required    | `ox_lib`, `oxmysql`                                                                                                |
| Optional    | `ox_target` or `qb-target`, En\_ptools or ps-dispatch, Renewed-Weathersync or qb-weathersync for the in-game clock |
| Inventories | `ox_inventory`, QBCore, ESX                                                                                        |
| Languages   | English, French, Arabic, or any file you add                                                                       |
