# Configuration

All settings are in config.lua

### Framework and Bridge

Config.Framework = 'qb' -- qb / esx / qbox Config.Target = 'ox\_target' -- ox\_target / qb-target Config.Inventory = 'ox\_inventory' -- ox\_inventory / qb-inventory / qs-inventory / esx Config.Locale = 'en' -- en / tr

### Ownership Modes

#### Mode 1 — Only Mission Vehicles

Config.OwnershipCheck = { enabled = true, deleteFromDB = true, blockNPCVehicles = true, ownerCanChop = false, onlyMissionVehicles = true, }

Result:

* Mission vehicles: Allowed
* Own vehicles: Blocked
* NPC vehicles: Blocked
* Other player vehicles: Blocked

#### Mode 2 — Own Vehicles + Missions

Config.OwnershipCheck = { enabled = true, deleteFromDB = true, blockNPCVehicles = true, ownerCanChop = true, onlyMissionVehicles = false, }

Result:

* Mission vehicles: Allowed
* Own vehicles: Allowed (deleted from database)
* NPC vehicles: Blocked
* Other player vehicles: Blocked

#### Mode 3 — All Vehicles

Config.OwnershipCheck = { enabled = false, deleteFromDB = false, blockNPCVehicles = false, ownerCanChop = true, onlyMissionVehicles = false, }

Result:

* Any vehicle can be chopped

### Chop Stages

| Stage            | Duration | XP |
| ---------------- | -------- | -- |
| Front Left Door  | 5000ms   | 5  |
| Rear Left Door   | 5000ms   | 5  |
| Front Right Door | 5000ms   | 5  |
| Rear Right Door  | 5000ms   | 5  |
| Hood             | 6000ms   | 8  |
| Trunk            | 6000ms   | 8  |
| Wheels           | 7000ms   | 12 |
| Engine           | 10000ms  | 20 |
| Radio            | 4000ms   | 6  |
| Shell (final)    | 8000ms   | 25 |

2-door vehicles automatically skip rear doors. Each stage configurable: duration, animation, rewards, XP.

### Reward Multipliers

| Source        | Example                      |
| ------------- | ---------------------------- |
| Vehicle Class | Super = x2.0, Compact = x0.8 |
| Night Bonus   | x1.3 between 22:00-06:00     |
| Level Perk    | Level 20 = x2.0              |

All multipliers stack together.

### Level System

| Level | XP Needed | Multiplier |
| ----- | --------- | ---------- |
| 1     | 100       | x1.0       |
| 3     | 469       | x1.1       |
| 5     | 971       | x1.2       |
| 8     | 1901      | x1.3       |
| 10    | 2614      | x1.4       |
| 15    | 4651      | x1.6       |
| 20    | 6976      | x2.0       |

### Mission System

Config.Missions = { enabled = true, maxActive = 2, minigame = true, minigameType = 'skillbar', }

Minigame types: skillbar, circle, keygame

### Police Alert

Config.PoliceAlert = { enabled = true, chance = 30, jobs = { 'police', 'sheriff' }, }

### Discord Logs

Config.Logs = { enabled = true, webhook = 'YOUR\_WEBHOOK\_URL', }

Logged events:

* Chop start
* Stage complete
* Chop finish
* Parts sold
* Mission accept
* Mission complete
* Level up


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elena-scripts.gitbook.io/elenascripts/jobs-and-activities/chop-shop-v2/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
