Ranching - RSG


This script was made from Finding all Ranch Scripts had Remote Feeding, Silly Mini Games, We wanted something More interactive.

It is a Work in Progress and some Small Errors, Hence the Cheap Price. But we work on this and have Fixing and improving this a lot.

Give it a Go , Give us Feed Back in Discord.

We Also have other Scripts Like :

  • Full Crafting Package
  • Interactive Oil Wells
  • Grown Lumber and Chop
  • Loot Drops
  • Dead NPC loot Drops

Plus Free Scripts
Scripts On SALE Between £5-£20

Visit Tenex or Discord for More info , videos or even We can show you Scripts or Ranch working

Discord Mack and Phil's Scripts
Tebex Mack-Scripts · Ranch System - Updated

Not all Videos are up to date : Visit discord if you want to See this in Action, and all Features
Video 1 : Ranch Update - Clipped with Medal.tv

Video 2 : More Ranch Activities - Clipped with Medal.tv

Video 3 : Order - Clipped with Medal.tv

Ranch / Farm management system for a RedM (Red Dead Redemption 2 RP) server, built on the RSGCore framework. The script simulates various aspects of running a ranch, including animal care, resource gathering, maintenance, deliveries, breeding, taming, and economic interactions. It uses tools like progress bars (via ox_lib), notifications, targeting (rsg-target), and UI elements for immersive gameplay. Features are tied to player-owned ranches, with cooldowns, timers, and server-sync for multiplayer consistency.

  1. Animal Management and Spawning
  • Spawn and Handle Ranch Animals: Players can spawn various animals (chicken, pig, horse, sheep, cow, bull) near their ranch. Animals can be led, made stationary, or set to follow the player. They rest in scenarios (e.g., grazing, sleeping) and are grounded properly on terrain. In branded cow mode, animals spawn and follow the player for delivery jobs.
  • Pasturing System): Players send animals to pasture for a set time (configurable per animal type). A timer runs, with notifications every minute. After the time elapses, animals can be returned or collected, with cleanup if dead.
  • Animal Delivery for Sale : Players select an animal type (e.g., branded cows) and dropoff location. Spawned animals follow the player to the zone. Upon delivery, animals are deleted, and players receive payment based on count, base reward, and location multiplier. Includes GPS routing to dropoffs and blips for NPCs.

2. Resource Gathering from Animals and Environment

  • Collect Resources from Animals : Players interact with animals to gather items like eggs (chickens), manure/fertilizer (pigs, horses, bulls), wool (sheep), or milk (cows). Uses progress bars, animations (e.g., crouch inspect, bucket fill), and configurable durations/timers. Resources are added to inventory via server events.
  • Gather Fertilizer from Poop Piles: Players place poop piles and rake them using a progress bar and rake animation. Successful raking grants fertilizer and deletes the pile.
  • Gather Hay Bales ): Players place multiple hay piles in a circular pattern. They target and rake individual piles with a progress bar and animation, gathering hay bales for animal feeding. Deletes the targeted pile upon success.

3. Ranch Maintenance and Repairs

  • Repair Ranch Structures : Players repair dynamic points around ranch props using a hammer animation and progress bar. Includes cooldowns to prevent spam. Successful repairs update ranch maintenance stats and reward the player.
  • Clean Ranch Areas: Players start a sweeping session on cooldown (e.g., 20 minutes). Spawns leaves/poop objects to clean. Players target and sweep them with a broom animation and progress bar. After 3 cleans, grants rewards and resets state. Includes blips for cleaning spots.

4. Breeding and Taming

  • Cattle Breeding: . Shows a 1-minute progress bar. On success, notifies the player and adds items to inventory (server-side).
  • Horse Taming : Players spawn a wild horse model in front of them. They mount it, starting a taming timer (configurable duration) with a chance of failure (horse bucks them off). Displays remaining time UI. Success tames the horse (marks as non-wild, adds saddle); failure deletes the horse and respawns the player.

5. Deliveries and Logistics

  • Prop Carrying and Delivery: Players pick up, carry, and drop props (e.g., crates) with animations (pickup/put down). Syncs across clients. Includes wagon spawning with an NPC driver who delivers props to the ranch kit, spawning random props for pickup. Notifies on arrival and cleans up after.
  • Animal Delivery Jobs : As part of selling branded animals, players guide spawned animals to dropoff zones. Checks distance, deletes delivered animals, and pays out. Supports multiple animals per job.

6. Ranch Economy and UI

  • Ranch Stats and Earnings: Opens a UI showing ranch stats (e.g., maintenance, earnings). Players collect earnings via NUI callback. Updates in real-time from server data.
  • Shop and Purchasing: Opens a ranch equipment shop UI for buying items (e.g., tools). Handles purchases (free or paid) and updates stock. Includes NUI for browsing and closing.
  • Storage and Robbery: Players access personal ranch storage. Others can rob it using a lockpick and skill check (if not owner), opening the stash inventory.

7. General Interactions and Utilities

  • Prop Placement and Management: Players place ranch props (e.g., buildings, tents) with animations and checks for valid locations (not in towns, not overlapping). Updates server-side prop data. Includes removal and updates.
  • Cooldowns and Timers : Many actions (pasturing, cleaning, repairs) have cooldowns or timers to balance gameplay. Notifications show remaining time.
  • Notifications and Prompts (All files): Uses custom notifications (rNotify or fallback) for success/failure, cooldowns, and instructions. Some actions show 3D text or help prompts.
  • Cleanup on Resource Stop (All files): Deletes spawned entities (animals, props, objects) when the resource stops to prevent leaks. Resets states like UI, blips, and GPS routes.

Additional Notes

  • Dependencies: Relies on RSGCore for player data/inventory, ox_lib for progress bars/UI, rsg-target for entity interactions, and possibly other mods for notifications/blips.
  • Multiplayer Sync: Uses network IDs, server events, and entity control requests for synced actions (e.g., carrying props, spawning animals).
  • Configurability: Many elements (models, durations, rewards, locations) are pulled from a Config table (not provided here but referenced).
  • Potential Issues: Debug prints are commented out in some files. Cooldowns prevent spam, and checks ensure actions can’t be abused (e.g., no spawning in towns).

This script creates an engaging ranch RP experience, focusing on simulation, economy, and player interaction with the game world.

Code is accessible No
Subscription-based No
Lines (approximately) 5000
Requirements rsg-cor, ox-lib, rsg-target/ox-target, rNotify
Support Yes
1 Like

Updated