Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
items:creation [2019/10/04 05:10] joshin [Second method: Manual Configuration (YML)] |
items:creation [2019/10/04 05:11] joshin |
||
---|---|---|---|
Line 18: | Line 18: | ||
====Second method: Manual Configuration (YML)==== | ====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. | + | **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>/**. | + | *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. | + | *2. Select your item type and open the corresponding .yml file in the \item folder. |
- | *3. In the YAML config, write: | + | *3. In the YAML config, write: |
``` | ``` | ||
YOUR_ITEM_ID: | YOUR_ITEM_ID: | ||
material: YOUR_ITEM_MATERIAL | 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. | + | *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). | + | *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. | + | *6. Save the file and get back on Minecraft. Use /mi <ITEM_TYPE> <YOUR_ITEM_ID> to get your item. |