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
('tequilala', 'Tequilala')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('tequilala',0,'recruit','Recruit',12,'{}','{}'),
('tequilala',1,'novice','Novice',24,'{}','{}'),
('tequilala',2,'experienced','Experienced',36,'{}','{}'),
('tequilala',3,'advanced',"Advanced",48,'{}','{}'),
('tequilala',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-TEQUILALA --
b52 = { name = "b52", label = "B-52", weight = 200, type = "item", image = "b52.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "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"},
--Drink Ingredients
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"},
--BEERS
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"},
--SODA
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"},
Last updated