# 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://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-b2b512060732c621cdae662d9c3d91d171357915%2Fimmagine.png?alt=media)

### Create a new MMOItem

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-371fcdf8b1c14aa59c6a083374a8e13a4218ce82%2Fimmagine.png?alt=media)

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-6d546f341cf4dbc1c28159fe362f035d4e329cc5%2Fimmagine.png?alt=media)

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

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-c7d75e4d1d055b35604b3817ad19db403a9990a8%2Fimmagine.png?alt=media)

### MMOItem preview inside /mmoitems browse

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-6cf3f71c3b58d645d6dbb4f6b7c5e53017a27da1%2Fimmagine.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://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-12d0826883961089fb048758cbe2d0c4439367ad%2Fimmagine.png?alt=media)

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-5e2459e56bcad7b8e2a2b5aeb5effe70945e3c8a%2Fimmagine.png?alt=media)
