GFX Development
  • gfx
    • About GFX
  • Product Docs
    • 📥GFX All in One Menu
      • 🛠️Setup
        • ⚙️Configuration
        • 📝Setting Permissions
      • 📒Informations
        • 💻For Developers
        • 👨‍💻Admin Commands
      • 🖇️Pages
        • 📄Profile
        • 📄Leaderboard
    • 🏎️GFX Racing
      • 🔨Installation
      • ⚙️Configuration
    • 📸GFX Deathcam
      • 🔨Installation
      • GFX Deathcam V1
        • ⚙️Configuration
      • GFX Deathcam V2
        • ⚙️Configuration
    • 📊GFX Leaderboard
      • 🔨Installation
      • ⚙️Configuration
    • ⚔️GFX Arena
      • 🔨Installation
      • ⚙️Configuration
    • 👨‍👨‍👦‍👦GFX Squad
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports
    • 🔬GFX Evidence
      • 🔨Installation
      • ⚙️Configuration
    • ❗GFX Notification
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports and Events
        • ⬆️Exports
        • ⬇️Events
    • 🚚GFX Delivery
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Tebexshop
      • 🔨Installation
      • ⚙️Configuration
      • ⚠️Tebex Settings
      • ⬆️Exports
    • 👁️‍🗨️GFX Interact
      • 🔨Installation
      • ⬆️Exports
    • 🫂GFX Crew
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🫂GFX Squad Remake
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX PVP Chat
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX HUD
      • 🔨Installation
      • ⚙️Configuration
    • 🔫GFX Attachment
      • 🔨Installation
      • ⚙️Configuration
    • 💀GFX Deathlog
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX PVP Shop
      • 🔨Installation
      • ⚙️Configuration
    • 🧱GFX Crafting
      • 🔨Installation
      • ⚙️Configuration
    • 🚍GFX Bus Job
      • 🔨Installation
      • ⚙️Configuration
    • 🐔GFX Chicken Farm
      • 🔨Installation
      • ⚙️Configuration
    • 🎁GFX Giveaway
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Pawnshop
      • 🔨Installation
      • ⚙️Configuration
    • 🪵GFX Lumberjack
      • 🔨Installation
      • ⚙️Configuration
    • 🚙GFX Secondhand Vehicle
      • 🔨Installation
      • ⚙️Configuration
    • 🤖GFX Autopilot
      • 🔨Installation
      • ⚙️Configuration
    • 🗳️GFX Vote
      • 🔨Installation
      • ⚙️Configuration
    • 🟢GFX Safezone
      • 🔨Installation
      • ⚙️Configuration
    • 🎅GFX Christmastruck
      • 🔨Installation
      • ⚙️Configuration
    • 🚔GFX Handcuff
      • 🔨Installation
      • ⚙️Configuration
    • 🚚GFX Trucker Job
      • 🔨Installation
      • ⚙️Configuration
    • 🌱GFX Weed
      • 🔨Installation
      • ⚙️Configuration
    • 🔉GFX DUI Radio
      • 🔨Installation
      • ⚙️Configuration
Powered by GitBook
On this page
  1. Product Docs
  2. GFX Lumberjack

Configuration

Check the instructions below.

The primary configuration files are config.lua and locales/en.lua.


General Settings

Setting
Description
Default Value

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

Setting
Description
Default Value

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.

luaKodu kopyalaConfig.lumberjack.TreeLocations = {
    vector3(-558.13, 5419.9, 62.19),
    vector3(-561.29, 5421.21, 61.28),
    vector3(-577.86, 5427.66, 58.05),
    vector3(-585.65, 5447.54, 59.35),
    ...
}

Axe Configuration

Setting
Description
Default Value

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.

Setting
Description
Default Value

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.

Setting
Default Message

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"


PreviousInstallationNextGFX Secondhand Vehicle

Last updated 5 months ago

🪵
⚙️