Installation

Dependency Installation

Jim_Bridge

This is required for the script to function, it won't work without it

1

Download

Get it free from github - https://github.com/jimathy/jim_bridge

2

Extract

Extract jim_bridge and make sure -main is removed from the script folder name

3

Install

Place the extracted jim_bridge folder into /resources/[standalone]

4

Done


Framework Installation

Add the script to the server resources

  • It is highly recommend to put this script folder in a new folder called [jim]

  • Then add ensure [jim] AFTER your other scripts in your server.cfg


Ensure List

GO TO YOUR server.cfg

Resources (EXAMPLE)

# Default & Standalone Resources
# ------------------------------
ensure chat
ensure hardcap
ensure oxmysql
start ox_lib

# ESX Legacy Core
# ----------
ensure [core]
ensure [esx_addons]
start ox_inventory
start ox_target
ensure [standalone] # Place `jim_bridge` here

# ESX Addons
# ----------

# Other
ensure [jimextras]  # Place `jim-payments` / `jim-consumables` / `jim-jobgarage` / `jim-djbooth` here
ensure [jim]        # Place all other jim scripts here

Jim-Payments (Required/Optional)

  • This is the default system for payments in the script but can easily be changed in client.lua

  • When triggered gets a list of the nearest players and lets you choose which one to charge

  • I class it as optional because you don't specifically need it if you have another you want to use.


Jim-Consumables (Optional)

  • If jim-consumables is installed, the script will attempt to reroute consumables

  • The server side will automatically add the items to jim-consumables (edit any values you wish there)

  • When used the item will trigger the jim-script:client:consume event which detects wether to use built in event's or jim-consuambles (if found)

Job Installation

Import the esx_jobs.sql into your database to add the jobs and their grades

INSERT INTO `jobs` (name, label) VALUES
	('pizzathis', 'Pizza This')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('pizzathis',0,'recruit','Recruit',12,'{}','{}'),
	('pizzathis',1,'novice','Novice',24,'{}','{}'),
	('pizzathis',2,'experienced','Experienced',36,'{}','{}'),
	('pizzathis',3,'advanced',"Advanced",48,'{}','{}'),
	('pizzathis',4,'boss','Manager',0,'{}','{}')
;

Item Installation

Item Images

Add the images from _install > images to your inventory folder

  • eg. qb-inventory > html > images

Item Data

If using qb-inventory or similar, add the lines from qb_items.txt to your qb-core > shared > items.lua

-- JIM-PIZZATHIS --
    --BEERS
    ambeer 						= { name = "ambeer",  	    	 		label = "AM Beer",		 			weight = 100, 		type = "item", 		image = "ambeer.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "A classic American lager.", },
    dusche 						= { name = "dusche",  	    	 		label = "Dusche Gold",		 		weight = 100, 		type = "item", 		image = "dusche.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Smooth golden German beer.", },
    logger 						= { name = "logger",  	    	 		label = "Logger Beer",		 		weight = 100, 		type = "item", 		image = "logger.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Full-bodied local brew.", },
    pisswasser 					= { name = "pisswasser",  	    	 	label = "Pißwasser",		 		weight = 100, 		type = "item", 		image = "pisswaser1.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Cheap and cheerful lager.", },
    pisswasser2 				= { name = "pisswasser2",  	    	 	label = "Pißwasser Stout",		 	weight = 100, 		type = "item", 		image = "pisswaser2.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Dark and rich stout.", },
    pisswasser3 				= { name = "pisswasser3",  	    	 	label = "Pißwasser Pale Ale",		weight = 100, 		type = "item", 		image = "pisswaser3.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Crisp and hoppy pale ale.", },
    --SODA
    sprunk 						= { name = "sprunk",  	    	 		label = "Sprunk",		 			weight = 100, 		type = "item", 		image = "sprunk.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Fizzy and radioactive green.", },
    sprunklight 				= { name = "sprunklight",  	    	 	label = "Sprunk Light",		 		weight = 100, 		type = "item", 		image = "sprunklight.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Zero sugar. Same kick.", },
    ecola 						= { name = "ecola",  	    	 		label = "eCola",		 			weight = 100, 		type = "item", 		image = "ecola.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "That classic cola taste.", },
    ecolalight 					= { name = "ecolalight",  	    	 	label = "eCola Light",		 		weight = 100, 		type = "item", 		image = "ecolalight.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Less sugar. More fizz.", },
    --WINES
    amarone 					= { name = "amarone",  	    	 		label = "Amarone",		 			weight = 100, 		type = "item", 		image = "amarone.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Bold Italian red wine.", },
    barbera 					= { name = "barbera",  	    			label = "Barbera D'Asti",		 	weight = 100, 		type = "item", 		image = "barbera.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Smooth and fruity red.", },
    dolceto 					= { name = "dolceto",  	    	 		label = "Dolcetto D'Alba",		 	weight = 100, 		type = "item", 		image = "dolceto.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Dry wine with character.", },
    housered 					= { name = "housered",					label = "House Red Wine",		 	weight = 100, 		type = "item", 		image = "housered.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Generic but gets the job done.", },
    housewhite 					= { name = "housewhite",  	    	 	label = "House White Wine",		 	weight = 100, 		type = "item", 		image = "housewhite.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Basic dry white wine.", },
    rosso 						= { name = "rosso",  	    	 		label = "Rosso Del Montalcino",	 	weight = 100, 		type = "item", 		image = "rosso.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Premium aged red.", },
    --DESSERTS
    tiramisu 					= { name = "tiramisu",					label = "Tiramisu",	 				weight = 100, 		type = "item", 		image = "tiramisu.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Coffee-flavored Italian dessert.", },
    gelato 						= { name = "gelato",  	    	 		label = "Choc and Vanilla Gelato",	weight = 100, 		type = "item", 		image = "gelato.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Creamy Italian-style ice cream.", },
    medfruits 					= { name = "medfruits",  	    	 	label = "Fresh Fruit Medly",	 	weight = 100, 		type = "item", 		image = "medfruits.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "A mix of fresh Mediterranean fruits.", },
    --PASTA
    bolognese 					= { name = "bolognese",  	    	 	label = "Bolognese",	 			weight = 100, 		type = "item", 		image = "bolognese.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Pasta with rich meat sauce.", },
    calamari 					= { name = "calamari",					label = "Calamari Marinara",		weight = 100, 		type = "item", 		image = "calamari.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Pasta topped with squid in red sauce.", },
    meatball 					= { name = "meatball",					label = "Homemade Meatballs",		weight = 100, 		type = "item", 		image = "meatball.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Nonna's favorite meatball recipe.", },
    alla 						= { name = "alla",						label = "Alla Vodka",	 			weight = 100, 		type = "item", 		image = "alla.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Creamy vodka-tomato pasta sauce.", },
    pescatore 					= { name = "pescatore",  	    		label = "Pescatore",			 	weight = 100, 		type = "item", 		image = "pescatore.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Seafood pasta in tomato sauce.", },
    --PIZZA SLICES
    capricciosa 				= { name = "capricciosa",  	    	 	label = "Capriccosa",	 			weight = 100, 		type = "item", 		image = "capricciosa.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Mushroom, ham, and artichoke pizza.", },
    diavola 					= { name = "diavola",  	    	 		label = "Diavola",	 				weight = 100, 		type = "item", 		image = "diavola.png", 		unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Spicy salami-topped pizza.", },
    marinara 					= { name = "marinara",					label = "Marinara",	 				weight = 100, 		type = "item", 		image = "marinara.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Tomato, garlic, and oregano pizza.", },
    margherita 					= { name = "margherita",  	    	 	label = "Margherita",	 			weight = 100, 		type = "item", 		image = "margherita.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Classic tomato and mozzarella pizza.", },
    prosciuttio 				= { name = "prosciuttio",  	    		label = "Prosciuttio E Funghi",		weight = 100, 		type = "item", 		image = "proscuttio.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Ham and mushroom pizza.", },
    vegetariana 				= { name = "vegetariana",  	    	 	label = "Vegetariana",				weight = 100, 		type = "item", 		image = "vegetariana.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Loaded with grilled vegetables.", },
    --PIZZA BOXES
    capricciosabox 				= { name = "capricciosabox",  	     	label = "Boxed Capriccosa",	 		weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of Capriccosa pizza.", },
    diavolabox 					= { name = "diavolabox",  	    		label = "Boxed Diavola",	 		weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of Diavola pizza.", },
    marinarabox 				= { name = "marinarabox",  	    		label = "Boxed Marinara",	 		weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of Marinara pizza.", },
    margheritabox 				= { name = "margheritabox",  	     	label = "Boxed Margherita",	 		weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of Margherita pizza.", },
    prosciuttiobox 				= { name = "prosciuttiobox",  	    	label = "Boxed Prosciuttio E Funghi",weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of ham & mushroom pizza.", },
    vegetarianabox 				= { name = "vegetarianabox",  	     	label = "Boxed Vegetariana",		weight = 100, 		type = "item", 		image = "pizzabox.png", 	unique = false, 	useable = true, 	shouldClose = true,   	combinable = nil,   description = "Takeaway box of veggie pizza.", },
    --INGREDIENTS
    pizzabase 					= { name = "pizzabase",  	     		label = "Pizza Base",	 			weight = 100, 		type = "item", 		image = "base2.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "A pre-baked pizza base, ready to top.", },
    pizzadough 					= { name = "pizzadough",  	    		label = "Pizza Dough",	 			weight = 100, 		type = "item", 		image = "pizzadough.png", 	unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Unbaked pizza dough ball.", },
    mozz 						= { name = "mozz",						label = "Mozzeralla",	 			weight = 100, 		type = "item", 		image = "mozz.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Fresh mozzarella cheese.", },
    sauce 						= { name = "sauce",  	   			  	label = "Tomato Sauce",	 			weight = 100, 		type = "item", 		image = "sauce.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Zesty tomato base for pizzas.", },
    salami 						= { name = "salami",  	    			label = "Salami",					weight = 100, 		type = "item", 		image = "salami.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Slices of spicy salami.", },
    ham 						= { name = "ham",  	     				label = "Ham",						weight = 100, 		type = "item", 		image = "ham.png", 			unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Thin slices of cured ham.", },
    squid 						= { name = "squid",  	   			  	label = "Calamari",					weight = 100, 		type = "item", 		image = "squid.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Fresh squid rings, cleaned.", },
    pizzmushrooms 				= { name = "pizzmushrooms",  	     	label = "Mushrooms",				weight = 100, 		type = "item", 		image = "mushrooms.png", 	unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Sliced mushrooms for pizza.", },
    olives 						= { name = "olives",  	   			  	label = "Olives",					weight = 100, 		type = "item", 		image = "olives.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Black olives, pitted.", },
    basil 						= { name = "basil",  	   			  	label = "Basil",					weight = 100, 		type = "item", 		image = "basil.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Aromatic fresh basil leaves.", },

    meat 						= { name = "meat",						label = "Meat",	 					weight = 200, 		type = "item", 		image = "meat.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "A slab of raw meat.", },
    pasta 						= { name = "pasta",  	     			label = "Bag of Pasta",	 			weight = 200, 		type = "item", 		image = "pasta.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Uncooked dried pasta.", },

    lettuce 	 			 	 = { name = "lettuce",       			label = "Lettuce",	 				weight = 100, 		type = "item", 		image = "lettuce.png", 		unique = false, 	useable = false, 	shouldClose = false,   	combinable = nil,   description = "Crisp and leafy lettuce."},

Last updated