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
	('insertcoin', 'Insert Coin'),
	('yellowjack', 'Yellow Jack'),
	('cyberbar', 'Cyber Bar'),
	('irishpub', 'Irish Pub'),
	('splitsides', 'Split Sides'),
	('bahama', 'Bahama Mamas'),
	('limeys', 'Limeys'),
;

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

	('yellowjack',0,'recruit','Recruit',12,'{}','{}'),
	('yellowjack',1,'novice','Novice',24,'{}','{}'),
	('yellowjack',2,'experienced','Experienced',36,'{}','{}'),
	('yellowjack',3,'advanced',"Advanced",48,'{}','{}'),
	('yellowjack',4,'boss','Manager',0,'{}','{}')

	('cyberbar',0,'recruit','Recruit',12,'{}','{}'),
	('cyberbar',1,'novice','Novice',24,'{}','{}'),
	('cyberbar',2,'experienced','Experienced',36,'{}','{}'),
	('cyberbar',3,'advanced',"Advanced",48,'{}','{}'),
	('cyberbar',4,'boss','Manager',0,'{}','{}')

	('irishpub',0,'recruit','Recruit',12,'{}','{}'),
	('irishpub',1,'novice','Novice',24,'{}','{}'),
	('irishpub',2,'experienced','Experienced',36,'{}','{}'),
	('irishpub',3,'advanced',"Advanced",48,'{}','{}'),
	('irishpub',4,'boss','Manager',0,'{}','{}')

	('splitsides',0,'recruit','Recruit',12,'{}','{}'),
	('splitsides',1,'novice','Novice',24,'{}','{}'),
	('splitsides',2,'experienced','Experienced',36,'{}','{}'),
	('splitsides',3,'advanced',"Advanced",48,'{}','{}'),
	('splitsides',4,'boss','Manager',0,'{}','{}')

	('limeys',0,'recruit','Recruit',12,'{}','{}'),
	('limeys',1,'novice','Novice',24,'{}','{}'),
	('limeys',2,'experienced','Experienced',36,'{}','{}'),
	('limeys',3,'advanced',"Advanced",48,'{}','{}'),
	('limeys',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-Bars
    --Cocktails
    b52                         = { name = "b52", label = "B-52", weight = 200, type = "item", image = "b52.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "B-52 Cocktail", },
    brussian                    = { name = "brussian", label = "Black Russian", weight = 200, type = "item", image = "brussian.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Black Russian Cocktail", },
    bkamikaze                   = { name = "bkamikaze", label = "Blue Kamikaze", weight = 200, type = "item", image = "bkamikaze.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Blue Kamikaze Cocktail", },
    cappucc                     = { name = "cappucc", label = "Cappuccinotini", weight = 200, type = "item", image = "cappucc.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cappuccinotini Cocktail", },
    ccookie                     = { name = "ccookie", label = "Cranberry Cookie", weight = 200, type = "item", image = "ccookie.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cranberry Cookie Cocktail", },
    iflag                       = { name = "iflag", label = "Irish Flag", weight = 200, type = "item", image = "iflag.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Irish Flag Cocktail", },
    kamikaze                    = { name = "kamikaze", label = "Kamikaze", weight = 200, type = "item", image = "kamikaze.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Kamikase Cocktail", },
    sbullet                     = { name = "sbullet", label = "Silver Bullet", weight = 200, type = "item", image = "sbullet.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Silver Bullet Cocktail", },
    voodoo                      = { name = "voodoo", label = "Voodoo", weight = 200, type = "item", image = "voodoo.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Voodoo Cocktail", },
    woowoo                      = { name = "woowoo", label = "Woo Woo", weight = 200, type = "item", image = "woowoo.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Woowoo Cocktail", },

    --Drink Ingredients
    orange                      = { name = "orange", label = "Orange", weight = 200, type = "item", image = "orange.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "An Orange." },
    lime                        = { name = "lime", label = "Lime", weight = 200, type = "item", image = "lime.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "A Lime." },
    chocolate                   = { name = "chocolate", label = "Chocolate", weight = 200, type = "item", image = "chocolate.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Chocolate Bar", },

    cranberry                   = { name = "cranberry", label = "Cranberry Juice", weight = 200, type = "item", image = "cranberry.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cranberry Juice", },
    schnapps                    = { name = "schnapps", label = "Peach Schnapps", weight = 200, type = "item", image = "schnapps.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Peach Schnapps", },
    gin                         = { name = "gin", label = "Gin", weight = 200, type = "item", image = "gin.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Gin", },
    scotch                      = { name = "scotch", label = "Scotch", weight = 200, type = "item", image = "scotch.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Scotch", },
    rum                         = { name = "rum", label = "Rum", weight = 200, type = "item", image = "rum.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Rum", },
    icream                      = { name = "icream", label = "Irish Cream", weight = 200, type = "item", image = "icream.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Irish Cream Liquer", },
    amaretto                    = { name = "amaretto", label = "Amaretto", weight = 200, type = "item", image = "amaretto.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Amaretto", },
    curaco                      = { name = "curaco", label = "Curaco", weight = 200, type = "item", image = "curaco.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A bottle of Curaco", },

    --BEERS
    ambeer                      = { name = "ambeer", label = "AM Beer", weight = 100, type = "item", image = "ambeer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    dusche                      = { name = "dusche", label = "Dusche Gold", weight = 100, type = "item", image = "dusche.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    logger                      = { name = "logger", label = "Logger Beer", weight = 100, type = "item", image = "logger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    pisswasser                  = { name = "pisswasser", label = "Pißwasser", weight = 100, type = "item", image = "pisswaser1.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    pisswasser2                 = { name = "pisswasser2", label = "Pißwasser Stout", weight = 100, type = "item", image = "pisswaser2.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    pisswasser3                 = { name = "pisswasser3", label = "Pißwasser Pale Ale", weight = 100, type = "item", image = "pisswaser3.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },

    --SODA
    sprunk                      = { name = "sprunk", label = "Sprunk", weight = 100, type = "item", image = "sprunk.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    sprunklight                 = { name = "sprunklight", label = "Sprunk Light", weight = 100, type = "item", image = "sprunklight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    ecola                       = { name = "ecola", label = "eCola", weight = 100, type = "item", image = "ecola.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },
    ecolalight                  = { name = "ecolalight", label = "eCola Light", weight = 100, type = "item", image = "ecolalight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },

    crisps                      = { name = "crisps", label = "Crisps", weight = 100, type = "item", image = "chips.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "", },

Last updated