# Framework Detection

```lua
Config.Framework = 'auto' -- auto | qb | esx
```

In automatic mode, Crafting checks:

1. `qb-core`
2. `es_extended`

The active framework is used for player data, citizen/identifier resolution, jobs and QBCore gangs.

## QBCore

- Player identity: `citizenid` where required by Crafting.
- Job name and grade are supported.
- Gang name and grade are supported.

## ESX

- Player identity: ESX player identifier.
- Job name and grade are supported.
- Gang access is not available through the built-in ESX bridge.

## Force a framework

```lua
Config.Framework = 'qb'
```

or:

```lua
Config.Framework = 'esx'
```

Use a forced value when both framework resources are present but only one should be used.
