> For the complete documentation index, see [llms.txt](https://kevingirardx.gitbook.io/scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kevingirardx.gitbook.io/scripts/recyclers-pro/setup.md).

# Setup

## Inventory Items

{% tabs %}
{% tab title="Ox Inventory" %}
{% stepper %}
{% step %}
Add the following items in ox\_inventory > data > items.lua

{% code overflow="wrap" expandable="true" %}

```lua
-- Kevin Recylers Items
	["recycler"] = {
		label = "Recycler",
		weight = 10000,
		stack = false,
		close = true,
		description = "A machine to recycle items",
		client = {
            export = 'kevin-recyclers.useRecycler'
        },
	},
	["recycler_camera"] = {
		label = "Old Camera",
		weight = 1000,
		stack = true,
		close = true,
		description = "An old camera to recycle",
	},
	["recycler_keyboard"] = {
		label = "Old Keyboard",
		weight = 1000,
		stack = true,
		close = true,
		description = "An old keyboard to recycle",
	},
	["recycler_musicplayer"] = {
		label = "Old Music Player",
		weight = 1000,
		stack = true,
		close = true,
		description = "An old music player to recycle",
	},
	["recycler_pcb"] = {
		label = "PCB",
		weight = 1000,
		stack = true,
		close = true,
		description = "A printed circuit board to recycle",
	},
	["recycler_safe"] = {
		label = "Old Safe",
		weight = 10000,
		stack = true,
		close = true,
		description = "An old safe to recycle",
	},
	["recycler_slotmachine"] = {
		label = "Slot Machine",
		weight = 10000,
		stack = true,
		close = true,
		description = "An old slot machine to recycle",
	},
	["recycler_toolbox"] = {
		label = "Old Toolbox",
		weight = 10000,
		stack = true,
		close = true,
		description = "An old toolbox to recycle",
	},
	["recycler_wirespool"] = {
		label = "Wire Spool",
		weight = 2000,
		stack = true,
		close = true,
		description = "An old wire spool to recycle",
	},
	["recycler_pccase"] = {
		label = "PC Case",
		weight = 4000,
		stack = true,
		close = true,
		description = "An old PC case to recycle",
	},
	["recycler_pc"] = {
		label = "PC Tower",
		weight = 10000,
		stack = true,
		close = true,
		description = "An PC to recycle",
	},
	['generator_rotor'] = {
		label = 'Generator Rotor',
		weight = 2500,
		stack = true,
		close = true,
		description = 'A heavy copper-wound rotor salvaged from industrial machinery.',
	},
	['power_regulator'] = {
		label = 'Power Regulator',
		weight = 1200,
		stack = true,
		close = true,
		description = 'An industrial regulator used to stabilize and control electrical power.',
	},
	['industrial_hinges'] = {
		label = 'Industrial Hinges',
		weight = 800,
		stack = true,
		close = true,
		description = 'A set of reinforced steel hinges designed for heavy-duty equipment.',
	},
	['servo_motor'] = {
		label = 'Servo Motor',
		weight = 1800,
		stack = true,
		close = true,
		description = 'A precision motor capable of powering automated mechanical systems.',
	},
	['industrial_control_board'] = {
		label = 'Industrial Control Board',
		weight = 500,
		stack = true,
		close = true,
		description = 'A specialized control board used to operate automated industrial equipment.',
	},
	['industrial_blades'] = {
		label = 'Industrial Blades',
		weight = 3500,
		stack = true,
		close = true,
		description = 'A set of heavy-duty cutting blades salvaged from industrial machinery.',
	},
	['high_torque_motor'] = {
		label = 'High-Torque Motor',
		weight = 4500,
		stack = true,
		close = true,
		description = 'A powerful industrial motor designed to operate heavy machinery under high loads.',
	},
	-- END OF KEVIN RECYCLERS ITEMS
```

{% endcode %}
{% endstep %}

{% step %}
Navigate to the `web` folder and then `images` folder
{% endstep %}

{% step %}
Copy and paste the images from the resource folder in the inventory `images` folder
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Qb | Ps Inventory" %}
{% stepper %}
{% step %}
Add the following items in qb-core > shared > items.lua

{% code expandable="true" %}

```lua
-- Kevin Recyclers Items
recycler = {
    name = 'recycler',
    label = 'Recycler',
    weight = 10000,
    type = 'item',
    image = 'recycler.png',
    unique = true,
    useable = true,
    shouldClose = true,
    combinable = nil,
    description = 'A machine to recycle items'
},

recycler_camera = {
    name = 'recycler_camera',
    label = 'Old Camera',
    weight = 1000,
    type = 'item',
    image = 'recycler_camera.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old camera to recycle'
},

recycler_keyboard = {
    name = 'recycler_keyboard',
    label = 'Old Keyboard',
    weight = 1000,
    type = 'item',
    image = 'recycler_keyboard.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old keyboard to recycle'
},

recycler_musicplayer = {
    name = 'recycler_musicplayer',
    label = 'Old Music Player',
    weight = 1000,
    type = 'item',
    image = 'recycler_musicplayer.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old music player to recycle'
},

recycler_pcb = {
    name = 'recycler_pcb',
    label = 'PCB',
    weight = 1000,
    type = 'item',
    image = 'recycler_pcb.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A printed circuit board to recycle'
},

recycler_safe = {
    name = 'recycler_safe',
    label = 'Old Safe',
    weight = 10000,
    type = 'item',
    image = 'recycler_safe.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old safe to recycle'
},

recycler_slotmachine = {
    name = 'recycler_slotmachine',
    label = 'Slot Machine',
    weight = 10000,
    type = 'item',
    image = 'recycler_slotmachine.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old slot machine to recycle'
},

recycler_toolbox = {
    name = 'recycler_toolbox',
    label = 'Old Toolbox',
    weight = 10000,
    type = 'item',
    image = 'recycler_toolbox.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old toolbox to recycle'
},

recycler_wirespool = {
    name = 'recycler_wirespool',
    label = 'Wire Spool',
    weight = 2000,
    type = 'item',
    image = 'recycler_wirespool.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old wire spool to recycle'
},

recycler_pccase = {
    name = 'recycler_pccase',
    label = 'PC Case',
    weight = 4000,
    type = 'item',
    image = 'recycler_pccase.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old PC case to recycle'
},

recycler_pc = {
    name = 'recycler_pc',
    label = 'PC Tower',
    weight = 10000,
    type = 'item',
    image = 'recycler_pc.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An old PC to recycle'
},

generator_rotor = {
    name = 'generator_rotor',
    label = 'Generator Rotor',
    weight = 2500,
    type = 'item',
    image = 'generator_rotor.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A heavy copper-wound rotor salvaged from industrial machinery.'
},

power_regulator = {
    name = 'power_regulator',
    label = 'Power Regulator',
    weight = 1200,
    type = 'item',
    image = 'power_regulator.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'An industrial regulator used to stabilize and control electrical power.'
},

industrial_hinges = {
    name = 'industrial_hinges',
    label = 'Industrial Hinges',
    weight = 800,
    type = 'item',
    image = 'industrial_hinges.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A set of reinforced steel hinges designed for heavy-duty equipment.'
},

servo_motor = {
    name = 'servo_motor',
    label = 'Servo Motor',
    weight = 1800,
    type = 'item',
    image = 'servo_motor.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A precision motor capable of powering automated mechanical systems.'
},

industrial_control_board = {
    name = 'industrial_control_board',
    label = 'Industrial Control Board',
    weight = 500,
    type = 'item',
    image = 'industrial_control_board.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A specialized control board used to operate automated industrial equipment.'
},

industrial_blades = {
    name = 'industrial_blades',
    label = 'Industrial Blades',
    weight = 3500,
    type = 'item',
    image = 'industrial_blades.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A set of heavy-duty cutting blades salvaged from industrial machinery.'
},

high_torque_motor = {
    name = 'high_torque_motor',
    label = 'High-Torque Motor',
    weight = 4500,
    type = 'item',
    image = 'high_torque_motor.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A powerful industrial motor designed to operate heavy machinery under high loads.'
},
-- END OF KEVIN RECYCLERS ITEMS
```

{% endcode %}
{% endstep %}

{% step %}
Head to your inventory folder and locate the `html` folder
{% endstep %}

{% step %}
Copy and paste the images from the resource folder in the inventory `html` folder
{% endstep %}
{% endstepper %}

{% endtab %}
{% endtabs %}

## Prop

{% hint style="success" %}
Grab the recycler prop here: <https://bzzz.tebex.io/package/5372116>
{% endhint %}

{% stepper %}
{% step %}
Extract the prop folder wherever you desire in your server folder
{% endstep %}

{% step %}
Open your `server.cfg`
{% endstep %}

{% step %}
Add this to your server.cfg

{% code overflow="wrap" expandable="true" %}

```lua
ensure bzzz_recycler
```

{% endcode %}
{% endstep %}
{% endstepper %}

{% hint style="success" %}
🎉 Installation Completed. Next step is just customization/adjusting config files to you liking
{% endhint %}
