Skip to content

Usage

Structured Job

Starting the job

Approach the farm NPC (configured in Config.Peds.main) and select Start Farming Job. Up to 2 players can join a single job session.

Activities

ActivityMax PlayersPay
Milking cows24
Farm cleaning & repairs24

Activities must be selected at the depot NPC and a vehicle is assigned. Each activity runs a set number of tasks before completing.

Farm health

The farm has a health value (0–150%) that degrades over time and increases with each completed task. Health affects salary through multipliers:

StatusMultiplier
Green (healthy)×1.25
Yellow (degraded)×1.05
Red (critical)×1.00

Health decreases by 10% every 2 hours (after the first 30 minutes) and increases by 2.5% per completed task. All values are configurable in Config.Health.

Open World Farming

Overview

Players place pots in designated farming zones, plant seeds, tend to the crops, and harvest them when mature. Pots and crop states persist between server restarts.

Step by step

  1. Obtain a pot - small, medium or large. Each pot size supports a different number of plants.
  2. Place the pot in a valid farming zone.
  3. Plant seeds - interact with the pot and select a seed from your inventory.
  4. Water the pot regularly using a water can.
  5. (Optional) Fertilize the pot to speed up growth.
  6. Harvest once crops reach their final growth stage.

Zone requirements

Each farming zone has minimum humidity and sun values required for crops to grow. Zones may also restrict which seed types can be planted via a seedsAllowlist.

Crop types

The following seeds and crops are used. All item names can be remapped in Config.Items.

CropSeed itemHarvest item
Lettuceseeds_lettucefarm_lettuce
Tomatoseeds_tomatofarm_tomato
Strawberryseeds_strawberryfarm_strawberry
Grapeseeds_grapefarm_grape
Cucumberseeds_cucumberfarm_cucumber
Eggplantseeds_eggplantfarm_eggplant
Onionseeds_onionfarm_onion
Potatoseeds_potatofarm_potato
Watermelonseeds_watermelonfarm_watermelon
Bananaseeds_bananafarm_banana
Appleseeds_applefarm_apple
Wheatseeds_wheatfarm_wheat
Soyseeds_soyfarm_soy

Additional required items: farm_pot_small, farm_pot_medium, farm_pot_large, farm_water_can, farm_fertilizer.

Reputation

Harvesting crops earns reputation. Certain items are restricted by reputation by default, all reputation getters and setters are defined in server/editable.lua

Configuration

shared/config.lua

OptionDefaultDescription
Config.StartByNPCtrueWhether the job is started through an NPC
Config.Job.maxMembers2Max players per job group
Config.Job.limit50Max concurrent jobs server-wide
Config.Health.decreaseAfter1800 (30 min)Seconds before health starts degrading
Config.Health.decreaseEvery7200 (2 hrs)How often health decreases (seconds)
Config.Health.decreaseAmount10Health % lost per decrease tick
Config.Health.increaseAmount2.5Health % gained per completed task
Config.FencesCooldown.maxTasks3Max fence tasks before cooldown applies
Config.FencesCooldown.timeCooldown900 (15 min)Cooldown duration in seconds
Config.MilkDropOff.coordsvector3(2433.98, 5011.18, 46.85)The zone/blip coords of where to drop off the milk
Config.MilkDropOff.sizevector3(6.2, 1.0, 3.0)The zone size of where to drop off the milk
Config.MilkDropOff.rotation135The zone rotation of where to drop off the milk
Config.MilkDropOff.coordsfalseDoes the milk drop off zone have debug enabled

shared/config_openworld.lua

OptionDefaultDescription
Config.OWStatetrueEnable or disable the open world farming system
Config.OpenWorldJob.maxMembers4Max members for the open world farming job group

server/config.lua

OptionDescription
SvConfig.Shop.itemsList of seeds available in the shop and their prices
SvConfig.Logs.pots.webhookDiscord webhook for pot/crop action logging