> For the complete documentation index, see [llms.txt](https://mic-scripts.gitbook.io/mic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mic-scripts.gitbook.io/mic/documentation/shop-creator.md).

# Shop Creator

{% hint style="info" %}
💬 **Need help?** Support, updates and changelogs are on the [**Mic Scripts Discord**](https://discord.gg/86FPzAV73B). Open a ticket with your Tebex transaction ID and the console error.
{% endhint %}

<a href="https://discord.gg/86FPzAV73B" class="button primary">💬 Join the Discord</a> <a href="https://mic.tebex.io/" class="button secondary">🛒 Get it on Tebex</a>

{% embed url="<https://www.youtube.com/watch?v=V2xDZbexkyA>" %}

## What is mic\_shopcreator?

**mic\_shopcreator** builds shops in game. Open the panel, name a shop, place its shopkeeper where you are standing, and fill it with items and prices. Players walk up to the shopkeeper and buy — no config file edited, no restart.

Any shop can also be handed to players. Owners stock it from their own pockets, keep the takings in a vault, and hire staff who earn a commission on what they sell. And any shop can be robbed at gunpoint, with the police told where.

### Key features

* **Built in game** 🛠️\
  Create, rename and delete shops from `/shopcreator`. Place the shopkeeper with a live preview, choose the ped model and dress it.
* **As many locations as you like** 📍\
  One shop, several shopkeepers around the map, each with its own position and model.
* **Blips** 🗺️\
  Per shop: on or off, icon, colour, size and name.
* **Products, categories and payment** 💳\
  Price, category and how it may be paid: cash, bank, black money, all three, or cash and bank. Players choose the quantity.
* **Job-only shops** 👮\
  Restrict a shop to one or more jobs, each with a minimum grade.
* **Owned by players** 💼\
  Owners stock the shelves from their own inventory, set prices, and keep sales in a vault with separate clean and black-money balances.
* **Employees on commission** 🤝\
  Owners hire players standing nearby. Each employee gets a commission percentage on their sales, paid into a personal vault they withdraw to cash or bank.
* **Robberies** 🔫\
  Aim at the shopkeeper and hold it. Duration, cooldown and rewards per shop — items, or money as a fixed amount or a random range. On owned shops the money can come out of the vault.
* **Police alerts** 🚨\
  The jobs you list get a notification and a blip, or plug in your own dispatch in the bridge.
* **Discord logs** 📋\
  Per shop: purchases, robberies, stock changes and hires and firings, with a screenshot if you run `screenshot-basic`.
* **Twelve languages** 🗣️\
  English, Spanish, French, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese (Simplified), Arabic and Dutch — in game and in the panels.
* **Open where it matters** 🔓\
  `config.lua`, the four bridge files and the locales are left unencrypted.

### What you need

|                                 |                                                                                      |
| ------------------------------- | ------------------------------------------------------------------------------------ |
| **Framework**                   | ESX (`es_extended`), QBCore (`qb-core`) or QBox (`qbx_core`), chosen in `config.lua` |
| **oxmysql**                     | Shops, products, owners, employees and vaults live in your database                  |
| **Inventory**                   | Your framework's own, or `ox_inventory` (used directly when it is running)           |
| **Target** (optional)           | `ox_target` (the default) or `qb-target`; or none, with a help prompt and **E**      |
| **screenshot-basic** (optional) | For screenshots on Discord logs                                                      |

### Where to go next

| Page                                                                     | What is in it                                                           |
| ------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| [🪛 Installation](/mic/documentation/shop-creator/installation.md)       | The SQL file, the permission, and your first shop                       |
| [🎨 Customization](/mic/documentation/shop-creator/customization.md)     | Every option in `config.lua`, the languages, the bridge and the exports |
| [🏪 Building a shop](/mic/documentation/shop-creator/shops.md)           | Every section of the panel, owners, employees, vaults and robberies     |
| [🩺 Troubleshooting](/mic/documentation/shop-creator/troubleshooting.md) | No images, the panel will not open, owners who are not owners           |
