Config file

Config = {}

--[[ Language ]]--
Config.Locale = 'en' -- en, de, es, cs.

--[[ Framework ]]--
Config.Framework = {
    autoDetect = true,          --  Automatically finds and sets supported framework on your server.
    type = 'esx',               --  ESX = 'esx' / QBCore = 'qbcore'.
    export = 'es_extended',     --  ESX = 'es_extended' / QBCore = 'qb-core'.
}

--[[ Inventory ]]--
Config.Inventory = 'auto_detect'    -- auto_detect   - Automatically finds and sets supported inventory on your server.
                                    -- ox            - https://github.com/overextended/ox_inventory.
                                    -- qb            - https://github.com/qbcore-framework/qb-inventory.
                                    -- qs            - https://buy.quasar-store.com/package/4770732.
                                    -- ps            - https://github.com/Project-Sloth/ps-inventory.
                                    -- codem         - https://codem.tebex.io/package/5900973.
                                    -- core          - https://forum.cfx.re/t/core-inventory-qb-esx-advanced-grid-based-inventory/4859943.
                                    -- esx           - https://github.com/Trsak/esx_inventoryhud.

Config.Images = 'auto_detect'   -- auto_detect    - Automatically finds and sets supported inventory images on your server.
                                -- ox             - ox_inventory/web/images/.
                                -- qb             - qb-inventory/html/images/.
                                -- qs             - qs-inventory/html/images/.
                                -- ps             - ps-inventory/html/images/.
                                -- codem          - codem-inventory/html/itemimages/.
                                -- core           - core_inventory/html/img/.
                                -- esx            - esx_inventory/html/img/items.

--[[ Menu ]]--
Config.Menu = 'auto_detect'     -- auto_detect      - Automatically finds and sets supported menu on your server.
                                -- ox               - https://overextended.github.io/docs.
                                -- esx              - https://github.com/esx-framework/esx-legacy/tree/main/%5Besx%5D/esx_menu_default.
                                -- qb               - https://github.com/qbcore-framework/qb-menu.

Config.DialogMenu = 'auto_detect'   -- auto_detect      - Automatically finds and sets supported dialog menu on your server.
                                    -- ox               - https://overextended.github.io/docs.
                                    -- esx              - https://github.com/martintj22/esx_menu_dialog.
                                    -- qb               - https://github.com/qbcore-framework/qb-input.

--[[ Action Menu ]]--
Config.Use3dText = false                -- Does not work when Config.ActionMenu is set to [ox, qb, q].
Config.ActionMenu = 'auto_detect'       -- auto_detect          - Automatically finds and sets supported action menu on your server.
                                        -- ox                   - https://github.com/overextended/ox_target.
                                        -- qb                   - https://github.com/qbcore-framework/qb-target.
                                        -- q                    - https://github.com/thelindat/qtarget.
                                        -- helpox               - https://overextended.dev/ox_lib/Modules/Interface/Client/textui#libshowtextui.
                                        -- helpqb               - https://docs.qbcore.org/qbcore-documentation/qb-core/drawtext.
                                        -- helpesx              - https://esx-brasil.github.io/es_extended/client/functions/showhelpnotification.

--[[ ProgressBar ]]--
Config.ProgressBar = 'auto_detect'      -- auto_detect          - Automatically finds and sets supported progressbar on your server. 
                                        -- none                 - No ProgressBar.
                                        -- ox                   - https://overextended.github.io/docs.
                                        -- qb                   - https://github.com/qbcore-framework/progressbar.
                                        -- qs                   - https://github.com/quasar-scripts/progressbar.
                                        -- progressBars         - https://forum.cfx.re/t/release-progress-bars-1-0-standalone/526287/4.

--[[ Notifications ]]--
Config.Sounds = true
Config.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Notify = 'auto_detect'   -- auto_detect    - Automatically finds and sets supported notify on your server.
                                -- esx            - https://esx-brasil.github.io/es_extended/client/functions/shownotification/.
                                -- ox             - https://overextended.dev/ox_lib/Modules/Interface/Client/notify#libnotify.
                                -- qb             - https://docs.qbcore.org/qbcore-documentation/qb-core/client-function-reference#qbcore.functions.notify.

Config.HelpNotify = 'auto_detect'   -- auto_detect    - Automatically finds and sets supported help notify on your server. 
                                    -- esx            - https://esx-brasil.github.io/es_extended/client/functions/showhelpnotification/.
                                    -- ox             - https://overextended.dev/ox_lib/Modules/Interface/Client/textui#libshowtextui.
                                    -- qb             - https://docs.qbcore.org/qbcore-documentation/qb-core/drawtext.

--[[ Skin Selector ]]--
Config.SkinSelector = 'auto_detect'     -- auto_detect              - Automatically finds and sets supported skin selector on your server.
                                        -- fivem_appearance         - https://forum.cfx.re/t/release-fivem-appearance/2438537.
                                        -- illenium-appearance      - https://github.com/iLLeniumStudios/illenium-appearance.
                                        -- esx_skin                 - https://github.com/mitlight/esx_skin/https://github.com/mitlight/skinchanger.
                                        -- qb-clothing              - https://github.com/qbcore-framework/qb-clothing.

--[[ Logs ]]--
Config.TimeFormat = '%H:%M' -- Time format used in discord logs - https://www.lua.org/pil/22.1.html.
Config.DiscordLogs = {
    Icon = 'https://imgur.com/OrnXItg.png', -- Icon that will appear in discord logs.
    ServerName = 'Fivecode Scripts', -- Name that will appear in discord logs.
    -- You can set discord webhook in sv_utils.lua.
}

--[[ Main ]]--
Config.BossMenuSociety = 'auto_detect'  -- auto_detect    - Automatically finds and sets supported help notify on your server. 
                                        -- esx_society    - https://github.com/esx-framework/esx_society.
                                        -- qb-management  - https://github.com/qbcore-framework/qb-management.
                                        -- qb-banking     - https://github.com/qbcore-framework/qb-banking.

Config.UseCustomSounds = true             -- If true while cooking, paying etc. custom sound effects will play.
Config.UI = {                             -- If true players will see ui menu instead of set menu in Config.Menu.
    cashRegister = true,
    foodMenu = true,
}
Config.DeliveryItem = true                -- If true player will need to deliver a specific item to the customer.
Config.NpcEmployeeStock = true            -- If true players will need to stock up food items for npc employee to sell.
Config.Keys = {
    exit = 38,                            -- [E] Exit chair, toilet or sink.
    openTable = 74,                       -- [H] Open table while sitting on a chair.
}

-- You can modify and find these locations in fivecode_uwucatcafejob/locations.lua.
Config.MLO = 'auto_detect'  -- auto_detect  - Automatically finds and sets supported MLO on your server.
                            -- gabz         - https://fivem.gabzv.com.

Last updated