# MMOItems

Download **MMOItems** [here](https://www.spigotmc.org/resources/mmoitems-premium.39267/)

### Here you can download the example package shown in this tutorial

{% embed url="<https://www.spigotmc.org/resources/items-mmoitem-example-integration.88351/>" %}

## Known limitations

{% embed url="<https://github.com/PluginBugs/Issues-ItemsAdder/issues/2008>" %}

## Connect an MMOItem to an ItemsAdder item

### Use the command /mmoitems browse

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-fe5349bf137763c7f383b03fd1b3dcade42d76f2%2Fimage_\(25\).png?alt=media)

### Create a new MMOItem

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-baf4e7544493cd78853d0c0f664ecab32bf1f840%2Fimage_\(26\).png?alt=media)

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-535f735f1e7fbb490366896a3aea29e4fdf2d433%2Fimage_\(29\).png?alt=media)

### Add all the attributes you want, for example magic damage etc

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-9113f2945b80f14ed1f4fa4d4efb67c4a4a88ba4%2Fimage_\(28\).png?alt=media)

### MMOItem preview inside /mmoitems browse

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-898ae4059c23e84a926bf4ee2f7e072bd832e4e3%2Fimage_\(30\).png?alt=media)

### Create your .yml file as usual and add all the properties for the ItemsAdder item

`ItemsAdder/contents/mmoitems_example/configs/example.yml`

{% hint style="success" %}
As you can see I set a new attribute called **`mmoitem`** and also **`type`** and **`id`**.\
These are used to **connect** the **two items**.
{% endhint %}

```yaml
info:
  namespace: mmoitems_example
items:
  test:
    display_name: ""
    permission: example_item
    mmoitem:
      type: SWORD
      id: TEST
    resource:
      material: DIAMOND_SWORD
      generate: true
      textures:
      - item/test.png
    durability:
      max_custom_durability: 1324
```

### Create your .png texture as usual

`ItemsAdder/contents/mmoitems_example/resourcepack/mmoitems_example/textures/item/test.png`

### Get the item

Use the command `/iaget mmoitems_example:test` to get your finished item

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-13849ea909390cfca0f632e0fd466e0925a2c112%2Fimage_\(33\).png?alt=media)

![](https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-fcc9577ba8acc46f831dd6c46811726ba67f033e%2Fimage_\(34\).png?alt=media)
