> For the complete documentation index, see [llms.txt](https://rtx-dev.gitbook.io/rtxdev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rtx-dev.gitbook.io/rtxdev/dj-system.md). Agents can also search and read this documentation through its [MCP server](https://rtx-dev.gitbook.io/rtxdev/~gitbook/mcp).

# DJ System

Documentation for RTX DJ System, the FiveM DJ Script for ESX, QBCore and QBox: installation, configuration, commands, exports and FAQ.

{% embed url="<https://www.youtube.com/watch?v=lZoCMWTbteg>" %}

## Purchase

[Purchase this resource](https://rtx.tebex.io/package/7050688)

## Installation

{% hint style="info" %}
**Framework compatibility**

This resource is **standalone** and works on any FiveM server.

Compatible with **ESX**, **QBCore**, **QBox**, **vRP**, and other frameworks.

If you are using a framework other than ESX, QBCore, or QBox, follow the **Standalone** installation instructions.
{% endhint %}

## Installation

{% stepper %}
{% step %}

### Standalone

* Put the `rtx_dj` folder into your `resources`.
* Open `config.lua` file.
* Configure your `config.lua` to your preferences.
* Put the `rtx_dj` to your `server.cfg`.
* Upload SQL `sql.sql` file to your MySQL database.
  {% endstep %}

{% step %}

### QBCore

* Put the `rtx_dj` folder into your `resources`.
* Open `config.lua` file.
* Replace `Config.Framework = "standalone"` with `Config.Framework = "qbcore"`.
* Configure your `config.lua` to your preferences.
* Put the `rtx_dj` to your `server.cfg`.
* Upload SQL `sql.sql` file to your MySQL database.
  {% endstep %}

{% step %}

### ESX

* Put the `rtx_dj` folder into your `resources`.
* Open `config.lua` file.
* Replace `Config.Framework = "standalone"` with `Config.Framework = "esx"`.
* Configure your `config.lua` to your preferences.
* Put the `rtx_dj` to your `server.cfg`.
* Upload SQL `sql.sql` file to your MySQL database.
  {% endstep %}
  {% endstepper %}

There are 2 example pre-made locations in the config. You can create new ones by copying, for example, the lines from the config between line 38 and line 75 and pasting the copied content under line 75.

You can also easily create DJ locations through our ingame creator. You can enable it in the config with `Config.InGameDjCreator`. By default, the command is `/djcreator`, but you need to set the permissions for opening it in `server/other.lua` in the `CheckDjCreatorPermission` function.

## Notes

This page contains simple installation instructions only.

More detailed instructions, exports, events and developer-related information can be found directly inside the product folder after downloading the resource from the CFX Asset Portal.

## Support

If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:

[Join our Discord](https://discord.gg/rtxdev)
