# Installation

{% tabs %}
{% tab title="English" %}
## Requirements <a href="#requirements" id="requirements"></a>

* es\_extended or qb-core
* oxmysql or mysql-async
* ox\_target or qb-target
* ox\_inventory or qb-inventory

### Install <a href="#install" id="install"></a>

* Extract the \[RipWeedPlants] folder.
* Place it into the `resources` folder in your server.
* Add this to your server.cfg.\
  `ensure` \[RipWeedPlants]
* Go to this file and import it into your database.\
  (\[RipWeedPlants]\data\data in english\RipWeedPlants.sql)&#x20;
* Add the items to your inventory.

{% tabs %}
{% tab title="ox_inventory " %}
{% code fullWidth="false" %}
```lua
--rip weed items--
["amnesia_seed"] = {
	label = "Amnesia seed",
	weight = 10,
	stack = true,
	close = true,
	description = 'Amnesia weed seed',
},

["purple_haze_seed"] = {
	label = "Purple haze seed",
	weight = 10,
	stack = true,
	close = true,
	description = 'Purple haze weed seed',
},

["super_silver_haze_seed"] = {
	label = "Super silver haze seed",
	weight = 10,
	stack = true,
	close = true,
	description = 'Super silver haze weed seed',
},

["water_can"] = {
	label = "Water Can",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Water used to water plants',
},

["fertilizer"] = {
	label = "Fertilizer",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Fertilizer used for plants',
},

["plant_pot"] = {
	label = "Plant pot",
	weight = 30,
	stack = true,
	close = true,
	description = 'Pot used to grow plants',
},

["amnesia"] = {
	label = "Amnesia",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Amnesia weed',
},

["purple_haze"] = {
	label = "Purple Haze",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Purple haze weed',
},

["super_silver_haze"] = {
	label = "Super Silver Haze",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Super silver haze weed',
},	

["empty_weed_bag"] = {
	label = "Plastic Bag",
	weight = 15,
	stack = true,
	close = true,
	description = 'Plastic bag',
},

["soil_bag"] = {
	label = "Soil Bag",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Soil bag used to grow plants',
},

["amnesia_bag"] = {
	label = "Amnesia Bag",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Amnesia weed bag',
},

["purple_haze_bag"] = {
	label = "Purple Haze Bag",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Purple haze weed bag',
},

["super_silver_haze_bag"] = {
	label = "Super Silver Haze Bag",
	weight = 1000,
	stack = true,
	close = true,
	description = 'Super silver haze weed bag',
},

["lighter"] = {
	label = "Lighter",
	weight = 100,
	stack = true,
	close = true,
	description = 'Lighter',
},
```
{% endcode %}
{% endtab %}

{% tab title="qb-inventory" %}
```lua
--rip weed items--
amnesia_seed                 = { name = 'amnesia_seed', label = 'Amnesia seed', weight = 1, type = 'item', image = 'amnesia_seed.png', unique = false, useable = true, shouldClose = true, description = 'Amnesia weed seed' },
purple_haze_seed             = { name = 'purple_haze_seed', label = 'Purple haze seed', weight = 1, type = 'item', image = 'purple_haze_seed.png', unique = false, useable = true, shouldClose = true, description = 'Purple haze weed seed' },
super_silver_haze_seed       = { name = 'super_silver_haze_seed', label = 'Super silver haze seed', weight = 1, type = 'item', image = 'super_silver_haze_seed.png', unique = false, useable = true, shouldClose = true, description = 'Super silver haze weed seed' },
water_can                    = { name = 'water_can', label = 'Water Can', weight = 1000, type = 'item', image = 'water_can.png', unique = false, useable = false, shouldClose = true, description = 'Water used to water plants' },
fertilizer                   = { name = 'fertilizer', label = 'Fertilizer', weight = 1000, type = 'item', image = 'fertilizer.png', unique = false, useable = false, shouldClose = true, description = 'Fertilizer used for plants' },
plant_pot                    = { name = 'plant_pot', label = 'Plant pot', weight = 1000, type = 'item', image = 'plant_pot.png', unique = false, useable = false, shouldClose = true, description = 'Pot used to grow plants' },
amnesia                      = { name = 'amnesia', label = 'Amnesia', weight = 1000, type = 'item', image = 'amnesia.png', unique = false, useable = false, shouldClose = true, description = 'Amnesia weed' },
purple_haze                  = { name = 'purple_haze', label = 'Purple Haze', weight = 1000, type = 'item', image = 'purple_haze.png', unique = false, useable = false, shouldClose = true, description = 'Purple haze weed' },
super_silver_haze            = { name = 'super_silver_haze', label = 'Super Silver Haze', weight = 1000, type = 'item', image = 'super_silver_haze.png', unique = false, useable = false, shouldClose = true, description = 'Super silver haze weed' },
empty_weed_bag               = { name = 'empty_weed_bag', label = 'Bag', weight = 1, type = 'item', image = 'empty_weed_bag.png', unique = false, useable = false, shouldClose = true, description = 'Plastic bag' },
soil_bag                     = { name = 'soil_bag', label = 'Soil Bag', weight = 1000, type = 'item', image = 'soil_bag.png', unique = false, useable = false, shouldClose = true, description = 'Soil bag used to grow plants' },
amnesia_bag                  = { name = 'amnesia_bag', label = 'Amnesia Bag', weight = 1000, type = 'item', image = 'amnesia_bag.png', unique = false, useable = false, shouldClose = true, description = 'Amnesia weed bag' },
purple_haze_bag              = { name = 'purple_haze_bag', label = 'Purple Haze Bag', weight = 1000, type = 'item', image = 'purple_haze_bag.png', unique = false, useable = false, shouldClose = true, description = 'Purple haze weed bag' },
super_silver_haze_bag        = { name = 'super_silver_haze_bag', label = 'Super Silver Haze Bag', weight = 1000, type = 'item', image = 'super_silver_haze_bag.png', unique = false, useable = false, shouldClose = true, description = 'Super silver haze weed bag' },
lighter                      = { name = 'lighter', label = 'Lighter', weight = 10, type = 'item', image = 'lighter.png', unique = false, useable = false, shouldClose = true, description = 'Lighter' },
```
{% endtab %}
{% endtabs %}

* Add the images from this folder to your inventory.\
  &#x20;(\[RipWeedPlants]\data\data in english\images)
* Modify (config.lua) file to suit your needs. there you will find all instructions.
* restart your server.
{% endtab %}

{% tab title="عربي" %}
## Requirements ألمتطلبات <a href="#requirements" id="requirements"></a>

* es\_extended او qb-core
* oxmysql او mysql-async
* ox\_target او qb-target
* ox\_inventory او qb-inventory

### Install ألتثبيت <a href="#install" id="install"></a>

* \[RipWeedPlants] استخرج ملف.
* `resources` حطه في ملف ال.
* server.cfg حط داخل ملف ال.\
  `ensure` \[RipWeedPlants]
* روح  الهاذا الملف واستخرج الداتا بيس\
  (\[RipWeedPlants]\data\data بلغه العربيه\RipWeedPlants.sql)
* ضيف هاي الايتمات للانفنتوري&#x20;

{% tabs %}
{% tab title="ox_inventory " %}
```lua
	--rip weed items--
	["amnesia_seed"] = {
		label = "بذور الامنيسيا",
		weight = 10,
		stack = true,
		close = true,
		description = 'بذور  حشيش الامنيسيا',
	},
	
	["purple_haze_seed"] = {
		label = "بذور البيربل هيز",
		weight = 10,
		stack = true,
		close = true,
		description = 'بذور حشيش البيربل هيز',
	},
	
	["super_silver_haze_seed"] = {
		label = "بذور السوبر سلفر هيز",
		weight = 10,
		stack = true,
		close = true,
		description = 'بذور حشيش السوبر سلفر هيز',
	},
	
	["water_can"] = {
		label = "ماء نباتات",
		weight = 1000,
		stack = true,
		close = true,
		description = 'ماء يستخدم لسقي النباتات',
	},
	
	["fertilizer"] = {
		label = "سماد",
		weight = 1000,
		stack = true,
		close = true,
		description = 'سماد يستخدم للاعتناء بالنباتات',
	},
	
	["plant_pot"] = {
		label = "وعاء",
		weight = 30,
		stack = true,
		close = true,
		description = 'وعاء يستخدم لزراعة النباتات',
	},
	
	["amnesia"] = {
		label = "امنيسيا",
		weight = 1000,
		stack = true,
		close = true,
		description = 'نبات الامنيسيا المخدر',
	},
	
	["purple_haze"] = {
		label = "بيربل هيز",
		weight = 1000,
		stack = true,
		close = true,
		description = 'نبات البيربل هيز المخدر',
	},
	
	["super_silver_haze"] = {
		label = "سوبر سلفر هيز",
		weight = 1000,
		stack = true,
		close = true,
		description = 'نبات السوبر سلفر هيز المخدر',
	},	
	
	["empty_weed_bag"] = {
		label = "كيس",
		weight = 15,
		stack = true,
		close = true,
		description = 'كيس بلاستك محكم القفل',
	},
	
	["soil_bag"] = {
		label = "كيس تربه",
		weight = 1000,
		stack = true,
		close = true,
		description = 'كيس تربه يستخدم لزراعة النباتات',
	},
	
	["amnesia_bag"] = {
		label = "كيس امنيسيا",
		weight = 1000,
		stack = true,
		close = true,
		description = 'كيس يحتوي على نبات الامنيسيا المعالج',
	},
	
	["purple_haze_bag"] = {
		label = "كيس بيربل هيز",
		weight = 1000,
		stack = true,
		close = true,
		description = 'كيس يحتوي على نبات البيربل هيز المعالج',
	},
	
	["super_silver_haze_bag"] = {
		label = "كيس سوبر سلفر هيز",
		weight = 1000,
		stack = true,
		close = true,
		description = 'كيس يحتوي على نبات السوبر سلفر هيز المعالج',
	},
	
	["lighter"] = {
		label = "ولاعه",
		weight = 100,
		stack = true,
		close = true,
		description = 'ولاعه غاز',
	},
```
{% endtab %}

{% tab title="qb-inventory" %}
```lua
	--rip weed items--
	amnesia_seed                 = { name = 'amnesia_seed', label = 'بذور الامنيسيا', weight = 1, type = 'item', image = 'amnesia_seed.png', unique = false, useable = true, shouldClose = true, description = 'بذور  حشيش الامنيسيا' },
	purple_haze_seed             = { name = 'purple_haze_seed', label = 'بذور البيربل هيز', weight = 1, type = 'item', image = 'purple_haze_seed.png', unique = false, useable = true, shouldClose = true, description = 'بذور حشيش البيربل هيز' },
	super_silver_haze_seed       = { name = 'super_silver_haze_seed', label = 'بذور السوبر سلفر هيز', weight = 1, type = 'item', image = 'super_silver_haze_seed.png', unique = false, useable = true, shouldClose = true, description = 'بذور حشيش السوبر سلفر هيز' },
	water_can                    = { name = 'water_can', label = 'ماء نباتات', weight = 1000, type = 'item', image = 'water_can.png', unique = false, useable = false, shouldClose = true, description = 'ماء يستخدم لسقي النباتات' },
	fertilizer                   = { name = 'fertilizer', label = 'سماد', weight = 1000, type = 'item', image = 'fertilizer.png', unique = false, useable = false, shouldClose = true, description = 'سماد يستخدم للاعتناء بالنباتات' },
	plant_pot                    = { name = 'plant_pot', label = 'وعاء', weight = 1000, type = 'item', image = 'plant_pot.png', unique = false, useable = false, shouldClose = true, description = 'وعاء يستخدم لزراعة النباتات' },
	amnesia                      = { name = 'amnesia', label = 'امنيسيا', weight = 1000, type = 'item', image = 'amnesia.png', unique = false, useable = false, shouldClose = true, description = 'نبات الامنيسيا المخدر' },
	purple_haze                  = { name = 'purple_haze', label = 'بيربل هيز', weight = 1000, type = 'item', image = 'purple_haze.png', unique = false, useable = false, shouldClose = true, description = 'نبات البيربل هيز المخدر' },
	super_silver_haze            = { name = 'super_silver_haze', label = 'سوبر سلفر هيز', weight = 1000, type = 'item', image = 'super_silver_haze.png', unique = false, useable = false, shouldClose = true, description = 'نبات السوبر سلفر هيز المخدر' },
	empty_weed_bag               = { name = 'empty_weed_bag', label = 'كيس بلاستك', weight = 1, type = 'item', image = 'empty_weed_bag.png', unique = false, useable = false, shouldClose = true, description = 'كيس بلاستك محكم القفل' },
	soil_bag                     = { name = 'soil_bag', label = 'كيس تربه', weight = 1000, type = 'item', image = 'soil_bag.png', unique = false, useable = false, shouldClose = true, description = 'كيس تربه يستخدم لزراعة النباتات' },
	amnesia_bag                  = { name = 'amnesia_bag', label = 'كيس امنيسيا', weight = 1000, type = 'item', image = 'amnesia_bag.png', unique = false, useable = false, shouldClose = true, description = 'كيس يحتوي على نبات الامنيسيا المعالج' },
	purple_haze_bag              = { name = 'purple_haze_bag', label = 'كيس بيربل هيز', weight = 1000, type = 'item', image = 'purple_haze_bag.png', unique = false, useable = false, shouldClose = true, description = 'كيس يحتوي على نبات البيربل هيز المعالج' },
	super_silver_haze_bag        = { name = 'super_silver_haze_bag', label = 'كيس سوبر سلفر هيز', weight = 1000, type = 'item', image = 'super_silver_haze_bag.png', unique = false, useable = false, shouldClose = true, description = 'كيس يحتوي على نبات السوبر سلفر هيز المعالج' },
	lighter                      = { name = 'lighter', label = 'ولاعه', weight = 10, type = 'item', image = 'lighter.png', unique = false, useable = false, shouldClose = true, description = 'ولاعه غاز' },
```
{% endtab %}
{% endtabs %}

* ضيف الصور الي بهاذا الملف للانفنتوري\
  (\[RipWeedPlants]\data\data بلغه العربيه\images)
* قم بتعديل هاذا الملف ليناسب احتياجاتك. هناك ستجد جميع التعليمات \
  &#x20;(config.lua)&#x20;
* رست سيرفرك
{% endtab %}
{% endtabs %}
