Installation
Step 1
Make Sure all the dependencies are installed.
Required
Step 2
Adjust config.lua according to your liking
Make sure to set your target, clothing, billing, inventory script
Step 3
Now execute this query into your server database using heidisql or phpmyadmin.
CREATE TABLE IF NOT EXISTS `pl_rustybrowns` (
`stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_rustybrowns', 'Rusty Browns', 1);
INSERT INTO `datastore` (name, label, shared) VALUES
('society_rustybrowns', 'Rusty Browns', 1);
INSERT INTO `jobs` (name, label,whitelisted) VALUES
('rustybrowns', 'Rusty Browns',1)
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('rustybrowns',0,'cashier','Cashier',20,'{}','{}'),
('rustybrowns',1,'cook','Cook',40,'{}','{}'),
('rustybrowns',2,'staff','Staff',60,'{}','{}'),
('rustybrowns',3,'manager','Manager',85,'{}','{}'),
('rustybrowns',4,'boss','Owner',100,'{}','{}');
Step 4
Add the items into your server
Add the Following Items in ox_inventory/data/items.lua
["berry_glazed_donut"] = {
label = "Berry Glazed Donut",
weight = 1,
stack = true,
close = true,
},
["chococream_donut"] = {
label = "Cream Filled Donut",
weight = 1,
stack = true,
close = true,
},
["chocfrosted_donut"] = {
label = "Chocolate Frosted Donut",
weight = 1,
stack = true,
close = true,
},
["sprinkled_donut"] = {
label = "Chocolate Sprinkled Donut",
weight = 1,
stack = true,
close = true,
},
["cinnamon_sugar_donut"] = {
label = "Cinnamon Sugar Donut",
weight = 1,
stack = true,
close = true,
},
["cookiecream_donut"] = {
label = "Cookies and Cream Donut",
weight = 1,
stack = true,
close = true,
},
["cruller_donut"] = {
label = "Cruller Donut",
weight = 1,
stack = true,
close = true,
},
["lemon_iced_donut"] = {
label = "Lemon Iced Donut",
weight = 1,
stack = true,
close = true,
},
["mapple_bar_donut"] = {
label = "Mapple Bar Donut",
weight = 1,
stack = true,
close = true,
},
["strawberry_iced_donut"] = {
label = "Strawberry Iced Donut",
weight = 1,
stack = true,
close = true,
},
["iced_caramel_latte"] = {
label = "Iced Caramel Latte",
weight = 1,
stack = true,
close = true,
},
["mocha_frappe"] = {
label = "Mocha Frappe",
weight = 1,
stack = true,
close = true,
},
["cold_brew_coffee"] = {
label = "Rusty Cold Brew Coffee",
weight = 1,
stack = true,
close = true,
},
["iced_matcha_latte"] = {
label = "Rusty Iced Matcha Latte",
weight = 1,
stack = true,
close = true,
},
["vanilla_iced_coffee"] = {
label = "Rusty Vanilla Iced Coffee",
weight = 1,
stack = true,
close = true,
},
["strawberry_lemonade_slush"] = {
label = "Rustys Strawberry Lemonade Slush",
weight = 1,
stack = true,
close = true,
},
["iced_chai_tea_latte"] = {
label = "Rusty Iced Tea Latte",
weight = 1,
stack = true,
close = true,
},
["iced_mocha"] = {
label = "Rusty Iced Mocha",
weight = 1,
stack = true,
close = true,
},
["iced_coconut_coffee"] = {
label = "Rusty Iced Coconut Coffee",
weight = 1,
stack = true,
close = true,
},
["mint_chocolate_chip_milkshake"] = {
label = "Rusty Mint Chocolate Milkshake",
weight = 1,
stack = true,
close = true,
},
["croissant"] = {
label = "Croissant",
weight = 1,
stack = true,
close = true,
},
["apple_turnover"] = {
label = "Apple Turnover",
weight = 1,
stack = true,
close = true,
},
["cinnamon_roll"] = {
label = "Cinnamon Roll",
weight = 1,
stack = true,
close = true,
},
["eclairs"] = {
label = "Eclairs",
weight = 1,
stack = true,
close = true,
},
["danish_pastry"] = {
label = "Danish Pastry",
weight = 1,
stack = true,
close = true,
},
["puff_pastry_tarts"] = {
label = "Puff Pastry Tart",
weight = 1,
stack = true,
close = true,
},
["chocolate_pastry"] = {
label = "Chocolate Pastry",
weight = 1,
stack = true,
close = true,
},
["cream_puff"] = {
label = "Cream Puff",
weight = 1,
stack = true,
close = true,
},
["sticky_bun"] = {
label = "Sticky Bun",
weight = 1,
stack = true,
close = true,
},
["fruit_strudel"] = {
label = "Fruit Strudel",
weight = 1,
stack = true,
close = true,
},
["box_donut_a"] = {
label = "Sprinkled Donut Box",
weight = 1,
stack = true,
close = true,
},
["box_donut_b"] = {
label = "ChocoCream Donut Box",
weight = 1,
stack = true,
close = true,
},
["box_donut_c"] = {
label = "Cinnamon Sugar Donut Box",
weight = 1,
stack = true,
close = true,
},
["box_donut_d"] = {
label = "Lemon Iced Donut Box",
weight = 1,
stack = true,
close = true,
},
["box_donut_e"] = {
label = "Strawberry Iced Donut Box",
weight = 1,
stack = true,
close = true,
},
["rs_flour"] = {
label = "Rustys Donut Base",
weight = 1,
stack = true,
close = true,
},
["rs_berries"] = {
label = "Rustys Berries",
weight = 1,
stack = true,
close = true,
},
["rs_chocolate_cream"] = {
label = "Rustys Chocolate cream filling",
weight = 1,
stack = true,
close = true,
},
["rs_chocolate_glaze"] = {
label = "Rustys Chocolate glaze",
weight = 1,
stack = true,
close = true,
},
["rs_sprinkling_chocolate"] = {
label = "Rustys Sprinkling Chocolate",
weight = 1,
stack = true,
close = true,
},
["rs_cinnamon_sugar"] = {
label = "Rustys Cinnamon and Sugar Coating",
weight = 1,
stack = true,
close = true,
},
["rs_choco_cookies"] = {
label = "Rustys Chocolate Cookies",
weight = 1,
stack = true,
close = true,
},
["rs_sugar_glaze"] = {
label = "Rustys Sugar Glaze",
weight = 1,
stack = true,
close = true,
},
["rs_lemon"] = {
label = "Rustys Lemon",
weight = 1,
stack = true,
close = true,
},
["rs_maple_glaze"] = {
label = "Rustys Maple Glaze",
weight = 1,
stack = true,
close = true,
},
["rs_strawberry"] = {
label = "Rustys Strawberry",
weight = 1,
stack = true,
close = true,
},
["rs_ice"] = {
label = "Rustys Ice",
weight = 1,
stack = true,
close = true,
},
["rs_caramel_syrup"] = {
label = "Rustys Chocolate Syrup",
weight = 1,
stack = true,
close = true,
},
["rs_chocolate_syrup"] = {
label = "Black Beans",
weight = 1,
stack = true,
close = true,
},
["rs_coffee_beans"] = {
label = "Rustys Coffee Beans",
weight = 1,
stack = true,
close = true,
},
["rs_matcha_powder"] = {
label = "Rustys Matcha Powder",
weight = 1,
stack = true,
close = true,
},
["rs_chai_tea"] = {
label = "Rustys Tea Concentrate",
weight = 1,
stack = true,
close = true,
},
["rs_espresso"] = {
label = "Rustys Espresso",
weight = 1,
stack = true,
close = true,
},
["rs_coconut_milk"] = {
label = "Rustys Coconut Milk",
weight = 1,
stack = true,
close = true,
},
["rs_mint_icecream"] = {
label = "Rustys Mint IceCream",
weight = 1,
stack = true,
close = true,
},
["rs_butter"] = {
label = "Rustys Butter",
weight = 1,
stack = true,
close = true,
},
["rs_apple_filling"] = {
label = "Rustys Apple filling",
weight = 1,
stack = true,
close = true,
},
["rs_pastry_cream"] = {
label = "Rustys Pastry cream",
weight = 1,
stack = true,
close = true,
},
["rs_cream_cheese"] = {
label = "Rustys Cream cheese",
weight = 1,
stack = true,
close = true,
},
["rs_chocolate_sticks"] = {
label = "Rustys Chocolate sticks",
weight = 1,
stack = true,
close = true,
},
["rs_whipped_cream"] = {
label = "Rustys Whipped cream",
weight = 1,
stack = true,
close = true,
},
["rs_brownbutter_cinnamon"] = {
label = "Rustys Brown Sugar",
weight = 1,
stack = true,
close = true,
},
["rs_vanilla_syrup"] = {
label = "Rustys Vanilla Syrup",
weight = 1,
stack = true,
close = true,
},
Step 5 - For QBCore Only
Add the Following in qb-core/shared/jobs.lua
['rustybrowns'] = {
label = 'Rusty Browns',
defaultDuty = true,
grades = {
['0'] = {
name = 'Cashier',
payment = 50
},
['1'] = {
name = 'Cook',
payment = 75
},
['2'] = {
name = 'Shift Manager',
payment = 100
},
['3'] = {
name = 'Manager',
payment = 125,
},
['4'] = {
name = 'Owner',
payment = 125,
isboss = true,
},
},
},
Step 6 - Consumables
Add in qb-smallresourcse/config.lua
--If using old qb-smallresources
Config.ConsumablesDrink = {
['iced_caramel_latte'] = math.random(35, 54),
['mocha_frappe'] = math.random(35, 54),
['cold_brew_coffee'] = math.random(35, 54),
['iced_matcha_latte'] = math.random(35, 54),
['vanilla_iced_coffee'] = math.random(35, 54),
['strawberry_lemonade_slush'] = math.random(35, 54),
['iced_chai_tea_latte'] = math.random(35, 54),
['iced_mocha'] = math.random(35, 54),
['iced_coconut_coffee'] = math.random(35, 54),
['mint_chocolate_chip_milkshake'] = math.random(35, 54),
}
Config.ConsumablesEat = {
['berry_glazed_donut'] = math.random(35, 54),
['chococream_donut'] = math.random(35, 54),
['chocfrosted_donut'] = math.random(35, 54),
['sprinkled_donut'] = math.random(35, 54),
['cinnamon_sugar_donut'] = math.random(35, 54),
['cookiecream_donut'] = math.random(35, 54),
['cruller_donut'] = math.random(35, 54),
['lemon_iced_donut'] = math.random(35, 54),
['mapple_bar_donut'] = math.random(35, 54),
['strawberry_iced_donut'] = math.random(35, 54),
['croissant'] = math.random(35, 54),
['apple_turnover'] = math.random(35, 54),
['cinnamon_roll'] = math.random(35, 54),
['eclairs'] = math.random(35, 54),
['bg_danish_pastry'] = math.random(35, 54),
['puff_pastry_tarts'] = math.random(35, 54),
['chocolate_pastry'] = math.random(35, 54),
['cream_puff'] = math.random(35, 54),
['sticky_bun'] = math.random(35, 54),
['fruit_strudel'] = math.random(35, 54),
}
--If using new qb-smallresources
Config.Consumables = {
eat = {
['berry_glazed_donut'] = math.random(35, 54),
['chococream_donut'] = math.random(35, 54),
['chocfrosted_donut'] = math.random(35, 54),
['sprinkled_donut'] = math.random(35, 54),
['cinnamon_sugar_donut'] = math.random(35, 54),
['cookiecream_donut'] = math.random(35, 54),
['cruller_donut'] = math.random(35, 54),
['lemon_iced_donut'] = math.random(35, 54),
['mapple_bar_donut'] = math.random(35, 54),
['strawberry_iced_donut'] = math.random(35, 54),
['croissant'] = math.random(35, 54),
['apple_turnover'] = math.random(35, 54),
['cinnamon_roll'] = math.random(35, 54),
['eclairs'] = math.random(35, 54),
['bg_danish_pastry'] = math.random(35, 54),
['puff_pastry_tarts'] = math.random(35, 54),
['chocolate_pastry'] = math.random(35, 54),
['cream_puff'] = math.random(35, 54),
['sticky_bun'] = math.random(35, 54),
['fruit_strudel'] = math.random(35, 54),
},
drink = {
['iced_caramel_latte'] = math.random(35, 54),
['mocha_frappe'] = math.random(35, 54),
['cold_brew_coffee'] = math.random(35, 54),
['iced_matcha_latte'] = math.random(35, 54),
['vanilla_iced_coffee'] = math.random(35, 54),
['strawberry_lemonade_slush'] = math.random(35, 54),
['iced_chai_tea_latte'] = math.random(35, 54),
['iced_mocha'] = math.random(35, 54),
['iced_coconut_coffee'] = math.random(35, 54),
['mint_chocolate_chip_milkshake'] = math.random(35, 54),
},
}
Step 7
Copy all the Images folder and paste it in your inventory Images folder
Step 8 - Optional
To enable discord logs make sure to add your webhook in the server->Log.lua File
Last updated