AFK Farm

AFK Farm

This item is free.

Add to Basket

Veltrix AFK Farm

Passive zone farming script for FiveM


✨ Key Features

  • ox_lib Zones: Sphere & Box zones using lib.zones
  • Progress-Based Rewards: Items are given only after the progress completes
  • Instant Stop on Exit: Leaving the zone cancels progress and stops farming immediately
  • No Vehicle Farming: Farming is blocked inside any vehicle (anti-exploit)
  • Webhook Logs: Logs zone enter/exit + time inside and time farming
  • Framework Support: Auto-detect ESX & QBCore
  • Inventory Support: tgiann-inventory, ox_inventory, qb/ps-inventory, qs-inventory, framework fallback
  • Multi-language: Includes multiple locales (EN + more)

⚙️ Requirements

  • ox_lib (required)
  • OneSync recommended for best server-side position checks

📦 Included

  • Full resource: veltrix_afkfarm
  • Configurable zones & drops
  • Locales system
  • Webhook logging utilities

🧩 How It Works

  1. Player enters an AFK zone (ox_lib detects it)
  2. Farming starts automatically (or toggle with key if enabled)
  3. After standing still for the required time, the server triggers a progress bar/circle
  4. When progress completes, the server validates and gives the reward items
  5. Leaving the zone or entering a vehicle stops farming instantly

🛠️ Setup

Add the resource and ensure it after ox_lib:

ensure ox_lib
ensure veltrix_afkfarm

Configure zones, drops and language in: shared/config.lua

Set your webhook URL in: server/utils.lua


🧾 Notes

  • All rewards are server-authoritative (validated before giving items).
  • Designed to be lightweight and easy to configure.