There are two methods you can use to create items with MMOItems.
First method: In Game GUI
This method is used to create items directly in game, without the use of config files. This is a powerful and easy-to-understand method but I'd recommend advanced users to use the second one, which is way quicker if you already know all the item stats and how they work.\
1. Open the game and create your item via this command: `/mi create <ITEM_TYPE> <YOUR_ITEM_ID>` or `/mi browse`
1. To see all the available item types (Sword, Axe, Tool...), use /mi list type. 2. Your item ID should differ from its display name. Example: the item ID for _Steel Dagger_ would be _STEEL_DAGGER_. The ID is the piece of text you will use to generate, edit or remove your item using plugin commands.
3. Once your item is created, the editing menu should open up. If you close the edition menu, you can still access it using this command: `/mi edit <ITEM_TYPE> <YOUR_ITEM_ID>`
1. On the top, you can see your item and its current stats. You can click the gunpowder to obtain it. 2. Every other item corresponds to an item stat that you can edit. Instructions on how to edit them are displayed directly in game.
Once you added all the stats you wanted, get your item and have fun!
Second method: Manual Configuration (YML)
- *Advanced users should consider using this method as it is way faster if you already know the item stats you want to use.
- 1. Browse the corresponding /item folder: /plugins/MMOItems/item/<item_type_name>/.
- 2. Select your item type and open the corresponding .yml file in the \item folder.
- 3. In the YAML config, write:
YOUR_ITEM_ID: material: YOUR_ITEM_MATERIAL
- 4. All materials can be found [here](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html). The item material is the first thing to add since it is the only real option an item needs to be able to be generated.
- 5. Add as much item modifiers (Abilities, Attack Damage….) as you want! You can see all modifiers (and how to configure them) on [this wiki page](https://github.com/Indyuce/mmoitems/wiki/Item-Stats-&-Options).
- 6. Save the file and get back on Minecraft. Use /mi <ITEM_TYPE> <YOUR_ITEM_ID> to get your item.