🥕 lyver-farming: Advanced VORP Farming System [Anti-Exploit]
A complete, persistent, and engaging farming resource built specifically for VORP Core. Enhance your server's roleplay with realistic planting, growth simulation, and strict tool enforcement to create a balanced in-game economy.
Preview video: https://youtu.be/pCSF5N0Qwdw
🌟 Key Features
Tool Requirement Enforcement (Anti-Exploit)
Ensure players engage authentically by requiring the correct tools for every stage:
Mandatory Shovel Check: Planting is protected. Players must possess the configured tool (default: Shovel) in their inventory to begin the planting animation.
Dedicated checks for watering (Watering Can/Bucket) and fertilizing (Fertilizer Bag).
Persistent & Realistic Growth Simulation
Database Persistence: All planted crops are saved in the database, ensuring they persist through server restarts.
Dynamic Growth: Plants progress through stages based on continuous water and fertilizer levels, requiring consistent management.
Decay Mechanics: Plants will die if water levels drop to 0% for too long (all decay rates are configurable).
Economy & Vendor Integration
NPC Suppliers & Buyers: Configure NPC locations for Seed Suppliers (to buy seeds) and Produce Buyers (to sell the harvest).
VORP Inventory Ready: Fully integrated with
vorp_inventoryfor item management, weight, and limits.
Server Management & Optimization
Restricted Zones: Define 'No-Planting' zones (e.g., towns, sensitive areas) using coordinates and radius via
Config.RestrictedZones.Discord Logging: Optional webhook system logs key events (Planting, Harvesting, Plant Death) for transparent server oversight.
Full Localization: Supports multiple languages through
locales/*.luafiles.
💻 Technical Details
Framework: VORP (Core & Inventory)
Game: RedM / RDR3
Script Name:
lyver-farmingDatabase:
oxmysqlCore Dependencies:
vorp_core,vorp_inventory,oxmysql,lyver_progressbar(or alternative)
⚙️ Configuration Highlights
All core gameplay values, item names, and locations are easily tunable in config.lua.
Config.Items: Set names for the **Shovel**, Watering Can, and Fertilizer to match your inventory item codes.Config.Plants: Define all crop types, seed item codes, required stats, and harvest output.Config.GrowthSim: Fine-tune growth speed, water drain rate, and fertilizer decay.Config.RestrictedZones: Manage no-build areas (e.g., Valentine, Blackwater).Config.Animations: Adjust digging, watering, and harvesting animation durations.Config.NPCs: Set coordinates and models for all vendor NPCs.
🚀 Installation
Drag & drop the
lyver-farmingfolder into your server’sresourcesdirectory.Import the necessary SQL file (if provided) into your database.
Ensure all listed dependencies are started before this script.
Open
config.luaand adjust item names, NPC locations, and growth rates.Add
ensure lyver-farmingto yourserver.cfg.
📞 Support
Need help or want to report a bug? Join our community:
**Discord:**https://discord.gg/vWZddksPPv
Created by Lyver Scripts.