Installation

Dependencies

  • ox_lib
  • LuxuModules (Included)

Warning

Tebex requires proof of deliverables for packages. Since this script does not use a specific command, add something like givecoins {username} 100 in the command section of your package details.

  1. Install the LuxuVipShop folder in your resources folder
  2. Install the SQL code found inside LuxuVipShop/sql into your database
  3. Open config.lua:
    1. Add your Discord Webhook and Tebex Secret
    2. Set your locale via Config.Locale — check the locales folder
    3. Define your Tebex packages

config.lua — define coin rewards

Config.Tebex = {
      redeem = true, -- set to false to disable tebex redeem
      packages = {
            {
                  label = "1000 Coin package",
                  coins = 1000,
                  packageID = 5721342
            },
            {
                  label = "5000 Coin package",
                  coins = 5000,
                  packageID = 5723242,
            }
      }
}

Getting Your Tebex Package ID

Go to your packages, select a package, and copy the ID from the URL.

image.png

Getting Your Tebex Secret

  1. Go to https://creator.tebex.io/game-servers
  2. Select your server
  3. Copy your Tebex secret

image.png

Edit LuxuVipShop/secrets.lua:

SetConvar("TEBEX_SECRET", "PUT YOUR CODE HERE")

Also add the ConVar to your server.cfg:

image.png