> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shdevelopment.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Supported Frameworks for All SH Development Scripts

> SH Development supports QBCore, ESX, ND_Core, VORP, RSG, and standalone modes. Set Config.Framework to match your server and the script handles the rest.

SH Development scripts are built to work across the most popular FiveM and RedM server frameworks without requiring you to modify protected code. Each script reads a single `Config.Framework` value from `config.lua` and uses it to route all money operations, character lookups, and inventory interactions to the correct framework bridge. Setting this value correctly is the most important configuration step you will take when installing any SH Development resource.

## Available Frameworks

The table below lists every supported framework identifier and the game platform it applies to.

| Framework    | Game         | Notes                                                                                      |
| ------------ | ------------ | ------------------------------------------------------------------------------------------ |
| `standalone` | FiveM & RedM | No external framework required. Money operations are skipped or handled internally.        |
| `qb`         | FiveM        | QBCore                                                                                     |
| `esx`        | FiveM        | ESX                                                                                        |
| `nat`        | FiveM        | NAT2K15 standalone money system                                                            |
| `nd`         | FiveM        | ND\_Core                                                                                   |
| `vorp`       | RedM         | VORP Core                                                                                  |
| `rsg`        | RedM         | RSG Core                                                                                   |
| `auto`       | RedM         | Some RedM scripts auto-detect VORP vs RSG at startup and configure themselves accordingly. |

<Note>
  Not every script supports every framework. Each script's documentation page lists the exact set of supported values for that resource. If you set an unsupported framework identifier, the script will typically log a warning to the console and fall back to standalone behaviour.
</Note>

## Setting Your Framework

Open `config.lua` in the resource folder and set `Config.Framework` to the identifier that matches your server:

```lua config.lua theme={null}
Config.Framework = 'qb'  -- Options: 'qb', 'esx', 'nat', 'nd', 'standalone'
```

For RedM scripts that support it, `auto` lets the script detect your framework at startup so you do not need to update the value if you ever switch cores:

```lua config.lua theme={null}
Config.Framework = 'auto'  -- RedM only; auto-detects VORP or RSG at startup
```

<Tip>
  If you are testing a script or running a server without a framework, use `standalone`. It works on any server and simply skips money and inventory integration, letting you evaluate all other features without any additional setup.
</Tip>

## Framework-Specific Behaviour

When you select a framework, the script automatically handles the following integrations through its internal bridge:

* **Money** — adding, removing, and checking player funds using the framework's native economy functions.
* **Character identity** — retrieving player names, job titles, and other character data where the script needs it.
* **Inventory checks** — verifying or modifying player inventory items (where applicable).

No additional configuration is needed beyond setting `Config.Framework` — the bridge handles the rest.
