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
	('vanilla', 'Vanilla Unicorn')
	('bahama', 'Bahama Mamas')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('vanilla',0,'recruit','Recruit',12,'{}','{}'),
	('vanilla',1,'novice','Novice',24,'{}','{}'),
	('vanilla',2,'experienced','Experienced',36,'{}','{}'),
	('vanilla',3,'advanced',"Advanced",48,'{}','{}'),
	('vanilla',4,'boss','Manager',0,'{}','{}')
    	('bahama',0,'recruit','Recruit',12,'{}','{}'),
	('bahama',1,'novice','Novice',24,'{}','{}'),
	('bahama',2,'experienced','Experienced',36,'{}','{}'),
	('bahama',3,'advanced',"Advanced",48,'{}','{}'),
	('bahama',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-VANILLAUNICORN --
    cubasil    = { name = "cubasil", label = "Cucumber Basil", weight = 200, type = "item", image = "cubasil.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Hand full of Cucumber and Basil"},
    mintleaf    = { name = "mintleaf", label = "Mint", weight = 200, type = "item", image = "mint.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Fresh mint leaves"},
    peach    = { name = "peach", label = "Peach", weight = 200, type = "item", image = "peach.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A juicy peach"},
    strawberry    = { name = "strawberry", label = "Strawberries", weight = 200, type = "item", image = "strawberry.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fresh strawberries"},
    orange    = { name = "orange", label = "Orange", weight = 200, type = "item", image = "orange.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "A ripe orange"},
    lime    = { name = "lime", label = "Lime", weight = 200, type = "item", image = "lime.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "A fresh lime"},
    lemon    = { name = "lemon", label = "Lemon", weight = 200, type = "item", image = "lemon.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "A tangy lemon"},
    chocolate    = { name = "chocolate", label = "Chocolate", weight = 200, type = "item", image = "chocolate.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "A sweet chocolate bar"},

    midori    = { name = "midori", label = "Midori", weight = 200, type = "item", image = "midori.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Melon liqueur"},
    pinejuice    = { name = "pinejuice", label = "Pineapple Juice", weight = 200, type = "item", image = "pinejuice.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Juicy pineapple goodness"},
    prosecco    = { name = "prosecco", label = "Prosecco", weight = 200, type = "item", image = "prosecco.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sparkling prosecco"},
    tequila    = { name = "tequila", label = "Tequila", weight = 200, type = "item", image = "tequila.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A shot of tequila"},
    triplsec    = { name = "triplsec", label = "Triple Sec", weight = 200, type = "item", image = "triplesec.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Citrusy liqueur"},

    cranberry    = { name = "cranberry", label = "Cranberry Juice", weight = 200, type = "item", image = "cranberry.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Tart cranberry juice"},
    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"},
    rum    = { name = "rum", label = "Rum", weight = 200, type = "item", image = "rum.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Dark or white rum"},
    amaretto    = { name = "amaretto", label = "Amaretto", weight = 200, type = "item", image = "amaretto.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sweet almond liqueur"},

    --Cocktails
    amarettosour    = { name = "amarettosour", label = "Amaretto Sour", weight = 200, type = "item", image = "amarettosour.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Sweet and sour cocktail"},
    bellini    = { name = "bellini", label = "Bellini", weight = 200, type = "item", image = "bellini.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Peach & prosecco"},
    cosmopolitan    = { name = "cosmopolitan", label = "Cosmopolitan", weight = 200, type = "item", image = "cosmopolitan.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cranberry & vodka blend"},
    longisland    = { name = "longisland", label = "Long Island Ice tea", weight = 200, type = "item", image = "longisland.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Strong cocktail mix"},
    margarita    = { name = "margarita", label = "Margarita", weight = 200, type = "item", image = "margarita.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Classic lime margarita"},
    pinacolada    = { name = "pinacolada", label = "Pina Colada", weight = 200, type = "item", image = "pinacolada.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Pineapple coconut delight"},
    sangria    = { name = "sangria", label = "Sangria", weight = 200, type = "item", image = "sangria.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fruity wine punch"},
    screwdriver    = { name = "screwdriver", label = "Screwdriver", weight = 200, type = "item", image = "screwdriver.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Vodka and orange juice"},
    strawdaquiri    = { name = "strawdaquiri", label = "Strawberry Daquiri", weight = 200, type = "item", image = "strawdaquiri.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Frozen strawberry cocktail"},
    strawmargarita    = { name = "strawmargarita", label = "Strawberry Margarita", weight = 200, type = "item", image = "strawmargarita.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Strawberry twist on a margarita"},

    --BEERS
    ambeer    = { name = "ambeer", label = "AM Beer", weight = 100, type = "item", image = "ambeer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A light beer"},
    dusche    = { name = "dusche", label = "Dusche Gold", weight = 100, type = "item", image = "dusche.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Premium lager"},
    logger    = { name = "logger", label = "Logger Beer", weight = 100, type = "item", image = "logger.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Full-bodied beer"},
    pisswasser    = { name = "pisswasser", label = "Pißwasser", weight = 100, type = "item", image = "pisswaser1.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cheap lager"},
    pisswasser2    = { name = "pisswasser2", label = "Pißwasser Stout", weight = 100, type = "item", image = "pisswaser2.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Dark and rich"},
    pisswasser3    = { name = "pisswasser3", label = "Pißwasser Pale Ale", weight = 100, type = "item", image = "pisswaser3.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Crisp pale ale"},

    --SODA
    sprunk    = { name = "sprunk", label = "Sprunk", weight = 100, type = "item", image = "sprunk.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fizzy green soda"},
    sprunklight    = { name = "sprunklight", label = "Sprunk Light", weight = 100, type = "item", image = "sprunklight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Diet version of Sprunk"},
    ecola    = { name = "ecola", label = "eCola", weight = 100, type = "item", image = "ecola.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cola beverage"},
    ecolalight    = { name = "ecolalight", label = "eCola Light", weight = 100, type = "item", image = "ecolalight.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Light cola beverage"},

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

    --Food
    nplate    = { name = "nplate", label = "Nachos Plate", weight = 200, type = "item", image = "nplate.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A plate of nachos and cheese"},
    vusliders    = { name = "vusliders", label = "Sliders", weight = 200, type = "item", image = "sliders.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Mini burger sliders"},
    vutacos    = { name = "vutacos", label = "Tacos", weight = 200, type = "item", image = "tacos.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Delicious tacos"},
    tots    = { name = "tots", label = "Tits or Tots", weight = 200, type = "item", image = "tots.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Cheeky golden tots"},

    --Food Ingredients
    meat    = { name = "meat", label = "Meat", weight = 200, type = "item", image = "meat.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "A slab of meat"},
    nachos    = { name = "nachos", label = "Nachos", weight = 200, type = "item", image = "nachos.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Crunchy nacho chips"},
    lettuce    = { name = "lettuce", label = "Lettuce", weight = 100, type = "item", image = "lettuce.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Fresh green lettuce"},
    cheddar    = { name = "cheddar", label = "Cheddar Slice", weight = 500, type = "item", image = "cheddar.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Slice of cheddar cheese"},
    potato    = { name = "potato", label = "Potatoes", weight = 500, type = "item", image = "potatoes.png", unique = false, useable = false, shouldClose = false, combinable = nil, description = "Raw potatoes"},

Last updated