[PAID][ESX] Farming System | Easy to add new farmroutes

Farmingsystem lite made by coRtyTV

A simple script for a farmingsystem written in LUA.

Features

  • Available in english or german
  • The player doesn’t need to accept a job, he can just farm the items
  • Compatible for inventory with itemlimit instead itemweight
  • Drops random amount of each item like you are setting in the item file
  • Animation with prop if you want
  • Give the player the opportunity to do what ever he want
  • This script is only for farming
  • Supporting while adding the first farming route

Buy here: Tebex.io
Preview: Youtube

Details



folderstructure_farming
Just duplicate this file and change the parameters you want

Installation

Install instructions

  • Unzip the ctv_farming-litefolder and drag it to your “resources” folder
  • Add “start ctv_farming-lite” to your server.cfg
  • For the animation and notifications you needs “mythic_notify” and “mythic_progbar”
  • Add “start mythic_notify” and “start mythic_progbar” to your server.cfg

Configuration

  • Open “config.lua” and configure the script like you want
  • Config.Locale → Actually only german and english available
  • Config.UseLimitItem = false – If you use Itemlimits instead of item weights (for older esx version)
  • Config.RequireCops → How many cops are required to farm illegal, set to 0 to allow always
  • Config.ShowBlips → Show the blips at the map
  • Config.EnableESXService → If you are using the esx_service for factions
  • Config.AllowDuty → Allow to farm while being duty in faction

How to add a new farmroute

  • First copy an existing farmroute in the folder “client/farms”
  • Change the following lines:
    • Config.Farms.ITEMNAME (for example Config.Farms.orange)
    • example Fish = { into Orange = {
    • BlipPos (Where should be the Blip)
    • Pos (wher should be the markers)
    • Blip = (set to true if you want to show the blip, be sure that Config.ShowBlips is true)
    • Name = _U(‘fish’) → Change this to the itemname (example _U(‘orange’), be sure that you add the line in the locales file
    • db_name = This is the name in the database table “Items”
    • time = Duration how long you need to farm the item
    • add_min = How many items you get minimum for one farming process
    • add_max = How many items you get maximum for one farming process
    • drop = Droprate (set to 100 = get all time, value is 0 - 100)
    • type = set it to “legal” or “illegal” (whatch Config.RequireCops if set to illegal)
    • progress = Title of the animationbar
    • animDict, anim = Animation, set to nil if you don’t need an animation
    • model = Prop the player take if animation is starting (set to nil if you don’t need one)
    • Hint = Notification for if you stay in the marker
    • GPS = Necessary to get the GPS navigation on the map
4 Likes

Preview? Link?

just edit the post

1 Like

That time to fish and mine is super quick. Is there only mining and fishing?

2 Likes

You can configure the duration and amount for every item you would like to farm. (See in the Installationguide)

Just edit an example for one item.

Nice script and nice support

1 Like

Update

  • Now you can also use the script, if you are using an inventory with itemlimit instead of item weight (for older ESX). Just edit the config by changing Config.UseLimitItem to true.
  • Adding random drop each item like you are setting in the item file

i got a little problem with this script :slight_smile: i dont have any error … but when i start to farm… i only try apple… but i got 4 apple… animation continue… but i can’t stop the animation… and i dont receive nothing…

Ok so… i start the job. i press E each time i receive item… but when my inventory is complete, i get the message you cant carry anymore… but i cant stop to work… i press X… or other key… nothing is working…
im working with limits and not weight

Hello Sir, I will check this and inform you today in this thread.

thanks :slight_smile: im waiting for it ^^

First of all you can cancel the animation and the process by clicking “del” (this is a settings from mythic_progbar).

Do i understand your second thing correctly, that you can farm while you have a full inventory??

so easy to add like “apples,birne, nuss etc_” to chance it in german? animation easy to create?

You can change the farm routes by creating new files in the farm folder. It’s already in german and english, you simply have to add the new files in the fxmanifast and edit the files. For more information you can join my discor. thanks.

1 Like

So do I have to click E every time to farm? or just one time?

In this script there is no loop included - so you have click E every time. But the loop function is very easy to add.

can you tell how? :smiley:

Just look at the esx_mining script, there is a way to loop the farming.

Moin, funktioniert dieses Script auf der es_extendet version: Legacy

1 Like

Ich hatte bereits eine Nachricht geschickt gehabt, allerdings ist die wohl verschwunden.

Ja, es ist auch auf Legacy nutzbar.