Config
Config = {}
Config.Notify = "ox" -- "ox" / okok
Config.InvLink = "ox_inventory/web/build/images/" -- Your directory images inventory [ qs-inventory/html/images/]
Config.BreakAxe = true -- Break axe when chopping trees?
Config.Chance = 10 -- Chance to break the axe | 10 = 10%
Config.Webhook = "" -- Your webhook for logs
Config.CustomSkills = false -- If true you need add your own code on server/s_utils.lua
Config.NeedJob = {
enable = true, -- Need job to use this job?
job = "lumberjack", -- Job name
}
Config.Peds = {
[1] = { model = "a_m_m_farmer_01", coords = vector4(-568.03, 5253.20, 69.49, 77.16) }, -- Starting the job
}
Config.Zones = {
["Trees"] = { -- Zones to chop trees
vector3(-510.88, 5388.94, 72.52),
vector3(-505.14, 5391.08, 75.43),
vector3(-492.71, 5394.9, 77.26),
vector3(-499.98, 5400.61, 75.24),
vector3(-557.72, 5418.73, 63.24),
vector3(-562.07, 5421.19, 62.1),
vector3(-501.86, 5380.23, 75.88),
vector3(-501.78, 5377.01, 75.8),
vector3(-501.51, 5374.06, 75.77)
},
["Process"] = { -- Zones to process wood or resin
vector3(-501.81, 5267.85, 80.61),
vector3(-500.97, 5269.91, 80.61),
vector3(-515.02, 5263.43, 80.65),
vector3(-517.01, 5257.59, 80.65),
vector3(-508.54, 5257.29, 80.62)
}
}
Config.Blips = {
[1] = { Enable = true, Location = vector3(-568.03, 5253.20, 69.49), Sprite = 77, Display = 2, Scale = 0.8, Colour = 31, Name = "Lumberjack",},
[2] = { Enable = true, Location = vector3(-516.58, 5257.02, 80.65), Sprite = 253, Display = 2, Scale = 0.8, Colour = 31, Name = "Process Wood",},
[3] = { Enable = true, Location = vector3(-486.15, 5383.42, 78.71), Sprite = 79, Display = 2, Scale = 0.8, Colour = 31, Name = "Trees",},
[4] = { Enable = true, Location = vector3(1202.3, -1316.73, 34.64), Sprite = 272, Display = 2, Scale = 0.8, Colour = 31, Name = "Warehouse Lumberjack",},
}
Config.Selling = {
Location = vector3(1202.3, -1316.73, 34.64), -- Location to sell items to tickets
Payment = {
amount = { min = 5, max = 10 } -- Each ticket
},
}
Config.Rent = {
Model = "phantom", -- Model of vehicle
Trailer = "trailerlogs", -- Model of trailer
Plate = "Lumb", -- Plate
Location = vector4(-579.88, 5243.57, 70.47, 172.18), -- Location to spawn the vehicle
LocationTrailer = vector4(-577.47, 5252.38, 70.47, 163.89), -- Location to spawn the trailer
Delete = vector4(-576.71, 5252.24, 70.47, 338.94), -- Location to return / delete the truck
Fuel = "LegacyFuel", -- Your trigger fuel | "ps-fuel" , "LegacyFuel"
}
Config.Times = {
TakeJob = 2500, -- Time of progressbar when you are obtaining the job
Pickup = 2500, -- Time of progressbar when you are picking up
Packing = 2500, -- Time of progressbar when you go packing the wood/resin
Selling = 2500, -- Time of progressbar when you go selling wood/resin
}
Config.Drops = {
PickupDrop = { -- List of items received when chop tree's
"wood",
"resin",
"leaf",
},
pickup = { -- Amount received when chop tree's
level1 = { min = 1, max = 2 }, -- Axe level 1
level2 = { min = 2, max = 3 }, -- Axe level 2
level3 = { min = 3, max = 4 }, -- Axe level 3
level4 = { min = 4, max = 5 }, -- Axe level 4
level5 = { min = 5, max = 6 }, -- Axe level 5
},
}
Config.EnableMG = false -- Enable mini-game?
Config.Minigame = { -- ps-ui https://github.com/Project-Sloth/ps-ui
NumberOfCircles = 2,
MS = 20,
}
Config.Process = {
["wood_packaged"] = {
hash = "wood_packaged",
label = "Packaged Wood",
materials = {
[1] = { item = "wood", amount = 5, label = "Wood" },
}
},
["resin_packaged"] = {
hash = "resin_packaged",
label = "Packaged Resin",
materials = {
[1] = { item = "resin", amount = 5, label = "Resin" },
}
},
}
Config.Upgrades = {
["axelevel2"] = {
hash = "axelevel2",
label = "Axe Level 2",
materials = {
[1] = { item = "axelevel1", amount = 1, label = "Axe Level 1" },
[2] = { item = "wood", amount = 10, label = "Wood" },
}
},
["axelevel3"] = {
hash = "axelevel3",
label = "Axe Level 3",
materials = {
[1] = { item = "axelevel2", amount = 1, label = "Axe Level 2" },
[2] = { item = "wood", amount = 20, label = "Wood" },
}
},
["axelevel4"] = {
hash = "axelevel4",
label = "Axe Level 4",
materials = {
[1] = { item = "axelevel3", amount = 1, label = "Axe Level 3" },
[2] = { item = "wood", amount = 30, label = "Wood" },
}
},
["axelevel5"] = {
hash = "axelevel5",
label = "Axe Level 5",
materials = {
[1] = { item = "axelevel4", amount = 1, label = "Axe Level 4" },
[2] = { item = "wood", amount = 40, label = "Wood" },
}
},
}
function Notify(msg, type, time)
if Config.Notify == "okok" then
exports['okokNotify']:Alert('Notification', msg, time, type)
elseif Config.Notify == "ox" then
lib.notify({ title = 'Notification', description = msg, type = 'inform' })
end
end
Last updated