🛠ī¸Installation

qb-core/shared/items.lua


    -- m-CoolBeans
["cb_berry_hydrating"] 		= {["name"] = "cb_berry_hydrating", 		["label"] = "Berry Hydrating", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_berry_hydrating.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_cake"] 			= {["name"] = "cb_cake", 			["label"] = "Cake", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_cake.png", 					["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_chocolate_cake"] 		= {["name"] = "cb_chocolate_cake", 		["label"] = "Chocolate Cake", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_chocolate_cake.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_cocktail"] 		= {["name"] = "cb_cocktail", 			["label"] = "Cocktail", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_cocktail.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_coconut_drink"] 		= {["name"] = "cb_coconut_drink", 		["label"] = "Coconut Drink", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_coconut_drink.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_coffee"] 			= {["name"] = "cb_coffee", 			["label"] = "Coffee", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_coffee.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_coffee_heart"] 		= {["name"] = "cb_coffee_heart", 		["label"] = "Coffee Heart", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_coffee_heart.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_green_dream"] 		= {["name"] = "cb_green_dream", 		["label"] = "Green Dream", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_green_dream.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_island_breeze"] 		= {["name"] = "cb_island_breeze", 		["label"] = "Island Breeze", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_island_breeze.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_island_fantasy"] 		= {["name"] = "cb_island_fantasy", 		["label"] = "Island Fantasy", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_island_fantasy.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_just_peachy"] 		= {["name"] = "cb_just_peachy", 		["label"] = "Just Peachy", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_just_peachy.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_kamikaze"] 		= {["name"] = "cb_kamikaze", 			["label"] = "Kamikaze", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_kamikaze.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_redhot_daquiri"] 		= {["name"] = "cb_redhot_daquiri", 		["label"] = "Redhot Daquiri", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_redhot_daquiri.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_watermelon_dream"] 	= {["name"] = "cb_watermelon_dream", 		["label"] = "Watermelon Dream", 		["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_watermelon_dream.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_tequila"] 			= {["name"] = "cb_tequila", 			["label"] = "Tequila", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_tequila.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_daquiri"] 			= {["name"] = "cb_daquiri", 			["label"] = "Daquiri", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_daquiri.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_water"] 			= {["name"] = "cb_water", 			["label"] = "Water", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_water.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_caramel"] 			= {["name"] = "cb_caramel", 			["label"] = "Caramel", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_caramel.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_chocolate"] 		= {["name"] = "cb_chocolate", 			["label"] = "Chocolate", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_chocolate.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_cheese"] 			= {["name"] = "cb_cheese", 			["label"] = "Cheese", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_cheese.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_milk"] 			= {["name"] = "cb_milk", 			["label"] = "Milk", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_milk.png", 					["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},


-- Candys
["cb_candy"] 			= {["name"] = "cb_candy", 			["label"] = "Candy", 			 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candy.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candycrunchbar"] 		= {["name"] = "cb_candycrunchbar", 		["label"] = "Candy Crunch", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candycrunchbar.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candyheath"] 		= {["name"] = "cb_candyheath", 			["label"] = "Candy Heath", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candyheath.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candyhersheybar"] 		= {["name"] = "cb_candyhersheybar", 		["label"] = "Candy Hersheys", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candyhersheybar.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candykitkat"] 		= {["name"] = "cb_candykitkat", 		["label"] = "Candy KitKat", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candykitkat.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candymilkyway"] 		= {["name"] = "cb_candymilkyway", 		["label"] = "Candy MilkyWay", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candymilkyway.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candynerds"] 		= {["name"] = "cb_candynerds", 			["label"] = "Candy Nerds", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candynerds.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_candyskittles"] 		= {["name"] = "cb_candyskittles", 		["label"] = "Candy Skittles", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_candyskittles.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Juices
["cb_orange_juice"] 		= {["name"] = "cb_orange_juice", 		["label"] = "Orange Juice", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_orange_juice.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_kiwi_juice"] 		= {["name"] = "cb_kiwi_juice", 			["label"] = "Kiwi Juice", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_kiwi_juice.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_strawberry_juice"] 	= {["name"] = "cb_strawberry_juice", 		["label"] = "Strawberry Juice", 		["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_strawberry_juice.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_banana_juice"] 		= {["name"] = "cb_banana_juice", 		["label"] = "Banana Juice", 			["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_banana_juice.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_ban_straw_juice"] 		= {["name"] = "cb_ban_straw_juice", 		["label"] = "Banana & Strawberry Juice", 	["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_ban_straw_juice.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},


-- Cupcakes
["cb_chocolatecup"] 		= {["name"] = "cb_chocolatecup", 		["label"] = "Chocolate Cupcake", 		 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_chocolatecup.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_vanillacupcakes"] 		= {["name"] = "cb_vanillacupcakes", 		["label"] = "Vanilla Cupcake", 			 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_vanillacupcakes.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_strawberrycup"] 		= {["name"] = "cb_strawberrycup", 		["label"] = "Strawberry Cupcake", 		 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_strawberrycup.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_banana_nut"] 		= {["name"] = "cb_banana_nut", 			["label"] = "Banana Cupcake", 			 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_banana_nut.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_strawberrycheese"] 	= {["name"] = "cb_strawberrycheese", 		["label"] = "Strawberry Cheese", 		 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_strawberrycheese.png", 		["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Fruits
["cb_kiwi"] 			= {["name"] = "cb_kiwi", 			["label"] = "Kiwi", 			 	 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_kiwi.png", 					["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_orange"] 			= {["name"] = "cb_orange", 			["label"] = "Orange", 			 	 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_orange.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_strawberry"] 		= {["name"] = "cb_strawberry", 			["label"] = "Strawberry", 			 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_strawberry.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_sugar"] 			= {["name"] = "cb_sugar", 			["label"] = "Sugar", 			 	 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_sugar.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_watermelon"] 		= {["name"] = "cb_watermelon", 			["label"] = "Watermelon", 			 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_watermelon.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_banana"] 			= {["name"] = "cb_banana", 			["label"] = "Banana", 			 	 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_banana.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cb_coconut"] 			= {["name"] = "cb_coconut", 			["label"] = "Coconut", 			 	 ["weight"] = 50, 	["type"] = "item", 	["image"] = "cb_coconut.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},


qb-smallresources/config.lua

ConsumeablesDrink = {
    ["cb_berry_hydrating"] = math.random(20, 40),
    ["cb_green_dream"] = math.random(20, 40),
    ["cb_island_breeze"] = math.random(20, 40),
    ["cb_just_peachy"] = math.random(20, 40),
    ["cb_watermelon_dream"] = math.random(20, 40),
    ["cb_ban_straw_juice"] = math.random(20, 40),
    ["cb_banana_juice"] = math.random(20, 40),
    ["cb_kiwi_juice"] = math.random(20, 40),
    ["cb_strawberry_juice"] = math.random(20, 40),
    ["cb_orange_juice"] = math.random(20, 40),

}

ConsumeablesEat = {
	["cb_banana_nut"] = math.random(20, 40),
	["cb_cake"] = math.random(20, 40),
	["cb_candy"] = math.random(20, 40),
	["cb_candycrunchbar"] = math.random(20, 40),
	["cb_candyheath"] = math.random(20, 40),
	["cb_candyhersheybar"] = math.random(20, 40),
	["cb_candykitkat"] = math.random(20, 40),
	["cb_candymilkyway"] = math.random(20, 40),
	["cb_candynerds"] = math.random(20, 40),
	["cb_candyskittles"] = math.random(20, 40),
	["cb_chocolate_cake"] = math.random(20, 40),
	["cb_chocolatecup"] = math.random(20, 40),
	["cb_strawberrycup"] = math.random(20, 40),
	["cb_vanillacupcakes"] = math.random(20, 40),
}

ConsumeablesAlcohol = {
    ["cb_cocktail"] = math.random(20, 30),
    ["cb_coconut_drink"] = math.random(30, 40),
    ["cb_island_fantasy"] = math.random(20, 40),
    ["cb_kamikaze"] = math.random(20, 40),
    ["cb_redhot_daquiri"] = math.random(20, 40),
}

qb-core/shared/jobs.lua

['coolbeans'] = {
    label = 'Cool Beans',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Recruit',
            payment = 50
        },
        ['1'] = {
            name = 'Employee',
            payment = 75
        },
        ['2'] = {
            name = 'Manager',
            payment = 100
        },
        ['3'] = {
            name = 'Chief',
            isboss = true,
            payment = 150
        },
    },
},

Last updated