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

# Chop Shop - Installation

> Step by step instructions to install this resource

<Steps>
  <Step stepNumber={1} title="Install (or update) dependencies">
    <Warning>
      Verify all dependencies below are started *before* this script in your `server.cfg`.
    </Warning>

    <Columns cols={2}>
      <Card icon="arrow-up-right-from-square" href="https://github.com/CommunityOx/oxmysql/releases/latest" title="oxmysql">
        Download oxmysql
      </Card>

      <Card icon="arrow-up-right-from-square" href="https://github.com/CommunityOx/ox_lib/releases/latest" title="ox_lib">
        Download ox\_lib
      </Card>
    </Columns>
  </Step>

  <Step title="Add items to your inventory">
    Open the `install` folder and add the `items` & their `images` to your inventory.

    <Note>
      You do not need to import the `.sql` file manually; it will be imported automatically.
    </Note>

    <Tabs>
      <Tab title="ox_inventory">
        * Copy items from `/install/items/ox_inventory.txt` into `ox_inventory/data/items.lua`
        * Copy images from `/install/images` into `ox_inventory/web/images`
      </Tab>

      <Tab title="qb-inventory">
        * Copy items from `/install/items/qb-inventory.txt` into `qb-core/shared/items.lua`
        * Copy images from `/install/images` into `qb-inventory/html/images`
      </Tab>

      <Tab title="other">
        <Info>
          Refer to the documentation for your specific inventory system.
        </Info>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Create a new subfolder">
    <Info>
      This is an optional step, but is *highly recommended*.
    </Info>

    If you haven't already, create a new subfolder named `[lation]` in your server's root resources directory. Unzip (*extract*) this script into the newly created `[lation]` subfolder.
  </Step>

  <Step title="Update server.cfg & perform a full restart">
    Once all other steps are completed, open your `server.cfg` & add `ensure [lation]` to the very **bottom** of your resource start list. Finally, perform a full server restart. Failure to perform a full restart after installation will cause errors.
  </Step>
</Steps>

<Danger>
  Upon completion, do not delete the `install` folder or any `.sql` files or you will experience errors.
</Danger>
