> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thecruxstudio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Advanced Auto Serve: FiveM Restaurant Automation Script

> Automate your FiveM restaurant with offline purchasing, automated sales, and advanced inventory control — perfect for job-based cafés and food businesses.

The Advanced Auto Serve System is a powerful FiveM restaurant automation script designed for job-based shops, cafés, and food businesses. It enables offline purchasing, automated sales, and advanced inventory control — perfect for immersive roleplay servers where you want your business to keep running even when staff aren't online.

## Features

* **Offline Purchasing** — Customers can purchase food and drinks from kiosks and automated points even when no employee is on duty, keeping your business active around the clock.
* **Automated Sales** — Sales process automatically without requiring a staff member to manually fulfill each order, reducing the need for constant player supervision.
* **Advanced Inventory Control** — Track and manage ingredient stock levels with a full inventory control layer, ensuring items are available and orders can be fulfilled.
* **Job-Based Integration** — Works alongside UWU Cat Café Job V2 and other job scripts, extending their functionality with hands-off automation.
* **Multi-Framework Support** — Compatible with QBCore, QBox, and ESX out of the box.

## Installation

<Steps>
  <Step title="Install Dependencies">
    Download and install the following dependencies before adding the script to your server:

    * [oxmysql v2.12.0](https://github.com/overextended/oxmysql/releases/tag/v2.12.0)
    * [ox\_lib v3.30.6](https://github.com/overextended/ox_lib/releases/tag/v3.30.6)
    * `crux_lib` — included in your script download.
  </Step>

  <Step title="Configure the Script">
    Open `config/config.lua` and configure the script to match your server setup. Set your framework, job name, kiosk locations, menu items, and pricing.
  </Step>

  <Step title="Add Items to Your Inventory">
    Open the `install` folder and add all items and their images to your inventory system. The script uses the same item set as UWU Cat Café V2.

    * **qb-inventory** — Copy items into `qb-core/shared/items.lua` and images into `qb-inventory/html/images`.
    * **ox\_inventory** — Copy items into `ox_inventory/data/items.lua` and images into `ox_inventory/web/images`.
    * **qs-inventory** — Copy items into `qs-inventory/` and images into `qs-inventory/html/images`.
    * **tgiann-inventory** — Copy items into `qb-core/shared/items.lua` and images into `qb-inventory/html/images`.

    See the `README` inside the script for the full item list formatted for each inventory system.
  </Step>

  <Step title="Ensure Resources">
    Add the following lines to your `server.cfg`:

    ```
    ensure ox_lib
    ensure crux_lib
    ensure crux-uwucafetv
    ensure crux-uwucafekiosk
    ensure crux-uwucafebag
    ensure crux-uwucafejobv2
    ```
  </Step>
</Steps>

## Integrations

Advanced Auto Serve supports the same broad range of third-party scripts as the rest of the Crux Studio Advanced Series, including `ox_target`, `qb-target`, all major notify scripts, and the most popular inventory systems.

| Category   | Officially Supported        |
| ---------- | --------------------------- |
| Eye Target | ox\_target, qb-target       |
| Notify     | crux\_notify, qb, ox, esx   |
| Inventory  | ox\_inventory, qb-inventory |

<Info>
  For the full compatibility table including all supported and community-tested scripts, see the [UWU Cat Café V2 Integrations](/restaurant-v2/uwu-cat-cafe-v2-integrations) page — Advanced Auto Serve shares the same integration coverage.
</Info>
