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_pizzathis` (
`stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_pizzathis', 'Pizza This', 1);
INSERT INTO `datastore` (name, label, shared) VALUES
('society_pizzathis', 'Pizza This', 1);
INSERT INTO `jobs` (name, label,whitelisted) VALUES
('pizzathis', 'Pizza This',1)
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('pizzathis',0,'cashier','Cashier',20,'{}','{}'),
('pizzathis',1,'cook','Cook',40,'{}','{}'),
('pizzathis',2,'staff','Staff',60,'{}','{}'),
('pizzathis',3,'manager','Manager',85,'{}','{}'),
('pizzathis',4,'boss','Owner',100,'{}','{}');
Step 4
Add the items into your server
Add the Following Items in ox_inventory/data/items.lua
["pt_margherita"] = {
label = "Classic Margherita",
weight = 1,
stack = true,
close = true,
},
["pt_pepperoni"] = {
label = "Pepperoni Feast",
weight = 1,
stack = true,
close = true,
},
["pt_bbq_chicken"] = {
label = "BBq Chicken Pizza",
weight = 1,
stack = true,
close = true,
},
["pt_veggie"] = {
label = "Veggie",
weight = 1,
stack = true,
close = true,
},
["pt_hawaiian"] = {
label = "Hawaiian Paradise",
weight = 1,
stack = true,
close = true,
},
["pt_chicken"] = {
label = "Meat Lovers Special",
weight = 1,
stack = true,
close = true,
},
["pt_four_cheese"] = {
label = "Four Cheese Heaven",
weight = 1,
stack = true,
close = true,
},
["pt_sausage"] = {
label = "Spicy Sausage Sizzle",
weight = 1,
stack = true,
close = true,
},
["pt_buffalo"] = {
label = "Buffalo Chicken Ranch",
weight = 1,
stack = true,
close = true,
},
["pt_garlic_spinach"] = {
label = "Garlic Spinach Alfredo",
weight = 1,
stack = true,
close = true,
},
["pt_dough"] = {
label = "Pizza Base",
weight = 1,
stack = true,
close = true,
},
["pt_basil_leaves"] = {
label = "Basil Leaves",
weight = 1,
stack = true,
close = true,
},
["pt_marinara_sauce"] = {
label = "Spicy Marinara Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_bbq_sauce"] = {
label = "Smoky BBQ Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_black_olives"] = {
label = "Black Olives",
weight = 1,
stack = true,
close = true,
},
["pt_pineapple_chunks"] = {
label = "Pineapple Chunks",
weight = 1,
stack = true,
close = true,
},
["pt_bacon_crumbles"] = {
label = "Bacon Crumbles",
weight = 1,
stack = true,
close = true,
},
["pt_gorgonzola_cheese"] = {
label = "Gorgonzola Cheese",
weight = 1,
stack = true,
close = true,
},
["pt_italian_suasage"] = {
label = "Italian Sausage",
weight = 1,
stack = true,
close = true,
},
["pt_ranch_sauce"] = {
label = "Ranch Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_garlic_alfredo_sauce"] = {
label = "Garlic Alfredo Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_garlic_knots"] = {
label = "Garlic Knots",
weight = 1,
stack = true,
close = true,
},
["pt_mozzarella_sticks"] = {
label = "Mozzarella Sticks",
weight = 1,
stack = true,
close = true,
},
["pt_cheesy_breadsticks"] = {
label = "Cheesy Breadsticks",
weight = 1,
stack = true,
close = true,
},
["pt_buffalo_wings"] = {
label = "Buffalo Chicken Wings",
weight = 1,
stack = true,
close = true,
},
["pt_bruschetta_bites"] = {
label = "Bruschetta Bites",
weight = 1,
stack = true,
close = true,
},
["pt_jalapeno_popper"] = {
label = "Jalapeno Poppers",
weight = 1,
stack = true,
close = true,
},
["pt_calamari"] = {
label = "Fried Calamari",
weight = 1,
stack = true,
close = true,
},
["pt_spinach_dip"] = {
label = "Spinach & Artichoke Dip",
weight = 1,
stack = true,
close = true,
},
["pt_olive_oil"] = {
label = "Olive Oil",
weight = 1,
stack = true,
close = true,
},
["pt_crispy_bread"] = {
label = "Crispy Bread",
weight = 1,
stack = true,
close = true,
},
["pt_mozzarella"] = {
label = "Melted Mozzarella",
weight = 1,
stack = true,
close = true,
},
["pt_buffalo_sauce"] = {
label = "Buffalo Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_basil"] = {
label = "Fresh Basil",
weight = 1,
stack = true,
close = true,
},
["pt_cream_cheese"] = {
label = "Cream Cheese",
weight = 1,
stack = true,
close = true,
},
["pt_lemon_aioli"] = {
label = "Lemon Aioli",
weight = 1,
stack = true,
close = true,
},
["pt_artichokes"] = {
label = "Artichokes",
weight = 1,
stack = true,
close = true,
},
["pt_caesar"] = {
label = "Classic Caesar Salad",
weight = 1,
stack = true,
close = true,
},
["pt_greek_feta"] = {
label = "Greek Feta Salad",
weight = 1,
stack = true,
close = true,
},
["pt_caprese"] = {
label = "Caprese Salad",
weight = 1,
stack = true,
close = true,
},
["pt_chicken_caesar"] = {
label = "Chicken Caesar Salad",
weight = 1,
stack = true,
close = true,
},
["pt_fresh_garden"] = {
label = "Garden Fresh Salad",
weight = 1,
stack = true,
close = true,
},
["pt_mediterranean_quinoa"] = {
label = "Mediterranean Quinoa Salad",
weight = 1,
stack = true,
close = true,
},
["pt_antipasto"] = {
label = "Antipasto Salad",
weight = 1,
stack = true,
close = true,
},
["pt_spinach_bacon"] = {
label = "Spinach & Bacon Salad",
weight = 1,
stack = true,
close = true,
},
["pt_vinegar"] = {
label = "Vinegar",
weight = 1,
stack = true,
close = true,
},
["pt_parmesan"] = {
label = "Parmesan Shavings",
weight = 1,
stack = true,
close = true,
},
["pt_kalamata_olives"] = {
label = "Kalamata Olives",
weight = 1,
stack = true,
close = true,
},
["pt_balsamic_glaze"] = {
label = "Balsamic Glaze",
weight = 1,
stack = true,
close = true,
},
["pt_garlic_croutons"] = {
label = "Garlic Croutons",
weight = 1,
stack = true,
close = true,
},
["pt_avocado_slice"] = {
label = "Avocado Slices",
weight = 1,
stack = true,
close = true,
},
["pt_crispy_bacon"] = {
label = "Crispy Bacon Bits",
weight = 1,
stack = true,
close = true,
},
["pt_quinoa"] = {
label = "Quinoa",
weight = 1,
stack = true,
close = true,
},
["pt_marinated_artichokes"] = {
label = "Marinated Artichokes",
weight = 1,
stack = true,
close = true,
},
["pt_alfredo"] = {
label = "Creamy Alfredo Pasta",
weight = 1,
stack = true,
close = true,
},
["pt_spaghetti"] = {
label = "Spaghetti Bolognese",
weight = 1,
stack = true,
close = true,
},
["pt_penne_arrabbiata"] = {
label = "Penne Arrabbiata",
weight = 1,
stack = true,
close = true,
},
["pt_vegetable"] = {
label = "Vegetable Primavera",
weight = 1,
stack = true,
close = true,
},
["pt_lasagna"] = {
label = "Lasagna Classico",
weight = 1,
stack = true,
close = true,
},
["pt_shrimp_scampi"] = {
label = "Shrimp Scampi Linguine",
weight = 1,
stack = true,
close = true,
},
["pt_garlic"] = {
label = "Garlic",
weight = 1,
stack = true,
close = true,
},
["pt_parmesan_cream_sauce"] = {
label = "Parmesan Cream Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_beef"] = {
label = "Beef",
weight = 1,
stack = true,
close = true,
},
["pt_penne_pasta"] = {
label = "Penne Pasta",
weight = 1,
stack = true,
close = true,
},
["pt_basil_pesto_sauce"] = {
label = "Basil Pesto Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_mozzarella_cream_sauce"] = {
label = "Mozzarella-Infused Cream Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_lemon_zest"] = {
label = "Lemon Zest",
weight = 1,
stack = true,
close = true,
},
["pt_bechamel_sauce"] = {
label = "Bechamel Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_garlic_butter"] = {
label = "Garlic Butter Sauce",
weight = 1,
stack = true,
close = true,
},
["pt_citraspark"] = {
label = "Citra Spark",
weight = 1,
stack = true,
close = true,
},
["pt_berrywhirl"] = {
label = "Berry Whirl",
weight = 1,
stack = true,
close = true,
},
["pt_rosella_bloom"] = {
label = "Rosella Bloom",
weight = 1,
stack = true,
close = true,
},
["pt_crimson_ridge"] = {
label = "Crimson Ridge",
weight = 1,
stack = true,
close = true,
},
["pt_amberwheat"] = {
label = "AmberWheat Brew",
weight = 1,
stack = true,
close = true,
},
["pt_ironwoord_stout"] = {
label = "IronWood Stout",
weight = 1,
stack = true,
close = true,
},
["pt_carbonated_water"] = {
label = "Carbonated Water",
weight = 1,
stack = true,
close = true,
},
["pt_citric_acid"] = {
label = "Citric Acid",
weight = 1,
stack = true,
close = true,
},
["pt_lime"] = {
label = "Lemon-Lime Soda",
weight = 1,
stack = true,
close = true,
},
["pt_chardonnay_grapes"] = {
label = "Chardonnay Grapes",
weight = 1,
stack = true,
close = true,
},
["malted_barley"] = {
label = "Malted Barley",
weight = 1,
stack = true,
close = true,
},
["plisner_malt"] = {
label = "Pilsner Malt",
weight = 1,
stack = true,
close = true,
},
Step 5 - For QBCore Only
Add the Following in qb-core/shared/jobs.lua
['pizzathis'] = {
label = 'Pizza This',
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 = {
['pt_citraspark'] = math.random(35, 54),
['pt_berrywhirl'] = math.random(35, 54),
['pt_rosella_bloom'] = math.random(35, 54),
['pt_crimson_ridge'] = math.random(35, 54),
['pt_amberwheat'] = math.random(35, 54),
['pt_ironwoord_stout'] = math.random(35, 54),
}
Config.ConsumablesEat = {
['pt_margherita'] = math.random(35, 54),
['pt_pepperoni'] = math.random(35, 54),
['pt_bbq_chicken'] = math.random(35, 54),
['pt_veggie'] = math.random(35, 54),
['pt_hawaiian'] = math.random(35, 54),
['pt_chicken'] = math.random(35, 54),
['pt_four_cheese'] = math.random(35, 54),
['pt_sausage'] = math.random(35, 54),
['pt_buffalo'] = math.random(35, 54),
['pt_garlic_spinach'] = math.random(35, 54),
['pt_garlic_knots'] = math.random(35, 54),
['pt_mozzarella_sticks'] = math.random(35, 54),
['pt_cheesy_breadsticks'] = math.random(35, 54),
['pt_buffalo_wings'] = math.random(35, 54),
['pt_bruschetta_bites'] = math.random(35, 54),
['pt_jalapeno_popper'] = math.random(35, 54),
['pt_calamari'] = math.random(35, 54),
['pt_spinach_dip'] = math.random(35, 54),
['pt_caesar'] = math.random(35, 54),
['pt_greek_feta'] = math.random(35, 54),
['pt_caprese'] = math.random(35, 54),
['pt_chicken_caesar'] = math.random(35, 54),
['pt_fresh_garden'] = math.random(35, 54),
['pt_spinach_bacon'] = math.random(35, 54),
['pt_mediterranean_quinoa'] = math.random(35, 54),
['pt_antipasto'] = math.random(35, 54),
['pt_alfredo'] = math.random(35, 54),
['pt_spaghetti'] = math.random(35, 54),
['pt_penne_arrabbiata'] = math.random(35, 54),
['pt_chicken_pesto'] = math.random(35, 54),
['pt_vegetable'] = math.random(35, 54),
['pt_lasagna'] = math.random(35, 54),
['pt_shrimp_scampi'] = math.random(35, 54),
}
--If using new qb-smallresources
Config.Consumables = {
eat = {
['pt_margherita'] = math.random(35, 54),
['pt_pepperoni'] = math.random(35, 54),
['pt_bbq_chicken'] = math.random(35, 54),
['pt_veggie'] = math.random(35, 54),
['pt_hawaiian'] = math.random(35, 54),
['pt_chicken'] = math.random(35, 54),
['pt_four_cheese'] = math.random(35, 54),
['pt_sausage'] = math.random(35, 54),
['pt_buffalo'] = math.random(35, 54),
['pt_garlic_spinach'] = math.random(35, 54),
['pt_garlic_knots'] = math.random(35, 54),
['pt_mozzarella_sticks'] = math.random(35, 54),
['pt_cheesy_breadsticks'] = math.random(35, 54),
['pt_buffalo_wings'] = math.random(35, 54),
['pt_bruschetta_bites'] = math.random(35, 54),
['pt_jalapeno_popper'] = math.random(35, 54),
['pt_calamari'] = math.random(35, 54),
['pt_spinach_dip'] = math.random(35, 54),
['pt_caesar'] = math.random(35, 54),
['pt_greek_feta'] = math.random(35, 54),
['pt_caprese'] = math.random(35, 54),
['pt_chicken_caesar'] = math.random(35, 54),
['pt_fresh_garden'] = math.random(35, 54),
['pt_spinach_bacon'] = math.random(35, 54),
['pt_mediterranean_quinoa'] = math.random(35, 54),
['pt_antipasto'] = math.random(35, 54),
['pt_alfredo'] = math.random(35, 54),
['pt_spaghetti'] = math.random(35, 54),
['pt_penne_arrabbiata'] = math.random(35, 54),
['pt_chicken_pesto'] = math.random(35, 54),
['pt_vegetable'] = math.random(35, 54),
['pt_lasagna'] = math.random(35, 54),
['pt_shrimp_scampi'] = math.random(35, 54),
},
drink = {
['pt_citraspark'] = math.random(35, 54),
['pt_berrywhirl'] = math.random(35, 54),
['pt_rosella_bloom'] = math.random(35, 54),
['pt_crimson_ridge'] = math.random(35, 54),
['pt_amberwheat'] = math.random(35, 54),
['pt_ironwoord_stout'] = 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