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

# Installation

Documentation / Tru-Fakeplates

## Installation

Install Tru-Fakeplates on a development server first. The following instructions apply to the supplied build.

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* Framework: QBCore, Qbox, ESX.
* Dependencies: OneSync and supported inventory.
* Access to `server.cfg` and `config.lua`.

### Installation steps <a href="#installation-steps" id="installation-steps"></a>

1. Extract as `Tru-Fakeplates`.
2. Add item definitions from `install/items/` and images from `install/images/`.
3. Configure framework and inventory.
4. Start after framework and inventory.

```cfg
ensure Tru-Fakeplates
```

Optional target/progress resources: ox\_target, qb-target, ox\_lib, qb-progressbar. For SQL persistence, install oxmysql and import `install/sql/tru_fakeplates.sql`.

### Verify your installation <a href="#verify-your-installation" id="verify-your-installation"></a>

After starting the resource, check the server console for missing dependencies or script errors. Apply a plate to a test vehicle, inspect it as an authorized officer, remove or confiscate it and confirm the original plate returns.

> Test with a normal player and an officer. If persistence is enabled, restart and verify the mapping before enabling garage restrictions.

Continue to [Configuration](https://tru-development.gitbook.io/tru-development-docs/tru-fakeplates/configuration.md).

### Production rollout <a href="#production-rollout" id="production-rollout"></a>

Once the initial test passes, repeat it with a second player where the feature involves shared state. Check the behavior after reconnecting and after a resource restart. Keep a backup of the previous server configuration and avoid deploying during peak player activity.

### Preparing vehicle integrations <a href="#preparing-vehicle-integrations" id="preparing-vehicle-integrations"></a>

Install the fakeplate and screwdriver item definitions for your inventory. Begin with the basic spawned-vehicle workflow before enabling persistence or garage restrictions. If using SQL persistence, verify the database connection and supplied schema. Test on an expendable in-game vehicle rather than a valuable player-owned vehicle while configuring integrations.
