# installation

## Requirements

* FiveM server running **cfx-server-data** (artifact 5181+)
* One supported framework: **QBCore**, **ESX**, or standalone **ox**
* One supported target system *(optional)*: `qb-target`, `ox_target`, `qtarget`, or `interact`
* One supported notification system *(optional)*: `ox_lib`, `mythic_notify`, or framework default

## Steps

{% stepper %}
{% step %}

#### Copy the resource folder

Copy the resource folder into your `resources/` directory.
{% endstep %}

{% step %}

#### Add the resource to `server.cfg`

Add `ensure moh-vipshowroom` to your `server.cfg`.
{% endstep %}

{% step %}

#### Configure `config.lua`

Open `config.lua` and set at minimum:

* `Config.ShowroomCoords` — where the ped spawns
* `Config.TestDriveSpawn` — where the test drive vehicle spawns
* `Config.DiscordWebhook` — your webhook URL for purchase logs (leave `""` to disable)
  {% endstep %}

{% step %}

#### Set the systems

Set `Config.Framework`, `Config.TargetSystem`, and `Config.NotifySystem` to `"auto"` or pin them manually (see Compatibility).
{% endstep %}

{% step %}

#### Restart the server

Restart the server or run `refresh` + `start vip-showroom` in the console.
{% endstep %}
{% endstepper %}

## Dependency Notes

* If you use `ox_lib` notifications, uncomment `dependency 'ox_lib'` in `fxmanifest.lua`.
* No SQL, no items, no economy required — the script is display-only until you process purchases manually via Discord tickets.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mohssins.gitbook.io/mohscriptsdocs/moh-vipshowroom/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
