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

# DXS Creator

<figure><img src="/files/msA3ATyvwxBJNr2Qp6uK" alt=""><figcaption></figcaption></figure>

### Dependencies

* FXServer (cerulean)
* `es_extended` or `qb-core` (select via config)
* `oxmysql`
* Optional phone resources for bank notifications: `qs-smartphone`, `qb-phone`, `gksphone`, `gcphone`

### Installation

1. Place the resource in `resources/[dxs]/DXS_creator`.
2. Ensure dependencies are started before this resource.
3. Import `sql/dxs_creator.sql` (optional; tables are also created automatically at runtime).
4. Add to `server.cfg`:

   ```
   ensure DXS_creator
   ```
5. Restart the server.

### Configuration

Edit `config.lua`:

* `Framework`: `esx` or `qbcore`
* `AdminGroup`: ESX group or QBCore permission allowed to use `/creator`
* `EnableNewRobberySystem`: must be `true` to open the creator menu
* `Debug`: enable debug output
* `BlackMoneyType`: QBCore money type used for `black_money` (default: `cash`)

### Commands

* `/creator` - open the creator UI (admin group only)
* `/dv` - delete the closest vehicle
* `/dvadmin` - delete the closest vehicle (admin)
* `/doorinfo` - debug a door entity for the door lock creator

### Data Files

* `html/blips.json` and `html/blipColors.json` for blip UI data.
* `html/vehicle_catalog.json` for dealership catalog and previews.

### Database

* Schema in `sql/dxs_creator.sql`.
* Tables also created automatically on resource start if missing.

### Notes

* `/creator` only opens when `Config.EnableNewRobberySystem = true`.
* When `Framework = qbcore`, vehicles are stored in `player_vehicles` (mods JSON in `mods`).
* Dealership purchases store the selected color in vehicle props for correct paint on spawn.
