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_uwucafe` (
`stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_uwu', 'Uwu Cafe', 1);
INSERT INTO `datastore` (name, label, shared) VALUES
('society_uwu', 'Uwu Cafe', 1);
INSERT INTO `jobs` (name, label,whitelisted) VALUES
('uwu', 'UwU Cafe',1)
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('uwu',0,'cashier','Cashier',20,'{}','{}'),
('uwu',1,'cook','Cook',40,'{}','{}'),
('uwu',2,'staff','Staff',60,'{}','{}'),
('uwu',3,'manager','Manager',85,'{}','{}'),
('uwu',4,'boss','Owner',100,'{}','{}')
;
Step 4
Add the items into your server
Add the Following Items in ox_inventory/data/items.lua
["cc_tonkotsu_ramen"] = {
label = "Tonkotsu Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_shoyu_ramen"] = {
label = "Shoyu Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_nagoya_taiwan_ramen"] = {
label = "Nagoya Taiwan Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_tropicalparadisesmoothie"] = {
label = "Tropical Paradise Smoothie",
weight = 1,
stack = true,
close = true,
},
["cc_turkey_sandwich"] = {
label = "Turkey Sandwich",
weight = 1,
stack = true,
close = true,
},
["cc_turkey_slices"] = {
label = "Turkey Slices",
weight = 1,
stack = true,
close = true,
},
["cc_vanilla_icecream"] = {
label = "Vanilla Icecream",
weight = 1,
stack = true,
close = true,
},
["cc_wheat_noodles"] = {
label = "Wheat Noodles",
weight = 1,
stack = true,
close = true,
},
["cc_yogurtcup"] = {
label = "Yogurt Cup",
weight = 1,
stack = true,
close = true,
},
["cc_avocado"] = {
label = "Avocado",
weight = 1,
stack = true,
close = true,
},
["cc_avocado_sandwich"] = {
label = "Avocado Sandwich",
weight = 1,
stack = true,
close = true,
},
["cc_bacon_strips"] = {
label = "Bacon Strips",
weight = 1,
stack = true,
close = true,
},
["cc_berryblastsmoothie"] = {
label = "BerryBlast Smoothie",
weight = 1,
stack = true,
close = true,
},
["cc_black_garlic_ramen"] = {
label = "Black Garlic Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_black_tapioca_pearls"] = {
label = "Black Tapioca Pearls",
weight = 1,
stack = true,
close = true,
},
["cc_brewed_black_tea"] = {
label = "Brewed Black Tea",
weight = 1,
stack = true,
close = true,
},
["cc_bubbletea"] = {
label = "Bubble Tea",
weight = 1,
stack = true,
close = true,
},
["cc_butter"] = {
label = "Butter",
weight = 1,
stack = true,
close = true,
},
["cc_cappuccino"] = {
label = "Cappuccino",
weight = 1,
stack = true,
close = true,
},
["cc_caprese_sandwich"] = {
label = "Caprese Sandwich",
weight = 1,
stack = true,
close = true,
},
["cc_chashu_pork"] = {
label = "Chashu Pork",
weight = 1,
stack = true,
close = true,
},
["cc_cheddar_cheese"] = {
label = "Cheddar Cheese",
weight = 1,
stack = true,
close = true,
},
["cc_cheese_sandwich"] = {
label = "Cheese Sandwich",
weight = 1,
stack = true,
close = true,
},
["cc_chocolatemilkshake"] = {
label = "Chocolate MilkShake",
weight = 1,
stack = true,
close = true,
},
["cc_chocolate_chips"] = {
label = "Chocolate Chips",
weight = 1,
stack = true,
close = true,
},
["cc_chocolate_cookies"] = {
label = "Chocolate Cookies",
weight = 1,
stack = true,
close = true,
},
["cc_chocolate_icecream"] = {
label = "Chocolate Icecream",
weight = 1,
stack = true,
close = true,
},
["cc_chocolate_syrup"] = {
label = "Chocolate Syrup",
weight = 1,
stack = true,
close = true,
},
["cc_classic_blt_sandwich"] = {
label = "Classic Blt Sandwich",
weight = 1,
stack = true,
close = true,
},
["cc_cocao_powder"] = {
label = "Cocoa Powder",
weight = 1,
stack = true,
close = true,
},
["cc_coconut_milk"] = {
label = "Coconut Milk",
weight = 1,
stack = true,
close = true,
},
["cc_coffee_icecream"] = {
label = "Coffee Icecream",
weight = 1,
stack = true,
close = true,
},
["cc_coffee_powder"] = {
label = "Coffee Powder",
weight = 1,
stack = true,
close = true,
},
["cc_cuporangejuice"] = {
label = "Cup of Orange Juice",
weight = 1,
stack = true,
close = true,
},
["cc_espresso"] = {
label = "Espresso",
weight = 1,
stack = true,
close = true,
},
["cc_fukuoka_hakata_ramen"] = {
label = "Fukuoka Hakata Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_green_onions"] = {
label = "Green Onions",
weight = 1,
stack = true,
close = true,
},
["cc_heavy_cream"] = {
label = "Heavy Cream",
weight = 1,
stack = true,
close = true,
},
["cc_hotchocolate"] = {
label = "Hot Chocolate",
weight = 1,
stack = true,
close = true,
},
["cc_iekei_ramen"] = {
label = "Iekei Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_latte"] = {
label = "Latte",
weight = 1,
stack = true,
close = true,
},
["cc_lettuce"] = {
label = "Lettuce",
weight = 1,
stack = true,
close = true,
},
["cc_mango_chunks"] = {
label = "Mango Chunks",
weight = 1,
stack = true,
close = true,
},
["cc_milk"] = {
label = "Milk",
weight = 1,
stack = true,
close = true,
},
["cc_mintchoco_icecream"] = {
label = "Mintchoco Icecream",
weight = 1,
stack = true,
close = true,
},
["cc_miso_broth"] = {
label = "Miso Broth",
weight = 1,
stack = true,
close = true,
},
["cc_miso_ramen"] = {
label = "Miso Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_mixedberries"] = {
label = "Mixed Berries",
weight = 1,
stack = true,
close = true,
},
["cc_mocha"] = {
label = "Mocha",
weight = 1,
stack = true,
close = true,
},
["cc_mozzarella_cheese"] = {
label = "Mozzarella Cheese",
weight = 1,
stack = true,
close = true,
},
["cc_osaka_shio_ramen"] = {
label = "Osaka Shio Ramen",
weight = 1,
stack = true,
close = true,
},
["cc_pineapple_chunks"] = {
label = "Pineapple Chunks",
weight = 1,
stack = true,
close = true,
},
["cc_pure_vanilla"] = {
label = "Pure Vanilla",
weight = 1,
stack = true,
close = true,
},
["cc_ripebanana"] = {
label = "Ripe Banana",
weight = 1,
stack = true,
close = true,
},
["cc_slices_of_bread"] = {
label = "Slices of Bread",
weight = 1,
stack = true,
close = true,
},
["cc_soft_boiled_egg"] = {
label = "Soft Boiled Egg",
weight = 1,
stack = true,
close = true,
},
["cc_spinach"] = {
label = "Spinach",
weight = 1,
stack = true,
close = true,
},
["cc_strawberries"] = {
label = "Strawberries",
weight = 1,
stack = true,
close = true,
},
["cc_strawberrysmoothie"] = {
label = "Strawberry Smoothie",
weight = 1,
stack = true,
close = true,
},
["cc_strawberry_icecream"] = {
label = "Strawberry Icecream",
weight = 1,
stack = true,
close = true,
},
["cc_sugar"] = {
label = "Sugar",
weight = 1,
stack = true,
close = true,
},
Step 5 - For QBCore Only
Add the Following in qb-core/shared/jobs.lua
['uwu'] = {
label = 'Uwu Cafe',
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 = {
['cc_bubbletea'] = math.random(35, 54),
['cc_chocolatemilkshake'] = math.random(35, 54),
['cc_strawberrysmoothie'] = math.random(35, 54),
['cc_berryblastsmoothie'] = math.random(35, 54),
['cc_tropicalparadisesmoothie'] = math.random(35, 54),
['cc_espresso'] = math.random(35, 54),
['cc_cappuccino'] = math.random(35, 54),
['cc_latte'] = math.random(35, 54),
['cc_mocha'] = math.random(35, 54),
['cc_hotchocolate'] = math.random(35, 54),
}
Config.ConsumablesEat = {
['cc_fukuoka_hakata_ramen'] = math.random(35, 54),
['cc_miso_ramen'] = math.random(35, 54),
['cc_nagoya_taiwan_ramen'] = math.random(35, 54),
['cc_osaka_shio_ramen'] = math.random(35, 54),
['cc_shoyu_ramen'] = math.random(35, 54),
['cc_tonkotsu_ramen'] = math.random(35, 54),
['cc_iekei_ramen'] = math.random(35, 54),
['cc_black_garlic_ramen'] = math.random(35, 54),
['cc_vanilla_icecream'] = math.random(35, 54),
['cc_chocolate_icecream'] = math.random(35, 54),
['cc_strawberry_icecream'] = math.random(35, 54),
['cc_mintchoco_icecream'] = math.random(35, 54),
['cc_coffee_icecream'] = math.random(35, 54),
['cc_classic_blt_sandwich'] = math.random(35, 54),
['cc_cheese_sandwich'] = math.random(35, 54),
['cc_turkey_sandwich'] = math.random(35, 54),
['cc_caprese_sandwich'] = math.random(35, 54),
['cc_avocado_sandwich'] = math.random(35, 54),
}
--If using new qb-smallresources
Config.Consumables = {
eat = {
['cc_fukuoka_hakata_ramen'] = math.random(35, 54),
['cc_miso_ramen'] = math.random(35, 54),
['cc_nagoya_taiwan_ramen'] = math.random(35, 54),
['cc_osaka_shio_ramen'] = math.random(35, 54),
['cc_shoyu_ramen'] = math.random(35, 54),
['cc_tonkotsu_ramen'] = math.random(35, 54),
['cc_iekei_ramen'] = math.random(35, 54),
['cc_black_garlic_ramen'] = math.random(35, 54),
['cc_vanilla_icecream'] = math.random(35, 54),
['cc_chocolate_icecream'] = math.random(35, 54),
['cc_strawberry_icecream'] = math.random(35, 54),
['cc_mintchoco_icecream'] = math.random(35, 54),
['cc_coffee_icecream'] = math.random(35, 54),
['cc_classic_blt_sandwich'] = math.random(35, 54),
['cc_cheese_sandwich'] = math.random(35, 54),
['cc_turkey_sandwich'] = math.random(35, 54),
['cc_caprese_sandwich'] = math.random(35, 54),
['cc_avocado_sandwich'] = math.random(35, 54),
},
drink = {
['cc_bubbletea'] = math.random(35, 54),
['cc_chocolatemilkshake'] = math.random(35, 54),
['cc_strawberrysmoothie'] = math.random(35, 54),
['cc_berryblastsmoothie'] = math.random(35, 54),
['cc_tropicalparadisesmoothie'] = math.random(35, 54),
['cc_espresso'] = math.random(35, 54),
['cc_cappuccino'] = math.random(35, 54),
['cc_latte'] = math.random(35, 54),
['cc_mocha'] = math.random(35, 54),
['cc_hotchocolate'] = 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
Video of Installation
Last updated