Config

Config = {}

-- Framework & Integrations
Config.Debug = true
Config.AutoRunSQL = true -- whether to automatically run the SQL commands to create the tables.
Config.Framework = "auto" -- types: standalone, esx, qbcore, qbox
Config.Notifications = "auto" -- types: default, ox_lib, ps-ui, okokNotify
Config.Locale = "en" -- locale to use for the notifications.

-- Image path to your item images
Config.ImagePath = "nui://ox_inventory/web/images"

-- Command & Color
Config.Command = "gemshop" -- command to open the gem shop. Leave blank to disable.
Config.Color = "237, 183, 33" -- color of the shop in RGB format.

-- Server Links
Config.Links = {
    Store = "https://tebex.io/",
    Discord = "https://discord.gg/",
}

-- Audio Settings
Config.Audio = {
    Enabled = true, -- whether to play audio when interacting with the shop.
    Volume = 0.5, -- volume of the audio.
}

Config.MegaDeal = {
    Enabled = true, -- whether to show the mega deal on the shop.
    Title = "Mega Deal Pack", -- title of the mega deal.
    Description = "Limited Time Deal - Dont Miss Out!", -- description of the mega deal.
    Price = 2000, -- price of the mega deal.
    Ends = "28/01/2026 00:00:00", -- ends date of the mega deal.
    Items = {
        { label = "Money", item = "money", count = 10000 },
        { label = "Armour", item = "armour", count = 3 },
        { label = "Combat Pistol", item = "WEAPON_COMBATPISTOL", count = 1 },
        { label = "Carbine Rifle", item = "weapon_carbinerifle", count = 5 },
        { label = "Compact Rifle", item = "weapon_compactrifle", count = 2 },
        { label = "Bullpup Rifle", item = "weapon_bullpuprifle", count = 1 },
    }
}

-- Gem Shop Items & Categories
Config.Items = {
    ["WEAPONS"] = {
        { label = "Pistol", price = 200, sale = 50, item = { name = "weapon_pistol", count = 1 } },
        { label = "Flare Gun", price = 700, item = { name = "weapon_flaregun", count = 1 } },
        { label = "Combat Pistol", price = 800, sale = 20, item = { name = "weapon_combatpistol", count = 1 } },
        { label = "Appistol", price = 900, item = { name = "weapon_appistol", count = 1 } },
        { label = "SMG", price = 1300, item = { name = "weapon_smg", count = 1 } },
        { label = "Pump Shotgun", price = 1500, sale = 10, item = { name = "weapon_pumpshotgun", count = 1 } },
        { label = "Assault Rifle", price = 1500, item = { name = "weapon_assaultrifle", count = 1 } },
        { label = "Carbine Rifle", price = 2500, item = { name = "weapon_carbinerifle", count = 1 } },
        { label = "Compact Rifle", price = 3000, item = { name = "weapon_compactrifle", count = 1 } },
        { label = "Bullpup Rifle", price = 3500, item = { name = "weapon_bullpuprifle", count = 1 } },
    },
    ["MELEES"] = {
        { label = "Bat", price = 500, item = { name = "weapon_bat", count = 1 } },
        { label = "Dagger", price = 500, sale = 50, item = { name = "weapon_dagger", count = 1 } },
        { label = "Crowbar", price = 500, item = { name = "weapon_crowbar", count = 1 } },
        { label = "Knife", price = 500, item = { name = "weapon_knife", count = 1 } },
    },
    ["ITEMS"] = {
        { label = "Armour", price = 200, item = { name = "armour", count = 1 } },
        { label = "Radio", price = 500, sale = 50, item = { name = "radio", count = 1 } },
        { label = "Water", price = 100, item = { name = "water", count = 1 } },
        { label = "Phone", price = 50, item = { name = "phone", count = 1 } },
    },
}

-- Tebex Integration
-- Follow documentation here: https://docs.
Config.Tebex = {
    ["PACKAGE_ID_HERE"] = { -- Package ID
        -- Items to give when the package is redeemed
        { label = "Gems", item = "gems", count = 500 }, 
        { label = "Money", item = "money", count = 1000 }
    },
    ["PACKAGE_ID_HERE"] = { 
        { label = "Gems", item = "gems", count = 1000 },
        { label = "Money", item = "money", count = 1000 }
    },
}

Last updated