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

# Installation

Follow these steps in order. Skipping the dependency or item steps is the most common cause of a broken install.

#### 1. Extract

Place both resources in your server's resources folder:

```
resources/[aty]/aty_restaurant
resources/[aty]/aty_restaurant_assets
```

Keep the folder name **`aty_restaurant`** exactly — exports and NUI paths depend on it.

#### 2. Install dependencies

Make sure these are started **before** `aty_restaurant`. See Dependencies for details.

* `aty_lib`
* `aty_restaurant_assets`
* `oxmysql`
* `ox_lib`
* A target resource (`ox_target` or `qb-target`)

#### 3. Import the database

Import `data/install.sql` into your MySQL database. It creates all `aty_restaurant*` tables.

#### 4. Add the inventory items

Copy the item definitions into your inventory. See Inventory Items.

* **ox\_inventory** → `items/ox_items.lua`
* **qb-core** → `items/qb_items.lua`

Also copy the item images into your inventory's image folder.

#### 5. Start order

Add to your `server.cfg` in this order:

```cfg
ensure oxmysql
ensure ox_lib
ensure ox_target        # or qb-target
ensure aty_lib
ensure aty_restaurant_assets
ensure aty_restaurant
```

#### 6. Create your first restaurant

In-game, as an admin, run **`/restaurantadmin`** and follow the on-screen builder wizard. See Creating a Restaurant.

{% hint style="success" %}
That's it — the whole restaurant (zone, stations, props, blip) is built live in-game and stored in the database. No mapping or config edits required.
{% endhint %}

#### Verifying the install

* `/restaurantadmin` opens the admin builder → admin permission + resource are working.
* Items appear in inventory when given → your item + image install is correct.
* Cooking a raw item and taking it works → framework/inventory bridge is wired.

If something fails, check the server & F8 console and see Troubleshooting.
