Installation

1. Install Dependencies

Additional:

  • solos-weedprops (Included with your purchase, download from keymaster)

  • solos-jointroll (Included with your purchase, download from keymaster)


2. Database Installation

  • In your database, run the weedfarm.sql file, or insert the following queries:

CREATE TABLE IF NOT EXISTS `weedfarm_plants` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `coords` longtext DEFAULT NULL,
  `strain` longtext DEFAULT NULL,
  `XP` int(11),
  `fertilization` int(11),
  `health` int(11),
  `stage` int(11) DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;



-- water and fertilizer items:

CREATE TABLE IF NOT EXISTS `weedfarm_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` int(11) DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


3. Add items to inventory

  • If you are using an inventory other than one below, please open a support ticket in discord if you need help integrating the weedfarm to your server's inventory.

  • Add the items to your inventory's items.lua

ox_inventory

qb-inventory
qs-inventory


4. Add images to inventory

  • Copy or drag all images located in solos-weedfarm-v2 /assets > /images to your inventory images folder


5. Bob74_ipl

  • Navigate to your bob74_ipl resource, usually located in [standalone]

  • Go to the dlc_bikers folder

  • Open weed.lua

Replace the following snippet at the bottom of the file:


6. Add resources to server

  • Remove any current weed resources that use the bob74_ipl weed shell from your server's resources.

    • This includes solos-weedfarm (V1)

  • Unzip solos-weedfarm-v2 and solos-weedprops

  • Dragged the unzipped folders to your resources folder

    • Usually [standalone] or [resources]

  • Follow any necessary steps in Configuration to configure your new Weed Farm resource to your server's framework

  • Restart Server

  • Enjoy!

Last updated