🗒ī¸Config

Config = {}


-- ░██████╗░███████╗███╗░░██╗███████╗██████╗░░█████╗░██╗░░░░░
-- ██╔════╝░██╔════╝████╗░██║██╔════╝██╔══██╗██╔══██╗██║░░░░░
-- ██║░░██╗░█████╗░░██╔██╗██║█████╗░░██████╔╝███████║██║░░░░░
-- ██║░░╚██╗██╔══╝░░██║╚████║██╔══╝░░██╔══██╗██╔══██║██║░░░░░
-- ╚██████╔╝███████╗██║░╚███║███████╗██║░░██║██║░░██║███████╗
-- ░╚═════╝░╚══════╝╚═╝░░╚══╝╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝

Config.Settings = {
    CoreName = "qb-core", -- Your qb-core name folder
    Target = "qb", -- "qb", "ox", "text"
    Menu = "ox", -- "qb" , "ox"
    Progressbar = "ox", -- "qb" , "ox"
    Notify = "ox", -- "qb", "okok", "ox"
    Inventory = "qb", -- "qb", "ox"
    Inv = "ps-inventory/html/images/", -- Your inventory
    Minigame = false, -- https://github.com/Project-Sloth/ps-ui
    NumberOfCircles = 2, -- NumberOfCircles | PS-ui
    MS = 20, -- MS | PS-ui
    Debug = false, -- If true, some prints show up
    Cooldown = true, -- If true, the player after 10x mining will have to rest 10 seconds
    CooldownTime = 10, -- Cooldown have the rest ( 10 = 10 Seconds )
}

-- ███╗░░░███╗██╗███╗░░██╗██╗███╗░░██╗░██████╗░
-- ████╗░████║██║████╗░██║██║████╗░██║██╔════╝░
-- ██╔████╔██║██║██╔██╗██║██║██╔██╗██║██║░░██╗░
-- ██║╚██╔╝██║██║██║╚████║██║██║╚████║██║░░╚██╗
-- ██║░╚═╝░██║██║██║░╚███║██║██║░╚███║╚██████╔╝
-- ╚═╝░░░░░╚═╝╚═╝╚═╝░░╚══╝╚═╝╚═╝░░╚══╝░╚═════╝░

Config.MiningSettings = {
    Peds = {
        [1] = { type = 4, hash = GetHashKey("s_m_m_dockwork_01"), loc = vector4(2962.55, 2752.96, 42.33, 154.1)}, -- Ped to open the shop and buy the pickaxe
        [2] = { type = 4, hash = GetHashKey("a_m_y_smartcaspat_01"), loc = vector4(-622.1, -232.23, 37.06, 126.36)}, -- Ped to sell ores pieces
    },
    Blips = {
        [1] = {enable = true, x = 2569.49, y = 2720.04, z = 41.93, sprite = 78, display = 4, scale = 0.8, colour = 16,  name = "Mining"},
        [2] = {enable = true, x = 1109.45, y = -2007.82, z = 31.04, sprite = 436, display = 4, scale = 0.8, colour = 22,  name = "Burning Rocks"},
        [3] = {enable = true, x = -623.06, y = -232.95, z = 38.06, sprite = 108, display = 4, scale = 0.8, colour = 25,  name = "Selling Ores"},
    },
    Targets = {
        ["Miner"] = { -- Ped to open the shop and buy the pickaxe
            [1] = vector3(2962.55, 2752.96, 43.33), 
        },
        ["Mining"] = { -- Locations to mine rocks
            [1] = vector3(2998.41, 2758.33, 42.97),
            [2] = vector3(2943.29, 2742.15, 43.48),
            [3] = vector3(2951.25, 2769.3, 39.02),
            [4] = vector3(2968.99, 2776.57, 38.38),
            [5] = vector3(2922.45, 2798.56, 41.17),
        },
        ["IllegalMining"] = { -- Locations to mine rocks
            [1] = vector3(-590.52, 2073.72, 131.29),
            [2] = vector3(-591.94, 2068.45, 131.18),
            [3] = vector3(-587.57, 2059.65, 130.66),
            [4] = vector3(-589.06, 2052.56, 130.17),
            [5] = vector3(-584.79, 2045.64, 129.53),
        },
        ["Burn"] = { -- Burn rocks
            [1]= vector3(1109.45, -2007.82, 31.04)
        },
        ["Selling"] = { -- Ped to selling normal drops
            [1] = vector3(-623.06, -232.95, 38.06),
        },
        ["Craft"] = {
            [1] = vector3(1073.29, -1988.24, 30.91),
        },
    },
    SellingOres = {
        Magnetite = { min = 10, max = 20}, -- Min & Max price player can get when selling magnetite on NPC
        Marble = { min = 10, max = 20}, -- Min & Max price player can get when selling marble on NPC
        Metal = { min = 10, max = 20}, -- Min & Max price player can get when selling metal on NPC
        Wolframite = { min = 10, max = 20}, -- Min & Max price player can get when selling wolframite on NPC
        Ferberite = { min = 10, max = 20}, -- Min & Max price player can get when selling ferberite on NPC
        -- ** NOTE **
        -- You can't add more items here
    },
    SellingAccessories = {
        DiamondChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Diamond Chain on NPC
        DiamondRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Diamond Ring on NPC
        EmeraldChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Emerald Chain on NPC
        EmeraldRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Emerald EmeraldRingRing on NPC
        GoldChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Gold Chain on NPC
        GoldRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Gold Ring on NPC
        QuartzChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Quartz Chain on NPC
        QuartzRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Quartz Ring on NPC
        RubyChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Ruby Chain on NPC
        RubyRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Ruby Ring on NPC 
        SapphireChain = { min = 50, max = 150 }, -- Min & Max price player can get when selling Sapphire Chain on NPC
        SapphireRing = { min = 50, max = 150 }, -- Min & Max price player can get when selling Sapphire Ring on NPC
        -- ** NOTE **
        -- You can't add more items here
    }
}

Config.Illegal = {
    NeedCops = false, -- Need cops to mine illegal?
    Amount = 2, -- Amount of cops need online
    Dispatch = "qs-dispatch", -- "ps-dispatch", "cd_dispatch" or "qs-dispatch"
    PoliceJob = {
        "police",
        "police2",
    }
}

Config.Rewards = {
    GetRare = 10, -- 10% Chance to get rare drop ( Mining & Burning )
    GeneralDrops = { -- General rewards 
        "rock", -- This stone can be burned and other ores will come out.
        "wolframite",
        "magnetite",
        "marble",
        "metal",
        "ferberite",
    },
    RareDrops = { -- Rare rewards ( This is the list always drop on illegal mining)
        "diamond_piece",
        "emerald_piece",
        "gold_piece",
        "quartz_piece",
        "ruby_piece",
        "sapphire_piece",
        "sulfur_piece",
    }
}

Config.JeweleryCrafting = {
    ["diamond"] = {
        hash = "diamond",
        label = "Diamond",
        image = "https://i.imgur.com/wbKTR76.png",
        materials = {
        	[1] = { item = "diamond_piece", label = "Diamond Ore", amount = 5 },
        }
    },
    ["emerald"] = {
        hash = "emerald",
        label = "Emerald",
        image = "https://i.imgur.com/CLTva89.png",
        materials = {
        	[1] = { item = "emerald_piece", label = "Emerald Ore", amount = 5 },
        }
    },
    ["gold"] = {
        hash = "gold",
        label = "Gold",
        image = "https://i.imgur.com/5QQ6D3X.png",
        materials = {
        	[1] = { item = "gold_piece", label = "Gold Ore", amount = 5 },
        }
    },
    ["quartz"] = {
        hash = "quartz",
        label = "Quartz",
        image = "https://i.imgur.com/zRV1jnY.png",
        materials = {
        	[1] = { item = "quartz_piece", label = "Quartz Ore", amount = 5 },
        }
    },
    ["ruby"] = {
        hash = "ruby",
        label = "Ruby",
        image = "https://i.imgur.com/KkJIVXj.png",
        materials = {
        	[1] = { item = "ruby_piece", label = "Ruby Ore", amount = 5 },
        }
    },
    ["sapphire"] = {
        hash = "sapphire",
        label = "Sapphire",
        image = "https://i.imgur.com/018UPHR.png",
        materials = {
        	[1] = { item = "sapphire_piece", label = "Sapphire Ore", amount = 5 },
        }
    },
}

Config.AccessoriesCrafting = {
    ["diamond_chain"] = {
        hash = "diamond_chain",
        label = "Diamond Chain",
        image = "https://i.imgur.com/hWi3gmr.png",
        materials = {
        	[1] = { item = "diamond", amount = 5 },
        }
    },
    ["diamond_ring"] = {
        hash = "diamond_ring",
        label = "Diamond Ring",
        image = "https://i.imgur.com/O9QvFEH.png",
        materials = {
        	[1] = { item = "diamond", amount = 5 },
        }
    },
    ["emerald_chain"] = {
        hash = "emerald_chain",
        label = "Emerald Chain",
        image = "https://i.imgur.com/wUacHDS.png",
        materials = {
        	[1] = { item = "emerald", amount = 5 },
        }
    },
    ["emerald_ring"] = {
        hash = "emerald_ring",
        label = "Emerald Ring",
        image = "https://i.imgur.com/iIletIm.png",
        materials = {
            [1] = { item = "emerald", amount = 5 },
        }
    },
    ["gold_chain"] = {
        hash = "gold_chain",
        label = "Gold Chain",
        image = "https://i.imgur.com/3HaMmVU.png",
        materials = {
            [1] = { item = "gold", amount = 5 },
        }
    },
    ["gold_ring"] = {
        hash = "gold_ring",
        label = "Gold Ring",
        image = "https://i.imgur.com/rvfjoIi.png",
        materials = {
            [1] = { item = "gold", amount = 5 },
        }
    },
    ["quartz_chain"] = {
        hash = "quartz_chain",
        label = "Quartz Chain",
        image = "https://i.imgur.com/i88C81X.png",
        materials = {
            [1] = { item = "quartz", amount = 5 },
        }
    },
    ["quartz_ring"] = {
        hash = "quartz_ring",
        label = "Quartz Ring",
        image = "https://i.imgur.com/uwOTVU1.png",
        materials = {
            [1] = { item = "quartz", amount = 5 },
        }
    },
    ["ruby_chain"] = {
        hash = "ruby_chain",
        label = "Ruby Chain",
        image = "https://i.imgur.com/mCE1lii.png",
        materials = {
            [1] = { item = "ruby", amount = 5 },
        }
    },
    ["ruby_ring"] = {
        hash = "ruby_ring",
        label = "Ruby Ring",
        image = "https://i.imgur.com/OPJDENc.png",
        materials = {
            [1] = { item = "ruby", amount = 5 },
        }
    },
    ["sapphire_chain"] = {
        hash = "sapphire_chain",
        label = "Sapphire Chain",
        image = "https://i.imgur.com/wqZ6TSW.png",
        materials = {
            [1] = { item = "sapphire", amount = 5 },
        }
    },
    ["sapphire_ring"] = {
        hash = "sapphire_ring",
        label = "Sapphire Ring",
        image = "https://i.imgur.com/d1AZocH.png",
        materials = {
            [1] = { item = "sapphire", amount = 5 },
        }
    },
}

Last updated