[PAID] SMDZ The Rancher Job — Ranching & Herd Management

:cow: SMDZ Rancher Job — Ranching & Herd Management

A ranching job resource for FiveM roleplay servers focused on dynamic herd behavior, synchronized entities, and strict server-side validation.

SMDZ Rancher Job introduces a structured ranching activity where players escort a herd of cows from a ranch location to randomized delivery points, with realistic reactions during transport and fully validated completion logic.

The resource supports ESX, QBCore / QBX, and Standalone setups through a modular bridge architecture with automatic detection and native fallback handling, ensuring consistent behavior across different server environments.


WATCH_THE_SHOWCASE-#FF0000
BUY ON TEBEX-#FF0000
DOCS-#FF0000


:sparkles: FEATURES:

  • Global ranch contract system with randomized delivery routes and drop-off points
  • OneSync-synced cows and NPCs visible to all players in real time
  • Whistle-based herd control system with warning, loss, and recovery logic
  • Dynamic gunshot reaction system affecting herd behavior
  • Realistic cow movement including following, separation, panic, and loss
  • Full server-side validation covering distance, timing, ratios, and cooldowns
  • Configurable reward system supporting item or money payouts
  • Modular multi-framework bridge with automatic detection
  • Flexible interaction system with target and native fallback support
  • Multi-notification bridge with automatic provider detection and fallback handling
  • Inventory integration for item-based rewards
  • Discord webhook logging with configurable embed settings
  • Full localization system with multiple languages included
  • Configuration-first architecture focused on stability and maintainability

:camera_with_flash: SCREENSHOTS:


:package: FRAMEWORK COMPATIBILITY:

Supported frameworks:

  • auto — Automatic framework detection
  • es_extended — ESX
  • qb-core — QBCore
  • qbx_core — QBX Core
  • none — Standalone / no framework

:package: INVENTORY COMPATIBILITY:

Supported inventory systems:

  • auto — Automatic inventory detection
  • ox_inventory — OX Inventory
  • qs-inventory — QS Inventory
  • tgiann-inventory — Tgiann Inventory
  • origen_inventory — Origen Inventory
  • codem-inventory — Codem Inventory
  • core_inventory — Core Inventory
  • jpr-inventory — JPR Inventory
  • none — No inventory system
    (Automatic fallback to native ESX / QBCore / QBX inventory functions if no supported inventory is detected)

:package: TARGET COMPATIBILITY:

Supported target systems:

  • auto — Automatic target detection
  • ox_target — OX Target
  • qb-target — QB Target
  • none — No target system (key fallback)

:package: NOTIFICATION COMPATIBILITY:

Supported notification systems:

  • auto — Automatic notification detection
  • ox_lib — ox_lib notifications
  • okokNotify — okokNotify
  • vms_notifyv2 — VMS Notify v2
  • brutal_notify — Brutal Notify
  • origen_notify — Origen Notify
  • codem-notification — Codem Notification
  • wasabi_notify — Wasabi Notify
  • rtx_notify — RTX Notify
  • mythic_notify — Mythic Notify
  • es_extended — ESX notifications
  • qb-core — QBCore notifications
  • qbx_core — QBX notifications
  • fallback — Built-in fallback notifications
Code is accessible No (config and bridge yes)
Subscription-based No
Lines (approximately) 3100
Requirements one-sync
Support Yes

:tada: GIVEAWAY ANNOUNCEMENT :tada:

We’re hosting a special giveaway for the community! :cowboy_hat_face:

:trophy: Prize: 1 FREE copy of The Rancher Job
:bust_in_silhouette: Winner: 1 lucky participant
:hourglass_flowing_sand: Duration: 14 days
:date: Ends: April 2nd at 23:00 (Spain time)

:point_right: Requirement: You must be in our Discord server to participate.

Good luck to everyone, and thank you for your continued support! :four_leaf_clover:

:tools: HOTFIX - SMDZ THE RANCHER JOB

[1.1.0] - 2026-04-21

:jigsaw: Fixes

  • The use of Xbox Live IDs has been completely eliminated to comply with the new CFX changes.
  • Prevented global job expiration/rotation while a player is actively running the ranch job (currentJob.activeBy).
  • This stops the NPC/job point from changing mid-run and avoids herd loss caused by forced job resets.

:rocket: Performance

  • Added NPC distance-based streaming on client side:
    • NPC and job blip are created only when the player is within 200.0 meters.
    • NPC and job blip are cleaned up when the player is farther than 200.0 meters.
  • Added cow distance culling on server side:
    • Spawned cow entities now use SetEntityDistanceCullingRadius(..., 200.0).
    • Players farther than 200.0 meters do not stream/render those cows.

:dividers: Files Updated

  • client/main.lua
  • server/main.lua
  • shared/config.lua

:tools: HOTFIX - SMDZ RANCHER JOB

[1.2.0] - 2026-05-22

:white_check_mark: Added

  • New global anti-exploit toggle Config.AntiExploit.enabled.
  • Shared anti-exploit state helper in client and server to keep behavior consistent.
  • Added @ox_lib/init.lua to shared_scripts in fxmanifest.lua.
  • Added dependency 'ox_lib' in fxmanifest.lua.
  • Added inventory bridge support for ak47_inventory (AddItem export integration).

:wrench: Changed

  • Fixed job finish validation so active jobs are no longer blocked with expired_job while already in progress.
  • Anti-exploit checks now fully respect Config.AntiExploit.enabled across start/finish flow.
  • Improved finish delivery validation to reduce false notify_job_invalid_delivery caused by temporary server-side herd desync at delivery time.

:x: Removed

  • Removed Config.AntiExploit.maxFinishAttempts from shared/config.lua.
  • Removed all server-side maxFinishAttempts / finishAttempts spam-cancel logic.

:dividers: Files Modified

  • bridge/inventory.lua
  • client/main.lua
  • server/main.lua
  • shared/config.lua
  • fxmanifest.lua