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

# Installation

> Step by step instructions to install the Sellshop resource

## Installation Steps

<Steps>
  <Step title="Install dependencies">
    <Warning>
      Verify all dependencies below are started **before** this script in your `server.cfg`.
    </Warning>

    <Card title="ox_lib" icon="book" href="https://github.com/CommunityOx/ox_lib/releases/latest">
      Download ox\_lib
    </Card>

    <Info>
      You also need a framework, inventory, interaction system (target/drawtext/interact), and optionally a dispatch resource. Free dispatch suggestions: [ps-dispatch](https://github.com/Project-Sloth/ps-dispatch) (QB/QBOX) or [linden\_outlawalert](https://github.com/thelindat/linden_outlawalert) (ESX).
    </Info>
  </Step>

  <Step title="Extract and place the resource">
    Extract the script from the zip file and place it into your scripts folder.
  </Step>

  <Step title="Configure the resource">
    Open `config/config.lua` and set **Framework**, **Inventory**, **Dispatch**, and **Interaction** for your server. Full option reference is on the [Configuration](/resources/sellshop/configuration) page.
  </Step>

  <Step title="Add to server.cfg">
    Start order matters: Framework → ox\_lib → Interaction → Dispatch → Inventory → then sellshop.

    ```cfg theme={null}
    ensure ox_lib
    ensure projectx-sellshop
    ```
  </Step>
</Steps>

## Notes

* There are **no mandatory items** to install. Add sellable items (and any reward items like dirty money or shop coins) to your inventory as needed for the shops you enable.
* Shop presets live in `presets/*.lua` and are loaded via `LoadPreset`. See [Configuration](/resources/sellshop/configuration).
* Optional: set `ServerCoords = true` and define shop locations in `config/sv_config.lua` to keep coords server-side (anti-dump).
* Optional XP: set `UseXP = true` and wire `AddExp` in `opensource/server/server.lua` (defaults to pickle\_xp; can call `projectx-xp` or bridge `AddExperience`).
