Shared/settings.lua

-- | # You can get help from our document: https://thug.gitbook.io/documentation

Config = {}

Config.Settings = {
    ['Framework'] = "qb", -- | # In this section you have the options 'qb', 'old-qb', 'esx', 'old-esx'
    ['Inventory'] = "ox_inventory", -- | # In this section you have the options 'qb-inventory', 'esx_inventory', 'ox_inventory', 'qs-inventory', 'codem-inventory', 'tgiann-inventory', 'core_inventory', 'origen_inventory', 'ps-inventory'
    ['Players_Database_Location'] = 'data/players.json', -- | # Please do not change this part!
    ['Tables_Database_Location'] = 'data/tables.json', -- | # Please do not change this part!
    ['Item_Images_Location'] = 'https://cfx-nui-ox_inventory/web/images/', -- | # In this section, specify the file path where the icons of the items are located.
    ['Fail_If_Mistake'] = false, -- | # If you set this option to true, the craft will fail in case of a wrong item combination!
    ['Using_Target'] = false, -- | # If you set this option to false, DrawText is disabled and the script works with Target.
    ['Target_Script'] = "qb", -- | # In this section you have the options 'qb', 'ox'
    ['Debug'] = true -- | # If you set this option to true, you can see the script progress in the console.
}

Config.Table_Settings = {
    ['Spawn_Type'] = "Command", -- | # In this section you have the options 'Item', 'Command'
    ['Item_Name'] = "crafting_table", -- | # If Spawn_Type is set to Item, specify the Crafting Table item name here!
    ['Command'] = "create_craftingtable", -- | # If Spawn_Type is set as an Command, you can specify here the command to be used to create a Crafting Table.
    ['Allowed_Licences_for_Command'] = { -- | # If you do not know how to learn your License, visit https://thug.gitbook.io/documentation/information/get-player-license
        "",
    },
}

Last updated