> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor-18/installation.md).

# Installation

{% hint style="info" %}
Below are some important types and installation contents !
{% endhint %}

{% stepper %}
{% step %}

### Resource start order in **`server.cfg` file**

It's important for your resources to start in a logical order to prevent errors from missing dependencies

{% tabs %}
{% tab title="server.cfg" %}

* ensure oxmysql -- #Optional for persistence
* ensure ox\_lib
* ensure framework # the name of your framework (i.e. es\_extended, qbx\_core)
* ensure ox\_target
* \-- # other resources
* ensure Kz-MoneyWash
  {% endtab %}
  {% endtabs %}
  {% endstep %}

{% step %}

### Create item

{% hint style="info" %}
GUIDE TO **OX\_INVENTORY**
{% endhint %}

You can follow this guide: "../ox\_inventory/data/items.lua"

```lua
	['lavatrice'] = {
		label = 'Lavatrice',
		weight = 1000,
		stack = false,
		close = true,
		client = {
			export = 'Kz-MoneyWash.PlaceLavatrice'
		}
	},
```

{% hint style="info" %}
GUIDE TO **QB-CORE**
{% endhint %}

You can follow this guide: "../qb-core/shared/items.lua"

```lua
	['lavatrice'] = { 
		['name'] = 'lavatrice', 
		['label'] = 'Lavatrice', 
		['weight'] = 1000, 
		['type'] = 'item', 
		['image'] = 'lavatrice.png', 
		['unique'] = false, 
		['useable'] = true, 
		['shouldClose'] = true, 
		['combinable'] = nil, 
		['description'] = 'A washing machine for washing clothes... or other things.' 
	},
```

{% endstep %}

{% step %}

### Done

Installation is complete, the script should start without problems
{% endstep %}
{% endstepper %}
