Update Items authored by Amy's avatar Amy
......@@ -44,14 +44,7 @@ example_item:
Display: <green>An Example Item</green>
```
#### Group
Sets the group the item is in for `/mm items browse`.
```yml
example_item:
Id: leather_chestplate
Display: <green>An Example Item</green>
Group: 'Armor'
```
#### Lore
Sets the lore of the item. You can generate a random number using `{min-max}`, `<random.#to#>`, or `<random.float.#to#>`.
......@@ -82,6 +75,15 @@ example_item:
Model: 12345
```
#### **Durability**:
Sets the amount of durability to take off the item. The below example sets a Diamond Sword to have 1461 durability since by default it has 1561.
```yml
example_item:
Id: diamond_sword
Durability: 100
Display: <green>An Example Item</green>
```
#### **Attributes**
Special field that allows the addition of item attributes to certain armor slots. See [Item Attributes](/Items/Attributes).
```yml
......@@ -113,24 +115,6 @@ example_item:
Color: 255,0,0
```
<!-- SEE ITEM OPTIONS
#### **Durability**:
Sets the durability of the item.
```yml
example_item:
Id: leather_chestplate
Data: 0
Display: <green>An Example Item</green>
Model: 12345
Attributes:
Chest:
Health: 25
Amount: 1
Options:
Color: 255,0,0
```
-->
#### **Enchantments**
Any items can have any enchantments(s).
A list of available enchantments can be found [here](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html).
......@@ -210,6 +194,15 @@ MyCoolStick:
- obsidian
```
#### Group
Sets the group the item is in for `/mm items browse`.
```yml
example_item:
Id: leather_chestplate
Display: <green>An Example Item</green>
Group: 'Armor'
```
### **NBT**
Sets what NBT tags to put on your items.
This allows cross-over with a lot of other plugins, or just for storing custom information.
......
......