📄Installation Guide

Do not skim the instructions. You need to follow every step of the Install Guide to make sure you're installing the script correctly

1. Add the script to your server resources

We highly recommend putting jixel-cluckinbell in a new folder called [jixel]

NOTE: IF YOU ALREADY HAVE A [jim] or [jixel] FOLDER PUT IT IN THAT FOLDER YOU DO NOT NEED TO CREATE A NEW ONE.

Then add ensure [jim] or [jixel] after your other scripts have started in your server.cfg

2. Items

Add the images from the images folder in to your

INVENTORY > HTML > IMAGES

The following code block goes into your

QB-CORE > SHARED > ITEMS.LUA

-- Headers
["vegetable"]   = {["name"] = "vegetable", 				["label"] = "Vegetables", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_veggies.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["plant"]       = {["name"] = "plant", 				["label"] = "Plants", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_plant.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["animal"]      = {["name"] = "animal", 				["label"] = "Animal", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_animal.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["fruit"]   	= {["name"] = "fruit", 				["label"] = "fruit", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_fruit.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["herb"]   		= {["name"] = "herb", 				["label"] = "Herbs", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_herbs.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["processed"]   = {["name"] = "processed", 				["label"] = "Processed", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_herbs.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
["juicer"]      = {["name"] = "juicer", 				["label"] = "juicer", 			["weight"] = 100, 		["type"] = "item", 			["image"] = "farm_herbs.png", 		    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
------------Fruit And Veggies ---------------------
["orange"]       = {["name"] = "orange",           ["label"] = "Orange",      ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_orange.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true, ["combinable"] = nil,   ["description"] = "" },
["peach"]       = {["name"] = "peach",           ["label"] = "Peach",      ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_peach.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["mango"]       = {["name"] = "mango",           ["label"] = "Mango",      ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_mango.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["plum"]       = {["name"] = "plum",            ["label"] = "Plum",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_plum.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["apple"]       = {["name"] = "apple",           ["label"] = "Apple",      ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_apple.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["lemon"]       = {["name"] = "lemon",           ["label"] = "Lemon",      ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_lemon.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["pear"]       = {["name"] = "pear",            ["label"] = "Pear",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_pear.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["guava"]       = {["name"] = "guava",            ["label"] = "Guava",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_guava.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["banana"]       = {["name"] = "banana",            ["label"] = "Banana",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_banana.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["papaya"]       = {["name"] = "papaya",            ["label"] = "Papaya",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_papaya.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["avacado"]       = {["name"] = "avacado",            ["label"] = "Avacado",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_avacado.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["apricot"]       = {["name"] = "apricot",            ["label"] = "Apricot",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_apricot.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
---- Mini Game 
["wheat"]       = {["name"] = "wheat",            ["label"] = "Wheat",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_wheat.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
----- Plant
["blueberry"]       = {["name"] = "blueberry",            ["label"] = "Blueberry",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_blueberry.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["strawberry"]       = {["name"] = "strawberry",            ["label"] = "Strawberry",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_strawberry.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["blackberry"]       = {["name"] = "blackberry",            ["label"] = "Blackberry",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_blackberry.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rasberry"]       = {["name"] = "rasberry",            ["label"] = "Rasberry",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rasberry.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["tomato"]       = {["name"] = "tomato",            ["label"] = "Tomato",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_tomato.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["cherry"]       = {["name"] = "cherry",            ["label"] = "Cherry",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_cherry.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
--- Herbs 
["thyme"]       = {["name"] = "thyme",            ["label"] = "Thyme",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_thyme.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["oregano"]       = {["name"] = "oregano",            ["label"] = "Oregano",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_oregano.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["basil"]       = {["name"] = "basil",            ["label"] = "Basil",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_basil.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["chives"]       = {["name"] = "chives",            ["label"] = "Chives",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_chives.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["chilipepper"]       = {["name"] = "chilipepper",            ["label"] = "Chili Pepper",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_chilipepper.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["cilantro"]       = {["name"] = "cilantro",            ["label"] = "Cilantro",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_cilantro.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["mint"]       = {["name"] = "mint",            ["label"] = "Mint",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_mint.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
---- Nuts ----
["walnut"]       = {["name"] = "walnut",            ["label"] = "Walnut",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_walnut.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["almond"]       = {["name"] = "almond",            ["label"] = "Almond",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_almond.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["pistachio"]    = {["name"] = "pistachio",         ["label"] = "Pistachio",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_pistachio.png",   ["unique"] = false,  ["useable"] = false,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },

--------------- Animal Products ---------------
["deadchicken"]       = {["name"] = "deadchicken",            ["label"] = "Dead Chicken",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_deadchicken.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawporkchops"]       = {["name"] = "rawporkchops",            ["label"] = "Raw Pork Chops",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawporkchops.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawpork"]       = {["name"] = "rawpork",            ["label"] = "Raw Pork",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawpork.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawchicken"]       = {["name"] = "rawchicken",            ["label"] = "Raw Chicken",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawchicken.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawbeef"]       = {["name"] = "rawbeef",            ["label"] = "Raw Beef",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawbeef.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawbacon"]       = {["name"] = "rawbacon",            ["label"] = "Raw Bacon",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawbacon.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawsteak"]       = {["name"] = "rawsteak",            ["label"] = "Raw Steak",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawsteak.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["rawgroundbeef"]       = {["name"] = "rawgroundbeef",            ["label"] = "Raw Ground Beef",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_rawgroundbeef.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["chickenbreast"]       = {["name"] = "chickenbreast",            ["label"] = "Raw Chicken Breast",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_chickenbreast.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["chickenwings"]       = {["name"] = "chickenwings",            ["label"] = "Raw Chicken Wings",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_chickenwings.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["milk"]       = {["name"] = "milk",            ["label"] = "Milk",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_milk.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["emptymilkbucket"]       = {["name"] = "emptymilkbucket",            ["label"] = "Empty Milk Bucket",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_emptymilkbucket.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["milkbucket"]       = {["name"] = "milkbucket",            ["label"] = "Milk Bucket",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_milkbucket.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["butter"]       = {["name"] = "butter",            ["label"] = "Butter",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_butter.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["cheese"]       = {["name"] = "cheese",            ["label"] = "Cheese",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_cheese.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["egg"]       = {["name"] = "egg",            ["label"] = "Egg",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_egg.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },

------ Processed Products ---------
["applejuice"]       = {["name"] = "applejuice",            ["label"] = "Apple Juice",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_applejuice.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["orangejuice"]       = {["name"] = "orangejuice",            ["label"] = "Orange Juice",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_orangejuice.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["peachjuice"]       = {["name"] = "peachjuice",            ["label"] = "Peach Juice",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_peachjuice.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["tomatojuice"]       = {["name"] = "tomatojuice",            ["label"] = "Tomato Juice",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_tomatojuice.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["lemonjuice"]       = {["name"] = "lemonjuice",            ["label"] = "Lemon Juice",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_lemonjuice.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["tomatosauce"]       = {["name"] = "tomatosauce",            ["label"] = "Tomato Sauce",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_tomatosauce.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["salsa"]       = {["name"] = "salsa",            ["label"] = "Salsa",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_salsa.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["strawberryjam"]       = {["name"] = "strawberryjam",            ["label"] = "Strawberry Jam",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_strawberryjam.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["flour"]       = {["name"] = "flour",            ["label"] = "Flour",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_flour.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
["blueberryjam"]       = {["name"] = "blueberryjam",            ["label"] = "Blueberry Jam",       ["weight"] = 100,   ["type"] = "item",   ["image"] = "farming_blueberryjam.png",   ["unique"] = false,  ["useable"] = true,  ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "" },
	

2. Emotes

The following code block goes into your

If using DP-Emotes by DullPear

DPEMOTES > CLIENT > ANIMATIONLIST.LUA in DP.PropEmotes

If using RP-Emotes by TayMcKenzie

RPEMOTES > CLIENT > AnimationListCustom.lua

    ["stab"] = {"melee@hatchet@streamed_core_fps", "plyr_front_takedown_b", "Stab", AnimationOptions =
   {   Prop = 'prop_knife', PropBone = 57005, PropPlacement = {0.1, 0.10, 0.10, 240.0, -60.0},
       EmoteMoving = true, EmoteLoop = true, }},                 

3. Job

Only applicable if you want the job - job locked

and turn

Job = "all"

to

Job = "farmer"

and add this to your

QB-CORE > SHARED > JOBS.LUA

['farmer'] = {
        label = 'Farmer',
        defaultDuty = false,
        offDutyPay = false,
        grades = {
            ['0'] = { name = 'Farm Hand', payment = 100 },
        },
    }

4. Rep

Only applicable if you want recipes to be farmrep locked and for your players to earn farm rep

Which you can turn on by turning

FarmingRep = false

to

FarmingRep = true

Next you will want to go to your

QB-CORE > SERVER > PLAYER.LUA

Find this line

PlayerData.metadata['phonedata'] = PlayerData.metadata['phonedata'] or {
        SerialNumber = QBCore.Player.CreateSerialNumber(),
        InstalledApps = {},
    } -- this line already exists

Add this

PlayerData.metadata['farmingrep'] = PlayerData.metadata['farmingrep'] or 0 -- add this line

Then for your recipes just change the 0's in the recipes to a different number

Last updated