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 IGNORE INTO `account_roles` (`name`) VALUES
('novice'),
('experienced'),
('advanced'),
('manager'),
('owner');

INSERT IGNORE INTO `ox_groups` ( `name`, `label`, `colour`, `hasAccount`) VALUES
( 'burgershot', 'Burgershot', NULL, 1 );

INSERT IGNORE INTO `ox_group_grades` (`group`, `grade`, `label`, `accountRole`) VALUES
('burgershot', 0, 'Recruit', NULL),
('burgershot', 1, 'Novice', 'novice'),
('burgershot', 2, 'Experienced', 'experienced'),
('burgershot', 3, 'Advanced', 'advanced'),
('burgershot', 4, 'Manager', 'manager'),
('burgershot', 5, 'Owner', 'owner');

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-BURGERSHOT --
    potato    = { name = 'potato', label = 'Potatoes', weight = 500, type = 'item', image = 'potatoes.png', unique = false, useable = false, shouldClose = false, description = 'Bag of potatoes.' },
    slicedpotato    = { name = 'slicedpotato', label = 'Sliced Potatoes', weight = 500, type = 'item', image = 'burger-slicedpotato.png', unique = false, useable = false, shouldClose = false, description = 'Sliced fresh potatoes.' },
    slicedonion    = { name = 'slicedonion', label = 'Sliced Onions', weight = 500, type = 'item', image = 'burger-slicedonion.png', unique = false, useable = false, shouldClose = false, description = 'Crispy onion slices.' },
    icecream    = { name = 'icecream', label = 'Ice Cream', weight = 500, type = 'item', image = 'burger-icecream.png', unique = false, useable = false, shouldClose = false, description = 'Chilled and creamy dessert.' },
    milk    = { name = 'milk', label = 'Milk', weight = 500, type = 'item', image = 'burger-milk.png', unique = false, useable = true, shouldClose = true, description = 'Carton of fresh milk.' },
    lettuce    = { name = 'lettuce', label = 'Lettuce', weight = 100, type = 'item', image = 'lettuce.png', unique = false, useable = false, shouldClose = false, description = 'Fresh leafy lettuce.' },
    onion    = { name = 'onion', label = 'Onion', weight = 500, type = 'item', image = 'burger-onion.png', unique = false, useable = false, shouldClose = false, description = 'A whole raw onion.' },
    frozennugget    = { name = 'frozennugget', label = 'Frozen Nuggets', weight = 500, type = 'item', image = 'burger-frozennugget.png', unique = false, useable = false, shouldClose = false, description = 'Bag of frozen chicken nuggets.' },
    cheddar    = { name = 'cheddar', label = 'Cheddar Slice', weight = 500, type = 'item', image = 'cheddar.png', unique = false, useable = false, shouldClose = false, description = 'A single slice of cheddar cheese.' },
    burgerbun    = { name = 'burgerbun', label = 'Burger Bun', weight = 100, type = 'item', image = 'burgerbun.png', unique = false, useable = false, shouldClose = false, description = 'Soft bun for burgers.' },
    burgerpatty    = { name = 'burgerpatty', label = 'Burger Patty', weight = 500, type = 'item', image = 'burgerpatty.png', unique = false, useable = false, shouldClose = false, description = 'Raw beef patty for grilling.' },
    burgermeat    = { name = 'burgermeat', label = 'Burger Meat', weight = 500, type = 'item', image = 'burgermeat.png', unique = false, useable = false, shouldClose = false, description = 'Cooked burger meat patty.' },
    milkshake    = { name = 'milkshake', label = 'Milkshake', weight = 500, type = 'item', image = 'burger-milkshake.png', unique = false, useable = true, shouldClose = true, description = 'Thick and sweet milkshake.' },
    shotnuggets    = { name = 'shotnuggets', label = 'Shot Nuggets', weight = 200, type = 'item', image = 'burger-shotnuggets.png', unique = false, useable = true, shouldClose = true, description = 'BurgerShot chicken nuggets.' },
    shotrings    = { name = 'shotrings', label = 'Ring Shots', weight = 200, type = 'item', image = 'burger-shotrings.png', unique = false, useable = true, shouldClose = true, description = 'BurgerShot onion rings.' },
    heartstopper    = { name = 'heartstopper', label = 'HeartStopper', weight = 200, type = 'item', image = 'burger-heartstopper.png', unique = false, useable = true, shouldClose = true, description = 'Massive heart-stopping burger.' },
    shotfries    = { name = 'shotfries', label = 'Shot Fries', weight = 200, type = 'item', image = 'burger-fries.png', unique = false, useable = true, shouldClose = true, description = 'Golden BurgerShot fries.' },
    moneyshot    = { name = 'moneyshot', label = 'Money Shot', weight = 200, type = 'item', image = 'burger-moneyshot.png', unique = false, useable = true, shouldClose = true, description = 'BurgerShot’s signature burger.' },
    meatfree    = { name = 'meatfree', label = 'Meat Free', weight = 200, type = 'item', image = 'burger-meatfree.png', unique = false, useable = true, shouldClose = true, description = 'Plant-based burger option.' },
    bleeder    = { name = 'bleeder', label = 'The Bleeder', weight = 200, type = 'item', image = 'burger-bleeder.png', unique = false, useable = true, shouldClose = true, description = 'Spicy burger with a kick.' },
    bscoffee    = { name = 'bscoffee', label = 'BurgerShot Coffee', weight = 200, type = 'item', image = 'burger-coffee.png', unique = false, useable = true, shouldClose = true, description = 'Hot BurgerShot coffee.' },
    bscoke    = { name = 'bscoke', label = 'BurgerShot Coke', weight = 200, type = 'item', image = 'burger-softdrink.png', unique = false, useable = true, shouldClose = true, description = 'Chilled cola beverage.' },
    torpedo    = { name = 'torpedo', label = 'Torpedo', weight = 200, type = 'item', image = 'burger-torpedo.png', unique = false, useable = true, shouldClose = true, description = 'Long sub-style burger.' },
    rimjob    = { name = 'rimjob', label = 'Rim Job', weight = 200, type = 'item', image = 'burger-rimjob.png', unique = false, useable = true, shouldClose = true, description = 'BurgerShot donut treat.' },
    creampie    = { name = 'creampie', label = 'Creampie', weight = 200, type = 'item', image = 'burger-creampie.png', unique = false, useable = true, shouldClose = true, description = 'Classic apple pie dessert.' },
    cheesewrap    = { name = 'cheesewrap', label = 'BS Cheese Wrap', weight = 150, type = 'item', image = 'burger-chickenwrap.png', unique = false, useable = true, shouldClose = true, description = 'Cheesy chicken wrap.' },
    chickenwrap    = { name = 'chickenwrap', label = 'BS Goat Cheese Wrap', weight = 150, type = 'item', image = 'burger-goatwrap.png', unique = false, useable = true, shouldClose = true, description = 'Wrap filled with goat cheese.' },
    murderbag    = { name = 'murderbag', label = 'Murder Bag', weight = 0, type = 'item', image = 'burgerbag.png', unique = true, useable = true, shouldClose = true, description = 'A surprise bag full of burgers.' },

Last updated