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

# Installation

Setting up "Advanced Bus Simulator" on your server.

{% stepper %}
{% step %}
Purchase and download the script

• Buy the script from our Tebex store\
• Download it from your CFX Portal
{% endstep %}

{% step %}
Install the script on your server

• Import the script files into your server directory
{% endstep %}

{% step %}
Prepare your framework

• **For QBCore only:** Remove the `--` in `fxmanifest.lua` before `--'@qb-core/shared.lua'` (line 28)\
• **For ESX:** No changes needed
{% endstep %}

{% step %}
Configure the script

• Open `config.lua`\
• Set `Config.Locale = ''` to your language code (FR, EN, ES, IT, AR, TR, PT, BR, DE, RU, CN)\
• Set `Config.Framework = ''` to your framework (`esx` or `qb`)\
• Set `Config.TTS → voice = ''` to your language-country code (for example, `en-US`, `fr-FR`, etc.)\
• The rest of the settings in the config file can be customized freely
{% endstep %}

{% step %}
Database setup

• Import `advancedbussimulator.sql` into your database
{% endstep %}

{% step %}
Start the script

• Start `oxmysql` and your framework, then launch `AdvancedBusSimulator`
{% endstep %}
{% endstepper %}
