Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
items:updater [2019/10/21 16:45] indyuce |
items:updater [2020/07/01 03:13] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Updating physical items===== | ===== Updating physical items===== | ||
- | Once the item updater is enabled for a specific item, every physical instance of that item is considered _outdated_ and will be updated. An outdated item can only be updated **once** (performance save) when enabling the item updater, unless you apply further changes to the item. Every change you apply in the item edition GUI will make physical item instances //outdated// again till they are updated. | + | Once the item updater is enabled for a specific item, every physical instance of that item is considered //outdated// and will be updated. An outdated item can only be updated **once** (performance save) when enabling the item updater, unless you apply further changes to the item. Every change you apply in the item edition GUI will make physical item instances //outdated// again till they are updated. |
MMOItems updates every item in the players inventories whenever they log in. Furthermore any item clicked in a non-creative inventory undergoes an update check. | MMOItems updates every item in the players inventories whenever they log in. Furthermore any item clicked in a non-creative inventory undergoes an update check. | ||
Line 13: | Line 13: | ||
The item updater is **100% useless** for items which have not been changed after they are generated. In order to save performance, MI first checks if a physical item has some non-applied item change, and then updates the item if it is considered outdated. Enabling the item updater for all of your items generates useless update checks. | The item updater is **100% useless** for items which have not been changed after they are generated. In order to save performance, MI first checks if a physical item has some non-applied item change, and then updates the item if it is considered outdated. Enabling the item updater for all of your items generates useless update checks. | ||
- | You can manually enable the item updater for every item in your server using the following command: `/mi update apply 2 2`. This loops through every item in your config files and registers them in the item updater list. | + | You can manually enable the item updater for every item in your server using the following command: ''/mi update apply 2 2''. This loops through every item in your config files and registers them in the item updater list. |