# Installation

#### 🛒 Tebex Game Store Setup Guide

1. **Go to Your Tebex Store Dashboard.**\
   Open your store and select the **package** you want to link with your FiveM (or other game) script.
2. **Open the “Game Server Commands” Tab.**\
   Inside the package editor, switch to the **Game Server Commands** section.
3. **Add a Game Server.**\
   Select your desired game server and click **Add Command**.
4. **Set When the Command Should Run.**\
   From the dropdown, choose **“When the package is purchased.”**
5. **Enter the Command to Execute.**\
   Paste this command in the input box:

   ```
   package_purchase {"transid":"{transaction}", "packagename":"{packageName}"}
   ```
6. **Adjust Command Settings.**
   * Under **Require Player To Be Online**, select **“Execute the command even if the player is offline.”**
   * Set **Delay Before Executing** to `10`.
   * Keep **Repeat** as *Do not repeat this command*.
7. **Save the Changes.**\
   Click **Update** to confirm and apply your configuration.
