GFX Development
  • gfx
    • About GFX
  • Product Docs
    • 📥GFX All in One Menu
      • 🛠️Setup
        • ⚙️Configuration
        • 📝Setting Permissions
      • 📒Informations
        • 💻For Developers
        • 👨‍💻Admin Commands
      • 🖇️Pages
        • 📄Profile
        • 📄Leaderboard
    • 🏎️GFX Racing
      • 🔨Installation
      • ⚙️Configuration
    • 📸GFX Deathcam
      • 🔨Installation
      • GFX Deathcam V1
        • ⚙️Configuration
      • GFX Deathcam V2
        • ⚙️Configuration
    • 📊GFX Leaderboard
      • 🔨Installation
      • ⚙️Configuration
    • ⚔️GFX Arena
      • 🔨Installation
      • ⚙️Configuration
    • 👨‍👨‍👦‍👦GFX Squad
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports
    • 🔬GFX Evidence
      • 🔨Installation
      • ⚙️Configuration
    • ❗GFX Notification
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports and Events
        • ⬆️Exports
        • ⬇️Events
    • 🚚GFX Delivery
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Tebexshop
      • 🔨Installation
      • ⚙️Configuration
      • ⚠️Tebex Settings
      • ⬆️Exports
    • 👁️‍🗨️GFX Interact
      • 🔨Installation
      • ⬆️Exports
    • 🫂GFX Crew
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🫂GFX Squad Remake
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX PVP Chat
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX HUD
      • 🔨Installation
      • ⚙️Configuration
    • 🔫GFX Attachment
      • 🔨Installation
      • ⚙️Configuration
    • 💀GFX Deathlog
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX PVP Shop
      • 🔨Installation
      • ⚙️Configuration
    • 🧱GFX Crafting
      • 🔨Installation
      • ⚙️Configuration
    • 🚍GFX Bus Job
      • 🔨Installation
      • ⚙️Configuration
    • 🐔GFX Chicken Farm
      • 🔨Installation
      • ⚙️Configuration
    • 🎁GFX Giveaway
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Pawnshop
      • 🔨Installation
      • ⚙️Configuration
    • 🪵GFX Lumberjack
      • 🔨Installation
      • ⚙️Configuration
    • 🚙GFX Secondhand Vehicle
      • 🔨Installation
      • ⚙️Configuration
    • 🤖GFX Autopilot
      • 🔨Installation
      • ⚙️Configuration
    • 🗳️GFX Vote
      • 🔨Installation
      • ⚙️Configuration
    • 🟢GFX Safezone
      • 🔨Installation
      • ⚙️Configuration
    • 🎅GFX Christmastruck
      • 🔨Installation
      • ⚙️Configuration
    • 🚔GFX Handcuff
      • 🔨Installation
      • ⚙️Configuration
    • 🚚GFX Trucker Job
      • 🔨Installation
      • ⚙️Configuration
    • 🌱GFX Weed
      • 🔨Installation
      • ⚙️Configuration
    • 🔉GFX DUI Radio
      • 🔨Installation
      • ⚙️Configuration
Powered by GitBook
On this page
  1. Product Docs
  2. GFX Tebexshop

Configuration

Check the instructions below.

  • Set your sql script

Config.SQLScript = "oxmysql" -- oxmysql // ghmattimysql // mysql-async
  • Set your menu open command

Config.ShopCommand = "tebexshop"
  • Set your no avatar image (Image to display when no image is found)

Config.NoImage = "https://cdn.discordapp.com/attachments/736562375062192199/995301291976831026/noimage.png", -- Image to display when no image is found
  • Set packages will be shown at homepage

    • `id` must be unique

    • `name` is the label will be displayed on the homepage

    • `price` is the coin price of package

    • `icon` is the image will be shown on the package box

    • `hours` is the amount that how long will the xp boost remain

    • `visible` is for the visibility of package

    { 
        id = 1, 
        name = "Boost 1", 
        price = 100, 
        icon = "tebexshop-icon4.png", 
        hours = 1, 
        visible = true 
    },

    For coins:

    Nearly same with boost. There is one difference.

    • `link` you can set the redirection link here. When player clicks to package the url will be opened at the players default browser.

    { 
        id = 1, 
        amount = "500", 
        icon = "tebexshop-icon3.png", 
        link = "https://gfx.tebex.io" , 
        visible = true 
    },

    For Tiers:

    • `id` must be unique

    • `tier` i suggest you to not change here

    • `name` is the label will be displayed on the tier card

    • `color` is the theme color of tier card (red, yellow, blue)

      Warning: If you need to add more colors you have to get open source and build the source file.

    • `description` is the cards description

    • `price` is the coin price of package

    • `items` is the each sentence will shown on the card's features part

    • `visible` is for the visibility of package

    {
        id = 1,
        tier = "bronze",
        name = 'Bronze',
        color = 'blue',
        description = 'Basic Tier',
        price = 500,
        items = {
          { id = 1, text = 'Speed Running' },
          { id = 2, text = 'Extra Stash' },
          { id = 3, text = '1 Vehicle' }
        },
        visible = true
    },

    For Skins:

    • `id` must be unique

    • `name` is the label will be displayed on the tier card

    • `weapon` is the weapon that skin will be applied

    • `weaponLabel` is the label of the weapon (it will only shown at transactions page)

    • `skin` is the component name of the skin

    • `owned` make this option true if you want to add the weapon skin as default

    • `equipped` make this option true if you want to add the weapon skin as default

    • `price` price of the skin

    • `image` image link or path of the skin

    • `visible` is for the visibility of skin

      {
          id = 1,
          name = "M4 Default",
          weapon = "weapon_assaultrifle",
          weaponLabel = "M4",
          skin = "default",
          owned = true,
          equipped = true,
          price = 0,
          image = "https://cdn.discordapp.com/attachments/610776060744957953/1208775644809535498/weapon_carbinerifle_mk2.png?ex=65e4830b&is=65d20e0b&hm=64c8807e77f84f5dee7f0de537a6a8fc917d49a1db96d8e265ac3f6d99305066&",
          visible = true
      },
PreviousInstallationNextTebex Settings

Last updated 1 year ago

🛍️
⚙️