... | @@ -290,38 +290,6 @@ example_item: |
... | @@ -290,38 +290,6 @@ example_item: |
|
Trail: true
|
|
Trail: true
|
|
```
|
|
```
|
|
|
|
|
|
### **ItemVersion**
|
|
|
|
### **CRUCIBLE ONLY **
|
|
|
|
Updates the item on MM reload when ItemVersion differs.
|
|
|
|
This allows you to update items when MM reloads by changing the ItemVersion. If you haven't reset your config.yml in a while, then this feature requires the following to be added to the MythicCrucible config.yml:
|
|
|
|
|
|
|
|
```yml
|
|
|
|
ItemUpdating:
|
|
|
|
Enabled: true
|
|
|
|
```
|
|
|
|
|
|
|
|
Below are a couple examples:
|
|
|
|
|
|
|
|
```yml
|
|
|
|
yet_another_example_item:
|
|
|
|
Id: diamond_sword
|
|
|
|
ItemVersion: 1
|
|
|
|
Lore:
|
|
|
|
- "Really really cool sword."
|
|
|
|
```
|
|
|
|
|
|
|
|
```yml
|
|
|
|
yet_another_example_item:
|
|
|
|
Id: diamond_sword
|
|
|
|
ItemVersion: 2
|
|
|
|
Lore:
|
|
|
|
- "I hated the old lore so I updated it."
|
|
|
|
```
|
|
|
|
|
|
|
|
The second sword will replace the first sword with the updated lore whenever a player interacts with it in their inventory.
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
More item examples can be found in the [Examples](/examples/Common-Examples#items) section. |
|
More item examples can be found in the [Examples](/examples/Common-Examples#items) section. |
|
|
|
\ No newline at end of file |