# Installation

1. Download the purchased resource from [keymaster](https://keymaster.fivem.net/asset-grants) or [cfx portals](https://portal.cfx.re/) - the official site of fivem with purchased resources.
2. Unzip the  `g-boss-menu`
3. Create a Folder - In your resources directory, create a new folder and name it `[g-scripts]`if it has not already been created.
4. Drag `g-boss-menu` in to `[g-scripts]`

## Arrangement

Add this line in your <mark style="color:red;">server.cfg</mark> file

```
ensure [g-scripts]
```

## Recommended resources for bossmenu

These resources are recommended but optional, not mandatory.

<table data-view="cards"><thead><tr><th></th><th></th><th data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td>Advanced Duty System V2</td><td>Purchase Link</td><td><a href="https://groot-development.tebex.io/package/7007496">https://groot-development.tebex.io/package/7007496</a></td><td><a href="https://3256609466-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzGLhTHKtQjnKpghvkzx7%2Fuploads%2FG3oubqyioD6NODpY8yL9%2Fdutyv2_thumbnail.png?alt=media&#x26;token=08207df1-d615-4d41-91d3-a40be7908482">dutyv2_thumbnail.png</a></td></tr><tr><td>Advanced Paychecksystem</td><td>Purchase Link</td><td><a href="https://groot-development.tebex.io/package/7007494">https://groot-development.tebex.io/package/7007494</a></td><td><a href="https://3256609466-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzGLhTHKtQjnKpghvkzx7%2Fuploads%2FEj6dlmTdTuRLU0OGAxh6%2F1.png?alt=media&#x26;token=fff08ac5-3590-480b-8876-29a89181d389">1.png</a></td></tr></tbody></table>

<h2 align="center"><strong>Frameworks Compatibility</strong></h2>

✅ **Automatic Framework Detection**

Dependencies &  Direct Links

The script automatically detects the framework you're using—no manual setup is required.

**Supported Frameworks**

* QBCore
* QBox
* ESX (v1.11.0 or newer)

| Dependency | Download link                                      |
| ---------- | -------------------------------------------------- |
| oxmysql    | <https://github.com/overextended/oxmysql/releases> |

<h2 align="center">Database</h2>

**Automatic SQL Insertion**

If you enable `Config.AutoImportSQL` in `[g-boss-menu/src/shared/Config.lua]`, the script will automatically insert the required SQL when the resource starts. Once the SQL has been added successfully, you can set this option to `false`.

**Manual SQL Insertion**

If you prefer to add the SQL manually, the necessary queries are available in the `g-boss-menu/sql` folder.
