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

A script by coRtyTV

No reviews yet.
[PAID][ESX] Farming System | Easy to add new farmroutes main image

Full Description

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