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
	('popsdiner', 'Pops Diner')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('popsdiner',0,'recruit','Recruit',12,'{}','{}'),
	('popsdiner',1,'novice','Novice',24,'{}','{}'),
	('popsdiner',2,'experienced','Experienced',36,'{}','{}'),
	('popsdiner',3,'advanced',"Advanced",48,'{}','{}'),
	('popsdiner',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-POPSDINER --
	baconeggs    = { name = "baconeggs", label = "Bacon and Eggs", weight = 100, type = "item", image = "baconeggs.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic breakfast combo"},
	bltsandwich    = { name = "bltsandwich", label = "BLT Sandwich", weight = 100, type = "item", image = "bltsandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Bacon,  lettuce,  and tomato sandwich"},
	cheeseburger    = { name = "cheeseburger", label = "Cheese Burger", weight = 100, type = "item", image = "cheeseburger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Burger with melted cheese"},
	cheesesandwich    = { name = "cheesesandwich", label = "Cheese Sandwich", weight = 100, type = "item", image = "cheesesandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Simple cheese-filled sandwich"},
	eggsandwich    = { name = "eggsandwich", label = "Eggs Sandwich", weight = 100, type = "item", image = "eggsandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Eggs on toasted bread"},
	grilledwrap    = { name = "grilledwrap", label = "Grilled Wrap", weight = 100, type = "item", image = "grilledwrap.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Grilled meat and veggies in a wrap"},
	hamburger    = { name = "hamburger", label = "Hamburger", weight = 100, type = "item", image = "hamburger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic hamburger"},
	hamcheesesandwich    = { name = "hamcheesesandwich", label = "Ham and Cheese Sandwich", weight = 100, type = "item", image = "hamcheesesandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Ham and cheese in a sandwich"},
	hamsandwich    = { name = "hamsandwich", label = "Ham Sandwich", weight = 100, type = "item", image = "hamsandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sliced ham sandwich"},
	ranchwrap    = { name = "ranchwrap", label = "Ranch Wrap", weight = 100, type = "item", image = "ranchwrap.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Wrap with ranch dressing and fillings"},
	sausageeggs    = { name = "sausageeggs", label = "Sausage and Eggs", weight = 100, type = "item", image = "sausageeggs.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sausage served with eggs"},
	steakburger    = { name = "steakburger", label = "Steak Burger", weight = 100, type = "item", image = "steakburger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Juicy burger with steak patty"},
	toastbacon    = { name = "toastbacon", label = "Bacon and Toast", weight = 100, type = "item", image = "toastbacon.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Crispy bacon with toast"},
	tunasandwich    = { name = "tunasandwich", label = "Tuna Sandwich", weight = 100, type = "item", image = "tunasandwich.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Tuna mixed sandwich"},
	veggiewrap    = { name = "veggiewrap", label = "Veggie Wrap", weight = 100, type = "item", image = "veggiewrap.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Wrap filled with vegetables"},
	carrotcake    = { name = "carrotcake", label = "Carrot Cake", weight = 100, type = "item", image = "carrotcake.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Spiced cake with carrots"},
	cheesecake    = { name = "cheesecake", label = "Cheese Cake", weight = 100, type = "item", image = "cheesecake.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Creamy cheesecake slice"},
	chocpudding    = { name = "chocpudding", label = "Chocolate Pudding", weight = 100, type = "item", image = "chocpudding.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Smooth chocolate dessert"},
	jelly    = { name = "jelly", label = "Jelly", weight = 100, type = "item", image = "jelly.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fruit-flavored jelly"},
	popdonut    = { name = "popdonut", label = "Donut", weight = 100, type = "item", image = "popdonut.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Glazed donut"},
	popicecream    = { name = "popicecream", label = "Ice Cream", weight = 100, type = "item", image = "popicecream.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cold and creamy dessert"},
	crisps    = { name = "crisps", label = "Crisps", weight = 100, type = "item", image = "chips.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Crunchy potato crisps"},
	chickenbreast    = { name = "chickenbreast", label = "Chicken Breast", weight = 100, type = "item", image = "chickenbreast.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cooked chicken breast"},
	jimsausages    = { name = "jimsausages", label = "Sausages", weight = 100, type = "item", image = "jimsausages.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Pack of sausages"},
	jimeggs    = { name = "jimeggs", label = "Eggs", weight = 100, type = "item", image = "jimeggs.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Carton of fresh eggs"},
	ham    = { name = "ham", label = "Ham", weight = 100, type = "item", image = "ham.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sliced ham"},
	fish    = { name = "fish", label = "CatFish", weight = 200, type = "item", image = "fish.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Freshly caught catfish"},
	meat    = { name = "meat", label = "Meat", weight = 200, type = "item", image = "meat.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Raw meat cut"},
	chocolate    = { name = "chocolate", label = "Chocolate", weight = 200, type = "item", image = "chocolate.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Chocolate bar"},
	lettuce    = { name = "lettuce", label = "Lettuce", weight = 100, type = "item", image = "lettuce.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Fresh leafy lettuce"},
	cheddar    = { name = "cheddar", label = "Cheddar Slice", weight = 500, type = "item", image = "cheddar.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Sliced cheddar cheese"},
	sprunk    = { name = "sprunk", label = "Sprunk", weight = 100, type = "item", image = "sprunk.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Lemon-lime soda"},
	sprunklight    = { name = "sprunklight", label = "Sprunk Light", weight = 100, type = "item", image = "sprunklight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Low-calorie lemon-lime soda"},
	ecola    = { name = "ecola", label = "eCola", weight = 100, type = "item", image = "ecola.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic cola drink"},
	ecolalight    = { name = "ecolalight", label = "eCola Light", weight = 100, type = "item", image = "ecolalight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Low-calorie eCola"},

Last updated