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

# ESX

## Overview

Use this page for ESX Legacy-style servers. Some resources are QBCore-focused by default, so check each resource page before enabling everything.

## Base Ensure Order

```cfg
ensure es_extended
ensure oxmysql
ensure ox_lib
ensure xsound
ensure bob74_ipl
ensure screenshot-basic

ensure reddev_devtablet
ensure reddev_music
ensure drug_creator
ensure garage_creator
ensure doors_creator
ensure vehicle_radio_disabler
ensure reddev_housecreator_props
ensure reddev_housecreator
```

## SQL

* REDDEV Development Tablet: import `reddev_devtablet/install/reddev_devtablet.sql`.
* REDDEV garage metadata: import `reddev_devtablet/install/reddev_garage_system.sql` if using the REDDEV garage metadata system.
* Garage Creator: import `garage_creator/install/run-esx.sql`.
* Door Creator: run `doors_creator/sql/doors.sql` and `doors_creator/sql/doors_buildings.sql` if auto-creation is blocked.
* Drug Creator: import `drug_creator/sql/drug_creator.sql`.
* House Creator: run `[sql]/first_run_database_schema/reddev_housecreator_esx_all_in_one_RUN_FIRST.sql`.
* Music and Drug Creator item guides include ESX item SQL examples.

## Configuration Notes

* `reddev_devtablet` supports `Config.Framework = 'auto'` or `esx`.
* `garage_creator` supports ESX in `Config.Framework`.
* `reddev_housecreator` detects `es_extended`.
* `reddev_music` supports `ReddevMusic.framework = 'esx'`.
* `drug_creator` supports `Config.Framework = 'esx'`.
* `ammo_boxes` and the visible bodybag config are QBCore-focused; review before using them on ESX.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://reddev-development.gitbook.io/reddev-development-docs/qbcore/esx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
