Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Expirable items support for MMOItems
A MMOItems extension that adds 2 new stats for creating expirable items.
Note:




New Stats
Expiry Period
A duration representing how long the item will last (in seconds). This duration is relative to the first time the player obtains the item.
For example: to set 30 days: 30 * 24 * 60 * 60 = 2592000 seconds
Expiry Date
The absolute expiry date since the Unix epoch (in milliseconds)
You should only care about the first stat which is Expiry Period. All items will be automatically checked and the second stat will be added when necessary.
Expired items handle
Setup
To display the stat in item lore, add the following to language/lore-format.yml (in MMOItems config folder)
- '#expiry-period#'
- '#expiry-date#'
Read more: https://gitlab.com/phoenix-dvpmt/mmoitems/-/wikis/Lore-Formats/
Command
/ti (alias: /tmi, /timeditems, /timedmmoitems)
/ti reload: reload the config
FAQ
1. The item does not become expired
2. How do I observe the plugin activity?
3. How does the extension work exactly?
4. Why there is no expiry information in the lore?
5. Can I change the lore and the date format?
6. How does the plugin affect the performance?
7. How to disable the check in certain worlds?
Support
Join my Discord server for plugin support
Give me a five-star review if this plugin is helpful. Thanks!