Configuration
Check the instructions below.
The primary configuration files are config.lua
and locales/en.lua
.
General Settings
SQLScript
Specifies the SQL library (oxmysql
, mysql-async
).
"oxmysql"
target
Interaction type (qb-target
, ox_target
, drawtext
).
"drawtext"
interactionKey
Interaction key if not using a targeting system.
38
(E
)
ProfilePhotoType
Determines the profile photo type (steam
, discord
, none
).
"steam"
DiscordToken
Discord bot token (required if ProfilePhotoType
is "discord"
).
""
NoImage
Default image used for leaderboard if no profile photo is available.
"assets/images/default-pp.png"
leaderboardMaxList
Maximum number of entries shown on the leaderboard.
30
Lumberjack Job Configuration
pos
Starting position of the lumberjack job.
vector3(-552.54, 5348.58, 73.74)
heading
Heading direction of the lumberjack NPC.
67.53
ped
NPC model for the job.
"s_m_m_lathandy_01"
blip
Settings for the job blip on the map.
{sprite, color, scale, name}
CuttingTreeTime
Time required to cut down a tree (in milliseconds).
5000
Money
Money earned per tree cut.
100
Tree Locations
Define the locations where trees can be cut.
Axe Configuration
tier1axe
Base tier axe model.
"w_me_stonehatchet"
tier2axe
Mid-tier axe model.
"prop_w_me_hatchet"
tier3axe
High-tier axe model.
"prop_ld_fireaxe"
tier1axePos
Position offsets for tier 1 axe.
{0.13, 0.055, 0.0, ...}
tier2axeUpgradeLimit
Number of trees required to upgrade to tier 2 axe.
50
tier3axeUpgradeLimit
Number of trees required to upgrade to tier 3 axe.
100
tier2axeBonusPercent
Bonus percentage for tier 2 axe.
20
tier3axeBonusPercent
Bonus percentage for tier 3 axe.
40
Contract System
Players can accept contracts to cut a specific number of trees for additional rewards.
contractMoney
Money earned upon completing a contract.
100
maxTreeCount
Maximum number of trees per contract.
75
maxPercent
Maximum reward percentage for contracts.
50
contractNumberOfUses
Number of times a contract can be reused.
3
makeContractLevel
Level required to create a contract.
5
Notifications
Customizable text notifications for the script.
lumberjackDataNotFound
"warning: lumberjack data not found"
interaction
"Press [~g~E~w~] to cut tree"
earnMoney
"You earned $%s"
levelUp
"You're level up! Your Level %s"
startjob
"You have started the job"
stopjob
"You have stopped the job"
Last updated