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
	('henhouse', 'HenHouse')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('henhouse',0,'recruit','Recruit',12,'{}','{}'),
	('henhouse',1,'novice','Novice',24,'{}','{}'),
	('henhouse',2,'experienced','Experienced',36,'{}','{}'),
	('henhouse',3,'advanced',"Advanced",48,'{}','{}'),
	('henhouse',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-HENHOUSE --
    tillie    = { name = "tillie", label = "Tillie Mae", weight = 200, type = "item", image = "tillie.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "The Tillie Mae Special"},
    b52    = { name = "b52", label = "B-52", weight = 200, type = "item", image = "b52.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A layered B-52 shot"},
    brussian    = { name = "brussian", label = "Black Russian", weight = 200, type = "item", image = "brussian.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Vodka and coffee liqueur mix"},
    bkamikaze    = { name = "bkamikaze", label = "Blue Kamikaze", weight = 200, type = "item", image = "bkamikaze.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A blue twist on the Kamikaze"},
    cappucc    = { name = "cappucc", label = "Cappuccinotini", weight = 200, type = "item", image = "cappucc.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Coffee cocktail with a creamy touch"},
    ccookie    = { name = "ccookie", label = "Cranberry Cookie", weight = 200, type = "item", image = "ccookie.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A cranberry-flavored sweet cocktail"},
    iflag    = { name = "iflag", label = "Irish Flag", weight = 200, type = "item", image = "iflag.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Layered liqueur with Irish flair"},
    kamikaze    = { name = "kamikaze", label = "Kamikaze", weight = 200, type = "item", image = "kamikaze.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic citrus vodka shot"},
    sbullet    = { name = "sbullet", label = "Silver Bullet", weight = 200, type = "item", image = "sbullet.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A sharp gin-based cocktail"},
    voodoo    = { name = "voodoo", label = "Voodoo", weight = 200, type = "item", image = "voodoo.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A mysterious and dark mix"},
    woowoo    = { name = "woowoo", label = "Woo Woo", weight = 200, type = "item", image = "woowoo.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fruity cocktail with vodka and peach"},
    orange    = { name = "orange", label = "Orange", weight = 200, type = "item", image = "orange.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Fresh and juicy orange"},
    lime    = { name = "lime", label = "Lime", weight = 200, type = "item", image = "lime.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Zesty green lime"},
    chocolate    = { name = "chocolate", label = "Chocolate", weight = 200, type = "item", image = "chocolate.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Sweet milk chocolate bar"},
    cranberry    = { name = "cranberry", label = "Cranberry Juice", weight = 200, type = "item", image = "cranberry.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Refreshing cranberry juice"},
    schnapps    = { name = "schnapps", label = "Peach Schnapps", weight = 200, type = "item", image = "schnapps.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sweet and fruity schnapps"},
    gin    = { name = "gin", label = "Gin", weight = 200, type = "item", image = "gin.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic gin bottle"},
    scotch    = { name = "scotch", label = "Scotch", weight = 200, type = "item", image = "scotch.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fine Scotch whisky"},
    rum    = { name = "rum", label = "Rum", weight = 200, type = "item", image = "rum.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Aged Caribbean rum"},
    icream    = { name = "icream", label = "Irish Cream", weight = 200, type = "item", image = "icream.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Smooth Irish cream liqueur"},
    amaretto    = { name = "amaretto", label = "Amaretto", weight = 200, type = "item", image = "amaretto.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Almond-flavored Italian liqueur"},
    curaco    = { name = "curaco", label = "Curaco", weight = 200, type = "item", image = "curaco.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Bright blue orange liqueur"},
    ambeer    = { name = "ambeer", label = "AM Beer", weight = 100, type = "item", image = "ambeer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "American-style lager beer"},
    dusche    = { name = "dusche", label = "Dusche Gold", weight = 100, type = "item", image = "dusche.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Premium Dusche Gold beer"},
    logger    = { name = "logger", label = "Logger Beer", weight = 100, type = "item", image = "logger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Traditional logger brew"},
    pisswasser    = { name = "pisswasser", label = "Pißwasser", weight = 100, type = "item", image = "pisswaser1.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic Pißwasser beer"},
    pisswasser2    = { name = "pisswasser2", label = "Pißwasser Stout", weight = 100, type = "item", image = "pisswaser2.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Rich and dark 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 = "Hoppy pale ale version"},
    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"},
    crisps    = { name = "crisps", label = "Crisps", weight = 100, type = "item", image = "chips.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Crunchy potato crisps"},
    friedpick    = { name = "friedpick", label = "Fried Pickles", weight = 200, type = "item", image = "friedpick.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A plate of fried pickles"},
    maccheese    = { name = "maccheese", label = "Mac n Cheese", weight = 200, type = "item", image = "maccheese.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Bowl of creamy mac and cheese"},
    bplate    = { name = "bplate", label = "Brisket Plate", weight = 200, type = "item", image = "bplate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Tender brisket with sides"},
    cplate    = { name = "cplate", label = "Fish Plate", weight = 200, type = "item", image = "cplate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fried catfish plate"},
    splate    = { name = "splate", label = "Steak Plate", weight = 200, type = "item", image = "splate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Juicy steak with garnish"},
    rplate    = { name = "rplate", label = "Ribs Plate", weight = 200, type = "item", image = "rplate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Tender barbecue ribs"},
    nplate    = { name = "nplate", label = "Nachos Plate", weight = 200, type = "item", image = "nplate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cheesy nachos and toppings"},
    wings    = { name = "wings", label = "Plate of Wings", weight = 200, type = "item", image = "wings.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Spicy chicken wings"},
    bburrito    = { name = "bburrito", label = "Breakfast Burrito", weight = 200, type = "item", image = "bburrito.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Egg,  bacon,  and cheese burrito"},
    meat    = { name = "meat", label = "Meat", weight = 200, type = "item", image = "meat.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Raw meat cut"},
    pasta    = { name = "pasta", label = "Bag of Pasta", weight = 200, type = "item", image = "pasta.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Uncooked pasta bag"},
    pickle    = { name = "pickle", label = "Pickle", weight = 200, type = "item", image = "pickle.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sour dill pickle"},
    fish    = { name = "fish", label = "CatFish", weight = 200, type = "item", image = "fish.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Freshly caught catfish"},
    nachos    = { name = "nachos", label = "Nachos", weight = 200, type = "item", image = "nachos.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Tortilla chips with toppings"},
    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"},
    potato    = { name = "potato", label = "Potatoes", weight = 500, type = "item", image = "potatoes.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Fresh potatoes"},

Last updated