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_pearls` (
`stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_pearls', 'Pearls', 1);
INSERT INTO `datastore` (name, label, shared) VALUES
('society_pearls', 'Pearls', 1);
INSERT INTO `jobs` (name, label,whitelisted) VALUES
('pearls', 'Pearls',1)
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('pearls',0,'cashier','Cashier',20,'{}','{}'),
('pearls',1,'cook','Cook',40,'{}','{}'),
('pearls',2,'staff','Staff',60,'{}','{}'),
('pearls',3,'manager','Manager',85,'{}','{}'),
('pearls',4,'boss','Owner',100,'{}','{}');
Step 4
Add the items into your server
Add the Following Items in ox_inventory/data/items.lua
["pearl_grill_salmon"] = {
label = "Coffee Beans Butter",
weight = 1,
stack = true,
close = true,
},
["pearl_hazelnut_syrup"] = {
label = "Hazelnut Syrup",
weight = 1,
stack = true,
close = true,
},
["pearl_herb"] = {
label = "Herb sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_hibiscus_tea"] = {
label = "Hibiscus Tea",
weight = 1,
stack = true,
close = true,
},
["pearl_honey"] = {
label = "Honey",
weight = 1,
stack = true,
close = true,
},
["pearl_ice"] = {
label = "Pearls Ice",
weight = 1,
stack = true,
close = true,
},
["pearl_iced_coffee"] = {
label = "Iced Coffee",
weight = 1,
stack = true,
close = true,
},
["pearl_iced_tea"] = {
label = "Iced Green Tea",
weight = 1,
stack = true,
close = true,
},
["pearl_kombucha"] = {
label = "Kombucha",
weight = 1,
stack = true,
close = true,
},
["pearl_latte"] = {
label = "Latte",
weight = 1,
stack = true,
close = true,
},
["pearl_lemon"] = {
label = "Lemon",
weight = 1,
stack = true,
close = true,
},
["pearl_lemonade"] = {
label = "Freshly Squeezed Lemonade",
weight = 1,
stack = true,
close = true,
},
["pearl_lemon_mint"] = {
label = "Lemon and Mint",
weight = 1,
stack = true,
close = true,
},
["pearl_lemon_sauce"] = {
label = "Lemon Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_lime_slaw"] = {
label = "Lime Slaw",
weight = 1,
stack = true,
close = true,
},
["pearl_macchiato"] = {
label = "Macchiato",
weight = 1,
stack = true,
close = true,
},
["pearl_mango_salsa"] = {
label = "Mango Salsa",
weight = 1,
stack = true,
close = true,
},
["pearl_mint"] = {
label = "Mint",
weight = 1,
stack = true,
close = true,
},
["pearl_mixed_fruit"] = {
label = "Mixed Fruit Juice",
weight = 1,
stack = true,
close = true,
},
["pearl_mocha"] = {
label = "Mocha",
weight = 1,
stack = true,
close = true,
},
["pearl_parmesan_cheese"] = {
label = "Parmesan cheese",
weight = 1,
stack = true,
close = true,
},
["pearl_pesto"] = {
label = "Pesto",
weight = 1,
stack = true,
close = true,
},
["pearl_pineapple"] = {
label = "Pineapple",
weight = 1,
stack = true,
close = true,
},
["pearl_pineapple_juice"] = {
label = "Pineapple Juice",
weight = 1,
stack = true,
close = true,
},
["pearl_poke_sauce"] = {
label = "Poke Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_red_snapper"] = {
label = "Red Snapper",
weight = 1,
stack = true,
close = true,
},
["pearl_salmon"] = {
label = "Grilled Salmon",
weight = 1,
stack = true,
close = true,
},
["pearl_salsa"] = {
label = "Mango Salsa",
weight = 1,
stack = true,
close = true,
},
["pearl_samosa"] = {
label = "Fish Samosas",
weight = 1,
stack = true,
close = true,
},
["pearl_seared_cod"] = {
label = "Seared Cod",
weight = 1,
stack = true,
close = true,
},
["pearl_sea_bass"] = {
label = "Sea Bass",
weight = 1,
stack = true,
close = true,
},
["pearl_shrimp"] = {
label = "Shrimp Cocktail",
weight = 1,
stack = true,
close = true,
},
["pearl_skewers"] = {
label = "Fish Skewers",
weight = 1,
stack = true,
close = true,
},
["pearl_soy_sauce"] = {
label = "Soy Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_sugar"] = {
label = "Sugar",
weight = 1,
stack = true,
close = true,
},
["pearl_swordfish_steak"] = {
label = "Swordfish Steak",
weight = 1,
stack = true,
close = true,
},
["pearl_tacos"] = {
label = "Tacos",
weight = 1,
stack = true,
close = true,
},
["pearl_tartar"] = {
label = "Fish Tartar",
weight = 1,
stack = true,
close = true,
},
["pearl_tilapia"] = {
label = "Tilapia",
weight = 1,
stack = true,
close = true,
},
["pearl_tumeric"] = {
label = "Tumeric",
weight = 1,
stack = true,
close = true,
},
["pearl_tuna_bites"] = {
label = "Tuna Poke Bites",
weight = 1,
stack = true,
close = true,
},
["pearl_vanilla_icecream"] = {
label = "Vanilla Ice Cream",
weight = 1,
stack = true,
close = true,
},
["pearl_vanilla_syrup"] = {
label = "Vanilla Syrup",
weight = 1,
stack = true,
close = true,
},
["pearl_wedges"] = {
label = "Wedges",
weight = 1,
stack = true,
close = true,
},
["pearl_whipped_cream"] = {
label = "Whipped Cream",
weight = 1,
stack = true,
close = true,
},
["pearl_affogato"] = {
label = "Affogato",
weight = 1,
stack = true,
close = true,
},
["pearl_aioli"] = {
label = "Aioli",
weight = 1,
stack = true,
close = true,
},
["pearl_ale"] = {
label = "Ginger Ale",
weight = 1,
stack = true,
close = true,
},
["pearl_almond"] = {
label = "Almond Milk",
weight = 1,
stack = true,
close = true,
},
["pearl_americano"] = {
label = "Americano",
weight = 1,
stack = true,
close = true,
},
["pearl_beer_batter"] = {
label = "Beer batter",
weight = 1,
stack = true,
close = true,
},
["pearl_blackening_seaon"] = {
label = "Blackening seasoning",
weight = 1,
stack = true,
close = true,
},
["pearl_brew"] = {
label = "Iced Brew",
weight = 1,
stack = true,
close = true,
},
["pearl_broiled_halibut"] = {
label = "Broiled Halibut",
weight = 1,
stack = true,
close = true,
},
["pearl_bruschetta"] = {
label = "Anchovy Bruschetta",
weight = 1,
stack = true,
close = true,
},
["pearl_calamari"] = {
label = "Calamari",
weight = 1,
stack = true,
close = true,
},
["pearl_cappuccino"] = {
label = "Cappuccino",
weight = 1,
stack = true,
close = true,
},
["pearl_caramel_syrup"] = {
label = "Caramel Syrup",
weight = 1,
stack = true,
close = true,
},
["pearl_ceviche"] = {
label = "Smoked Salmon Crostini",
weight = 1,
stack = true,
close = true,
},
["pearl_chilli_sauce"] = {
label = "Chili Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_chocolate_syrup"] = {
label = "Chocolate Syrup",
weight = 1,
stack = true,
close = true,
},
["pearl_cilantro"] = {
label = "Grilled Salmon",
weight = 1,
stack = true,
close = true,
},
["pearl_cinnamon_stick"] = {
label = "Cinnamon Stick",
weight = 1,
stack = true,
close = true,
},
["pearl_citrus"] = {
label = "Citrus Slices",
weight = 1,
stack = true,
close = true,
},
["pearl_citrus_water"] = {
label = "Sparkling Water",
weight = 1,
stack = true,
close = true,
},
["pearl_cocktail_sauce"] = {
label = "Cocktail Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_coconut"] = {
label = "Coconut",
weight = 1,
stack = true,
close = true,
},
["pearl_coconut_water"] = {
label = "Fresh Coconut Water",
weight = 1,
stack = true,
close = true,
},
["pearl_coffee_bean"] = {
label = "Coffee Beans",
weight = 1,
stack = true,
close = true,
},
["pearl_crostini"] = {
label = "Crispy Bread",
weight = 1,
stack = true,
close = true,
},
["pearl_dark_chocolate"] = {
label = "Dark Chocolate",
weight = 1,
stack = true,
close = true,
},
["pearl_espresso"] = {
label = "Espresso",
weight = 1,
stack = true,
close = true,
},
["pearl_fillet"] = {
label = "Fillet",
weight = 1,
stack = true,
close = true,
},
["pearl_fish_cake"] = {
label = "Fish Cakes",
weight = 1,
stack = true,
close = true,
},
["pearl_fish_chips"] = {
label = "Fish and Chips",
weight = 1,
stack = true,
close = true,
},
["pearl_flat_white"] = {
label = "Flat White",
weight = 1,
stack = true,
close = true,
},
["pearl_fruit"] = {
label = "Fruit Punch",
weight = 1,
stack = true,
close = true,
},
["pearl_garlic"] = {
label = "Garlic",
weight = 1,
stack = true,
close = true,
},
["pearl_garlic_butter"] = {
label = "Garlic Butter Special Sauce",
weight = 1,
stack = true,
close = true,
},
["pearl_ginger"] = {
label = "Ginger",
weight = 1,
stack = true,
close = true,
},
Step 5 - For QBCore Only
Add the Following in qb-core/shared/jobs.lua
['pearls'] = {
label = 'Pearls',
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 = {
['pearl_espresso'] = math.random(35, 54),
['pearl_americano'] = math.random(35, 54),
['pearl_cappuccino'] = math.random(35, 54),
['pearl_latte'] = math.random(35, 54),
['pearl_mocha'] = math.random(35, 54),
['pearl_iced_coffee'] = math.random(35, 54),
['pearl_brew'] = math.random(35, 54),
['pearl_macchiato'] = math.random(35, 54),
['pearl_flat_white'] = math.random(35, 54),
['pearl_affogato'] = math.random(35, 54),
['pearl_lemonade'] = math.random(35, 54),
['pearl_iced_tea'] = math.random(35, 54),
['pearl_citrus_water'] = math.random(35, 54),
['pearl_fruit'] = math.random(35, 54),
['pearl_hibiscus_tea'] = math.random(35, 54),
['pearl_coconut_water'] = math.random(35, 54),
['pearl_ale'] = math.random(35, 54),
['pearl_lemon_mint'] = math.random(35, 54),
['pearl_kombucha'] = math.random(35, 54),
['pearl_pineapple_juice'] = math.random(35, 54),
}
Config.ConsumablesEat = {
['pearl_grill_salmon'] = math.random(35, 54),
['pearl_seared_cod'] = math.random(35, 54),
['pearl_tilapia'] = math.random(35, 54),
['pearl_red_snapper'] = math.random(35, 54),
['pearl_fish_chips'] = math.random(35, 54),
['pearl_salsa'] = math.random(35, 54),
['pearl_sea_bass'] = math.random(35, 54),
['pearl_tacos'] = math.random(35, 54),
['pearl_broiled_halibut'] = math.random(35, 54),
['pearl_swordfish_steak'] = math.random(35, 54),
['pearl_ceviche'] = math.random(35, 54),
['pearl_salmon'] = math.random(35, 54),
['pearl_tartar'] = math.random(35, 54),
['pearl_fish_cake'] = math.random(35, 54),
['pearl_shrimp'] = math.random(35, 54),
['pearl_bruschetta'] = math.random(35, 54),
['pearl_skewers'] = math.random(35, 54),
['pearl_samosa'] = math.random(35, 54),
['pearl_calamari'] = math.random(35, 54),
['pearl_tuna_bites'] = math.random(35, 54),
}
--If using new qb-smallresources
Config.Consumables = {
eat = {
['pearl_grill_salmon'] = math.random(35, 54),
['pearl_seared_cod'] = math.random(35, 54),
['pearl_tilapia'] = math.random(35, 54),
['pearl_red_snapper'] = math.random(35, 54),
['pearl_fish_chips'] = math.random(35, 54),
['pearl_salsa'] = math.random(35, 54),
['pearl_sea_bass'] = math.random(35, 54),
['pearl_tacos'] = math.random(35, 54),
['pearl_broiled_halibut'] = math.random(35, 54),
['pearl_swordfish_steak'] = math.random(35, 54),
['pearl_ceviche'] = math.random(35, 54),
['pearl_salmon'] = math.random(35, 54),
['pearl_tartar'] = math.random(35, 54),
['pearl_fish_cake'] = math.random(35, 54),
['pearl_shrimp'] = math.random(35, 54),
['pearl_bruschetta'] = math.random(35, 54),
['pearl_skewers'] = math.random(35, 54),
['pearl_samosa'] = math.random(35, 54),
['pearl_calamari'] = math.random(35, 54),
['pearl_tuna_bites'] = math.random(35, 54),
},
drink = {
['pearl_espresso'] = math.random(35, 54),
['pearl_americano'] = math.random(35, 54),
['pearl_cappuccino'] = math.random(35, 54),
['pearl_latte'] = math.random(35, 54),
['pearl_mocha'] = math.random(35, 54),
['pearl_iced_coffee'] = math.random(35, 54),
['pearl_brew'] = math.random(35, 54),
['pearl_macchiato'] = math.random(35, 54),
['pearl_flat_white'] = math.random(35, 54),
['pearl_affogato'] = math.random(35, 54),
['pearl_lemonade'] = math.random(35, 54),
['pearl_iced_tea'] = math.random(35, 54),
['pearl_citrus_water'] = math.random(35, 54),
['pearl_fruit'] = math.random(35, 54),
['pearl_hibiscus_tea'] = math.random(35, 54),
['pearl_coconut_water'] = math.random(35, 54),
['pearl_ale'] = math.random(35, 54),
['pearl_lemon_mint'] = math.random(35, 54),
['pearl_kombucha'] = math.random(35, 54),
['pearl_pineapple_juice'] = 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