> For the complete documentation index, see [llms.txt](https://kazescripts.gitbook.io/kazescripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kazescripts.gitbook.io/kazescripts/kaze_inventory/migrating-your-inventory.md).

# Migrating your inventory

Move your players' items from ox, qb, ESX or any other inventory.

You can switch to kaze\_inventory from any inventory. Players keep their items, stashes, trunks and gloveboxes.

## Automatic import

With `Config.Migration = true` (default), the first start imports every saved inventory into kaze\_inventory's tables. Supported automatically:

| From         | What is imported                                                          |
| ------------ | ------------------------------------------------------------------------- |
| ox inventory | Players, stashes, trunks and gloveboxes                                   |
| qb-inventory | Players, stashes, trunks and gloveboxes, including the older table layout |
| ESX          | Players and addon inventories                                             |

Your framework is detected by kaze\_lib, so the right tables are picked automatically.

{% hint style="success" %}
Nothing is deleted from your old tables and existing kaze\_inventory data is never overwritten. Item names are matched automatically, for example lowercase and uppercase weapon names.
{% endhint %}

Type `kzinvmigrate` in the server console to run the import again.

## Items and images

If you added your own items to your old inventory, copy them into `data/items.lua` and their images into `web/images`. The usual item format is supported, so most item lists can be pasted straight in.

## Other scripts

Scripts that call your old inventory's exports keep working with the same export names and arguments; point them at `kaze_inventory`. KazeScripts resources switch automatically through kaze\_lib.

## Another inventory?

Using an inventory that is not in the list above? Open a ticket on our Discord and we will help you move your data over.
