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

# Weed Creator Installation

> Step-by-step installation guide for the Weed Creator.

## Step-by-step installation

<Steps>
  <Step title="Server requirements" stepNumber={1}>
    Before installing the script, ensure your server meets the following requirements:

    <Columns cols={2}>
      <Card title="OneSync Infinity" />

      <Card title="Artifacts v7290+" />
    </Columns>
  </Step>

  <Step title="Required resources" stepNumber={2}>
    Next, install or update to the latest version of the following resources — they are required for the script to work correctly:

    <Columns cols={3}>
      <Card title="oxmysql" href="https://github.com/overextended/oxmysql" />

      <Card title="ox_lib" href="https://github.com/overextended/ox_lib" />

      <Card title="anx_bridge" href="https://github.com/anx-scripts/anx_bridge" />
    </Columns>
  </Step>

  <Step title="Download the script" stepNumber={3}>
    After a successful purchase, your script will be delivered via the [Cfx.re Portal](https://portal.cfx.re/assets/created-assets?search=anx_weed). Download it and place it in the `resources` folder. Our recommended folder structure:

    <Tree>
      <Tree.Folder name="resources" defaultOpen>
        <Tree.Folder name="[anx]" defaultOpen>
          <Tree.Folder name="anx_bridge" openable={false} />

          <Tree.Folder name="[scripts]" defaultOpen>
            <Tree.Folder name="anx_weed_creator" openable={false} />
          </Tree.Folder>
        </Tree.Folder>
      </Tree.Folder>
    </Tree>
  </Step>

  <Step title="Import the database table" stepNumber={4}>
    The downloaded script includes a `.sql` file containing a table you must import into your database.
  </Step>

  <Step title="Update the server config file" stepNumber={5}>
    Open `server.cfg` and add a line to start the resource on every server boot. Required resources should start before the script. Example configuration:

    ```
    ensure oxmysql
    ensure ox_lib
    ensure your_framework
    ensure other_scripts
    ensure [anx]
    ```
  </Step>
</Steps>

## Tips

<Warning>
  Use [WinSCP](https://winscp.net/eng/download.php) or another file transfer tool instead of FileZilla. FileZilla often corrupts encrypted files. [Learn more](/escrow-errors).
</Warning>

<Warning>
  If you encounter errors after installation, check whether they are [escrow errors](/escrow-errors).
</Warning>

<Warning>
  After installing the script, restart your server to avoid license verification errors.
</Warning>
