[Free][QBCore/ESX] Gather resources

Sinor-gather (QBCore/ESX)

  • gather resources like wood and stone and more…

:sparkles: Features

  • Gather resources using specific weapons or tools.
  • Seamless farming: simply hit the props to collect items—no interaction/menu required.
  • Individual cooldowns for each farmable prop to prevent rapid farming.
  • Configurable zones for prop spawning and resource gathering.

:gear: Supported Frameworks

  • QBCore
  • ESX

:memo: Configuration

  • Edit config.lua to customize prop lists,items received and zones…
Config = {}
Config.Framework = 'QBCore'  --'QBCore', 'ESX'
Config.Gathering = {
    Cooldown = 5 * 60 * 1000, -- 5 minutes for eash prop
    Resources = {
        -- wood
        {
            name = "wood", 
            PropCount = 60, -- haw many props are spawned in wood zones
            propModels = {"prop_tree_fallen_pine_01", "prop_log_01", "prop_tree_log_02"}, -- props to farm
            requiredWeapons = { -- needed to farm props
                `WEAPON_HATCHET`,
                `WEAPON_BATTLEAXE`
            },
            receiveItem = "wood", -- what player receave
            minAmount = 5, -- eash hit gives min/max amount
            maxAmount = 8,
            zones = { -- zones of spwned props
                {center = vector3(2002.0, 2812.22, 50.3), radius = 100},
                {center = vector3(1577.71, 1570.74, 106.24), radius = 80}
                -- you can add more
            }
        },
        -- stone
        {
            name = "stone",
            PropCount = 35, 
            propModels = {"cs_x_rubsmlb", "prop_rock_4_d", "rock_4_cl_2_2"},
            requiredWeapons = {
                `WEAPON_HAMMER`
            },
            receiveItem = "stone",
            minAmount = 3,
            maxAmount = 5,
            zones = {
                {center = vector3(779.49, 6635.41, 1.6), radius = 90},
            }
        },
        -- metal
        {
            name = "metal",
            PropCount = 25, 
            propModels = {"prop_test_rocks02"},
            requiredWeapons = {
                `WEAPON_HAMMER`
            },
            receiveItem = "metal",
            minAmount = 2,
            maxAmount = 4,
            zones = {
                {center = vector3(-2714.77, 2755.38, 0.34), radius = 90},
            }
        },
        -- sulfer
        {
            name = "sulfur",
            PropCount = 15, 
            propModels = {"csx_coastsmalrock_03_", "csx_rvrbldr_mede_", "csx_coastsmalrock_02_"},
            requiredWeapons = {
                `WEAPON_HAMMER`
            },
            receiveItem = "sulfur",
            minAmount = 1,
            maxAmount = 2,
            zones = {
                {center = vector3(-2065.17, 1473.22, 274.02), radius = 100},
            }
        },
        -- you can add more
    }
}

Preview :

Tebex :

Free : https://sinorsystem.tebex.io/category/free-resources

opensource : https://sinorsystem.tebex.io/category/open-source

:question: Support

For help or to report issues,join our Discord.

Other Scripts

Standalone|ZombieSystem
Standalone|VehicleSpawner
standalone|SurvivalHUD
QBCore|RobberyCreator
QBCore|SafeZone
QBCore|Shop
QBCore|WeatherSync
QBCore|PhoneStoreRobbery
QBCore|CamperHousing
QBCore|LootBags
ESX|LootBags
ESX/QBCore|InGameMusic
ESX/QBCore|RadiationZones
ESX/QBCore|LootAreas
ESX/QBCore|CraftingVehicles
ESX/QBCore|Recycler

Code is accessible N/A
Subscription-based No
Lines (approximately) 300+
Requirements QBCore/ESX
Support Yes
2 Likes