Installation
Do not skim the instructions. You need to follow every step of the Install Guide to make sure you're installing the script correctly
Dependency Installation
Jim_Bridge
Download
Get it free from github - https://github.com/jimathy/jim_bridge
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
The ORDER of the load order is important, check information here
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
IF YOU ALREADY HAVE A [jim] FOLDER, PUT IT IN THAT FOLDER YOU DO NOT NEED TO CREATE A NEW ONE.
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 consumablesThe 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 orjim-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
('upnatom', 'Up n Atom')
('hornys', 'Hornys')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('upnatom',0,'recruit','Recruit',12,'{}','{}'),
('upnatom',1,'novice','Novice',24,'{}','{}'),
('upnatom',2,'experienced','Experienced',36,'{}','{}'),
('upnatom',3,'advanced',"Advanced",48,'{}','{}'),
('upnatom',4,'boss','Manager',0,'{}','{}')
('hornys',0,'recruit','Recruit',12,'{}','{}'),
('hornys',1,'novice','Novice',24,'{}','{}'),
('hornys',2,'experienced','Experienced',36,'{}','{}'),
('hornys',3,'advanced',"Advanced",48,'{}','{}'),
('hornys',4,'boss','Manager',0,'{}','{}')
;
Item Installation
These items work for both old and new qb-inventory
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-UPNATOMHORNY --
tripleburger = { name = "tripleburger", label = "The Triple Burger", weight = 100, type = "item", image = "tripleburger.png", unique = false, useable = true, shouldClose = true, description = "Triple-stacked beef burger"},
baconcheesemelt = { name = "baconcheesemelt", label = "Bacon-Triple Cheese Melt", weight = 100, type = "item", image = "baconcheesemelt.png", unique = false, useable = true, shouldClose = true, description = "Grilled cheese melt with bacon"},
chillidog = { name = "chillidog", label = "Footlong Chili Dog", weight = 100, type = "item", image = "chillidog.png", unique = false, useable = true, shouldClose = true, description = "Footlong sausage topped with chili"},
atomfries = { name = "atomfries", label = "Atom Fries", weight = 100, type = "item", image = "atomfries.png", unique = false, useable = true, shouldClose = true, description = "Spiced crispy fries"},
chickenfillet = { name = "chickenfillet", label = "Chicken Fillets", weight = 100, type = "item", image = "chickenbreasts.png", unique = false, useable = true, shouldClose = true, description = "Fried chicken breast strips"},
chickenhorn = { name = "chickenhorn", label = "Chicken Hornstars", weight = 100, type = "item", image = "chickhornstars.png", unique = false, useable = true, shouldClose = true, description = "Nuggets shaped like stars"},
grilledchicken = { name = "grilledchicken", label = "Chicken Sandwich", weight = 100, type = "item", image = "chickensandwich.png", unique = false, useable = true, shouldClose = true, description = "Grilled chicken sandwich"},
chickensalad = { name = "chickensalad", label = "Chicken Salad", weight = 100, type = "item", image = "chickensalad.png", unique = false, useable = true, shouldClose = true, description = "Fresh salad with chicken slices"},
hunksohen = { name = "hunksohen", label = "Hunk o' Hen", weight = 100, type = "item", image = "chickenthighs.png", unique = false, useable = true, shouldClose = true, description = "Juicy chicken thigh pieces"},
chickentaco = { name = "chickentaco", label = "Chicken Taco", weight = 100, type = "item", image = "chickentaco.png", unique = false, useable = true, shouldClose = true, description = "Taco with seasoned chicken"},
enchiladas = { name = "enchiladas", label = "Breakfast Enchiladas", weight = 100, type = "item", image = "enchi.png", unique = false, useable = true, shouldClose = true, description = "Stuffed breakfast enchiladas"},
gazpacho = { name = "gazpacho", label = "Guzpacho", weight = 100, type = "item", image = "gazpacho.png", unique = false, useable = true, shouldClose = true, description = "Chilled tomato-based soup"},
hornbreakfast = { name = "hornbreakfast", label = "Horny's Breakfast", weight = 100, type = "item", image = "bangers.png", unique = false, useable = true, shouldClose = true, description = "Hearty breakfast plate"},
eggsbenedict = { name = "eggsbenedict", label = "Eggs Benedict", weight = 100, type = "item", image = "eggbene.png", unique = false, useable = true, shouldClose = true, description = "Poached eggs with hollandaise"},
hashbrowns = { name = "hashbrowns", label = "Hash Browns", weight = 100, type = "item", image = "hashbrown.png", unique = false, useable = true, shouldClose = true, description = "Golden crispy hash browns"},
sausages = { name = "sausages", label = "Sausages", weight = 100, type = "item", image = "sausage.png", unique = false, useable = true, shouldClose = true, description = "Cooked pork sausages"},
baconroll = { name = "baconroll", label = "Bacon Roll", weight = 100, type = "item", image = "baconroll.png", unique = false, useable = true, shouldClose = true, description = "Bacon wrapped in a roll"},
baconeggtoast = { name = "baconeggtoast", label = "Bacon & Egg on Toast", weight = 100, type = "item", image = "baconegg.png", unique = false, useable = true, shouldClose = true, description = "Classic breakfast toast"},
frenchtoast = { name = "frenchtoast", label = "French Toast", weight = 100, type = "item", image = "frenchtoast.png", unique = false, useable = true, shouldClose = true, description = "Sweet egg-battered toast"},
frenchtoastbacon = { name = "frenchtoastbacon", label = "French Toast Bacon", weight = 100, type = "item", image = "frenchbacon.png", unique = false, useable = true, shouldClose = true, description = "French toast with crispy bacon"},
hornburger = { name = "hornburger", label = "HornBurger", weight = 100, type = "item", image = "hornburger.png", unique = false, useable = true, shouldClose = true, description = "Signature Horny burger"},
dblhornburger = { name = "dblhornburger", label = "DBL HornBurger", weight = 100, type = "item", image = "dblhornburger.png", unique = false, useable = true, shouldClose = true, description = "Double patty Horny burger"},
baconhornburger = { name = "baconhornburger", label = "HornBurger Bacon", weight = 100, type = "item", image = "baconburger.png", unique = false, useable = true, shouldClose = true, description = "Bacon-topped HornBurger"},
picklehornburger = { name = "picklehornburger", label = "HornBurger Pickle", weight = 100, type = "item", image = "pickleburger.png", unique = false, useable = true, shouldClose = true, description = "HornBurger with extra pickles"},
chickenhornburger = { name = "chickenhornburger", label = "Chicken HornBurger", weight = 100, type = "item", image = "chickenburger.png", unique = false, useable = true, shouldClose = true, description = "Chicken version of HornBurger"},
dblchickenhornburger = { name = "dblchickenhornburger", label = "DBL Chicken HornBurger", weight = 100, type = "item", image = "dblchickenburger.png", unique = false, useable = true, shouldClose = true, description = "Double chicken HornBurger"},
icecone = { name = "icecone", label = "Ice Cone", weight = 100, type = "item", image = "cone.png", unique = false, useable = true, shouldClose = true, description = "Sweet frozen treat"},
icenugget = { name = "icenugget", label = "Ice Nugget", weight = 100, type = "item", image = "icenugget.png", unique = false, useable = true, shouldClose = true, description = "Bite-sized ice dessert"},
icecake = { name = "icecake", label = "Ice Cream Cake", weight = 100, type = "item", image = "icecake.png", unique = false, useable = true, shouldClose = true, description = "Frozen dessert cake"},
creamyshake = { name = "creamyshake", label = "Extra Creamy Jumbo Shake", weight = 100, type = "item", image = "atomshake.png", unique = false, useable = true, shouldClose = true, description = "Thick creamy milkshake"}
atomsoda = { name = "atomsoda", label = "Atom Soda", weight = 100, type = "item", image = "atomsoda.png", unique = false, useable = true, shouldClose = true, description = "Fizzy radioactive soda"},
orangotang = { name = "orangotang", label = "Bacon", weight = 100, type = "item", image = "orangotang.png", unique = false, useable = true, shouldClose = true, description = "Mystery bacon can"},
raine = { name = "raine", label = "Raine", weight = 100, type = "item", image = "raine.png", unique = false, useable = true, shouldClose = true, description = "Refreshing Raine beverage"},
junkdrink = { name = "junkdrink", label = "Junk", weight = 100, type = "item", image = "junkdrink.png", unique = false, useable = true, shouldClose = true, description = "Questionable junk drink"},
burgerpatty = { name = "burgerpatty", label = "Patty", weight = 100, type = "item", image = "burgerpatty.png", unique = false, useable = false, shouldClose = true, description = "Uncooked burger patty"},
breadslice = { name = "breadslice", label = "Slice of Bread", weight = 100, type = "item", image = "breadslice.png", unique = false, useable = true, shouldClose = true, description = "A plain slice of bread"},
cheddar = { name = "cheddar", label = "Cheese", weight = 100, type = "item", image = "cheddar.png", unique = false, useable = false, shouldClose = true, description = "Cheddar cheese slice"},
lettuce = { name = "lettuce", label = "Lettuce", weight = 100, type = "item", image = "lettuce.png", unique = false, useable = false, shouldClose = true, description = "Fresh leafy lettuce"},
tomato = { name = "tomato", label = "Tomato", weight = 100, type = "item", image = "tomato.png", unique = false, useable = false, shouldClose = true, description = "Ripe tomato"},
burgerbun = { name = "burgerbun", label = "Burger Bun", weight = 100, type = "item", image = "burgerbun.png", unique = false, useable = false, shouldClose = true, description = "Bun for burgers"},
hotdogbun = { name = "hotdogbun", label = "Hotdog Bun", weight = 100, type = "item", image = "hotdogbun.png", unique = false, useable = false, shouldClose = true, description = "Soft hotdog bun"},
chillimince = { name = "chillimince", label = "Chillimince", weight = 100, type = "item", image = "chillimince.png", unique = false, useable = false, shouldClose = true, description = "Spiced chili mince"},
butter = { name = "butter", label = "Butter", weight = 100, type = "item", image = "farming_butter.png", unique = false, useable = false, shouldClose = true, description = "Creamy farm butter"},
milk = { name = "milk", label = "Milk", weight = 100, type = "item", image = "burger-milk.png", unique = false, useable = false, shouldClose = true, description = "Bottle of milk"},
cream = { name = "cream", label = "Cream", weight = 100, type = "item", image = "cream.png", unique = false, useable = false, shouldClose = true, description = "Dairy cream"},
burgermeat = { name = "burgermeat", label = "Burger Meat", weight = 100, type = "item", image = "burgermeat.png", unique = false, useable = false, shouldClose = true, description = "Minced meat for burgers"},
hotdogmeat = { name = "hotdogmeat", label = "Hotdog Meat", weight = 100, type = "item", image = "hotdogmeat.png", unique = false, useable = false, shouldClose = true, description = "Hotdog sausage meat"},
slicedtomato = { name = "slicedtomato", label = "Sliced Tomato", weight = 100, type = "item", image = "slicedtomato.png", unique = false, useable = false, shouldClose = true, description = "Fresh tomato slices"},
slicedpotato = { name = "slicedpotato", label = "Sliced Potato", weight = 100, type = "item", image = "burger-slicedpotato.png", unique = false, useable = false, shouldClose = true, description = "Raw potato slices"},
rawhotdog = { name = "rawhotdog", label = "Raw Hotdog", weight = 100, type = "item", image = "rawhotdog.png", unique = false, useable = false, shouldClose = true, description = "Uncooked hotdog"},
potato = { name = "potato", label = "Potato", weight = 100, type = "item", image = "potato.png", unique = false, useable = false, shouldClose = true, description = "Unpeeled potato"},
egg = { name = "egg", label = "Egg", weight = 100, type = "item", image = "farming_egg.png", unique = false, useable = false, shouldClose = true, description = "Fresh farm egg"},
bacon = { name = "bacon", label = "Bacon", weight = 100, type = "item", image = "bacon.png", unique = false, useable = false, shouldClose = true, description = "Cured bacon strip"},
rawbacon = { name = "rawbacon", label = "Raw Bacon", weight = 100, type = "item", image = "rawbacon.png", unique = false, useable = false, shouldClose = true, description = "Uncooked bacon"},
rawsausage = { name = "rawsausage", label = "Raw Sausages", weight = 100, type = "item", image = "rawsausage.png", unique = false, useable = false, shouldClose = true, description = "Uncooked sausages"},
pickle = { name = "pickle", label = "Pickle", weight = 200, type = "item", image = "pickle.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A jar of pickles"},
chickenbreast = { name = "chickenbreast", label = "Raw Chicken Breast", weight = 100, type = "item", image = "farming_chickenbreast.png", unique = false, useable = true, shouldClose = true, description = "Fresh chicken breast"},
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 soda"},
ecola = { name = "ecola", label = "eCola", weight = 100, type = "item", image = "ecola.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cola drink"},
ecolalight = { name = "ecolalight", label = "eCola Light", weight = 100, type = "item", image = "ecolalight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Diet cola drink"}
Last updated