Config

Config = {}

Config.LangUse = "en" -- Choose your language

Config.Framework = 1 -- 1 : QBCore | 2 : ESX | 3 : Qbus

Config.ESX_extended = true -- Set True if you use ESX_extended, just for ESX Framework

Config.UseUINotification = true -- true : use Script base notification system | false : use Config.UseCustomNotification setup

Config.UseCustomNotification = false -- true : add your notification system | false : use gta notification

-- Use if 'Config.UseCustomNotification' is set to true
function customNotification(message, type) -- Message : message to notify the player | type : error or success or info
    -- Enter you notification system here
end

--//=================================\\--
--//             QBCore              \\--
--//=================================\\-- 
-- qb-inventory || ps-inventory  || lj-inventory || ox-inventory || quasar || tgiann
--//=================================\\--
--//               ESX               \\--
--//=================================\\-- 
-- esx-inventory|| ox-inventory || quasar || tgiann
Config.Inventory = "qb-inventory" 

Config.ImageLink = "/qb-inventory/html/images" -- The path to your image from the resource exemple for ox_inventory: /ox_inventory/web/images

Config.OxInventoryItems = true -- Only use if Config.Inventory == ox-inventory | true: use ox items | false: use esx or qb items

Config.CommandItems = "items" -- Command to open Too Many Items

Config.UseKeyMappingItems = true -- Use a key mapping or not

Config.KeyMappingItems = "f5"   -- Key mapping Key if Config.UseKeyMappingItems = true


Config.Category = {} -- Do not remove

Config.Webhook = "" 

Config.WebhookColors = { -- https://www.spycolor.com/
    ['default'] = 14423100,
    ['blue'] = 255,
    ['red'] = 16711680,
    ['green'] = 65280,
    ['white'] = 16777215,
    ['black'] = 0,
    ['orange'] = 16744192,
    ['yellow'] = 16776960,
    ['pink'] = 16761035,
}

Config.Language = {                         -- Copy/Paste to add more language
    ['en'] = {
        ['NoPlayerFound']                  = "No player with this ID!",
        ['NotifTarget']                    = "You have received: %s %sx",
        ['NotifAdmin']                     = "You have sent: %s %sx to %s",
        ['NoPerm']                         = "You do not have the required permissions!",
        ['EnterQuantity']                  = "Enter a quantity",
        ['ItemLabelLabel']                 = "Label",
        ['ItemNameLabel']                  = "Name",
        ['TargetNameLabel']                = "Name",
        ['TargetNamePseudoLabel']          = "Pseudo",
        ['TargetIDLabel']                  = "ID",
        ['ButCancelLabel']                 = "Cancel",
        ['ButConfirmLabel']                = "Confirm",
        ['PopUpTitle']                     = "GiveItem",
        ['PlaceholderID']                  = "Enter the target player's ID",
        ['PlaceholderItem']                = "Enter the name of an item",
        ['LogTitleSuccess']                = "GiveItem",
        ['LogTitleError']                  = "Try GiveItem",
        ['LogTargetLabel']                 = "Target",
        ['LogObjectLabel']                 = "Item",
        ['newCat']                         = "Create new category",
        ['modifyCat']                      = "Modify category",
        ['deleteCat']                      = "Delete this category?",
        ['catName']                        = "Name",
        ['catIcon']                        = "Icon",
        ['catExist']                       = "Category already exist",
        ['catMax']                         = "You have reached the limit of available categories.",
    },
}

Last updated