fiveLib Weed
fiveLib Weed is a realistic, advanced farming script that allows players to grow, harvest, and sell weed with a progression-based reputation system.
Overview
- Realistic Growth: Multi-stage plant growth requiring care (water, fertilizer).
- Soil Quality: Soil conditions affect the speed and quality of the yield.
- Reputation System: Players earn XP by farming, unlocking better efficiency.
- Indoor/Outdoor: Plants can be grown in various environments with persistent SQL saving.
Features
- Target Interactions: Clean UI for all planting and harvesting actions.
- NPC Selling: Integrated system to sell your product to local NPCs with police risk.
- Highly Configurable: Every aspect of growth, yield, and pricing can be tuned.
- Optimized: Designed for high-player-count servers with minimal database load.
Requirements
- Framework: QB-Core, ESX.
- Database:
oxmysql. - Interactions:
qb-target/DrawMarkers.
Installation
- Upload: Place the
fiveLib-weedfolder in yourresourcesdirectory. - Database: Import the provided SQL file to enable plant persistence.
- Items: Add the required items (seeds, water, etc.) to your inventory system.
- Register: Add
ensure fiveLib-weedto yourserver.cfg. - Restart: Restart the server or run
ensure fiveLib-weed.
Configuration
Settings are located in config.lua.
Config.Framework: Set your framework ('qb','esx').Config.GrowthSpeed: Adjust how fast plants transition through stages.Config.Yields: Configure the amount of item received per harvest.Config.Selling: Set NPC locations, prices, and police requirements for sales.
Framework Support
Full support for QB-Core, ESX.
Usage
- Planting: Use a seed item at a suitable location to begin the growth process.
- Care: Regularly check on your plants to ensure they have enough water and fertilizer.
- Harvesting: Once fully grown, harvest the plant to receive the final product.
- Selling: Locate an NPC dealer to trade your goods for cash.
Support
Support is provided via our Discord Server.