> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/chopshop-with-welding-minigame/installation.md).

# Installation

{% stepper %}
{% step %}

### Install the dependencies

{% hint style="info" %}
Make sure everything on the [Dependencies](/resources/chopshop-with-welding-minigame/dependencies.md) page is installed and starting **before** this resource.
{% endhint %}
{% endstep %}

{% step %}

### Add the resource

Download the package from [Portal](https://portal.cfx.re/assets/granted-assets), unzip it, and put the `rm_chopshop` folder in your server's `resources` directory. Do **not** rename the folder.
{% endstep %}

{% step %}

### Add the items

The `[items]` folder inside the resource contains ready-made definitions for the part items (`vehicle_door`, `vehicle_hood`, `vehicle_trunk`, `vehicle_wheel`) and the two tools (`WEAPON_DIGISCANNER`, `WEAPON_WELD`):

* **ox\_inventory:** merge `items - ox_inventory.lua` into `ox_inventory/data/items.lua` and `weapons - ox_inventory.lua` into `ox_inventory/data/weapons.lua`, then copy the images from `rm_chopshop/assets/images/` into `ox_inventory/web/images/`.
* **qb-core / Qbox:** merge `items - qb-core.lua` and `weapons - qb-core.lua` into your shared items/weapons files and copy the images into your inventory's image folder.
* **ESX:** run `esx_items.sql`.
  {% endstep %}

{% step %}

### Start the resource

Add it to your `server.cfg`, below `ox_lib`, `rm_tools` and your framework so the dependencies are already running:

```cfg
ensure ox_lib
ensure qb-core # your framework

ensure rm_tools
ensure rm_chopshop
```

{% endstep %}

{% step %}

### Test the loop

Head to the chopshop NPC (blip on the map), buy a digiscanner and a portable weld from the menu, and take a job. The search area on the GPS is randomized on purpose; the vehicle is found with the digiscanner, not at the blip.
{% endstep %}

{% step %}

### Configure

Locations, prices, vehicle models and every gameplay knob are covered on the [Configuration](/resources/chopshop-with-welding-minigame/configuration.md) page.
{% endstep %}
{% endstepper %}
