A MMOItems extension that adds 2 new stats for creating expirable items.
Note:
- (MMOItems is a premium plugin that requires purchase)
- Don't ask for support from MMOItems for any questions/bugs relating to this extension. In that case, please contact me!
This plugin adds two 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.
Bypass permission: timeditems.bypass
To display in lore, add the following to lore-format.yml
- '#expiry-period#'
- '#expiry-date#'
How does the extension work exactly?
- If Expiry Date exists, the plugin will check if the item used is out of date and then remove it if necessary. If removal is disabled from the config, the item remains non-usable.
- If Expiry Period exists, the plugin will convert it to Expiry Date based on the current time. In other words, expiry date = current time + expiry period. Thus, the plugin knows the absolute expiry date for checking and removal.
Useful links:
- View the configuration documentation: https://anhcraft.dev/TimedMMOItems/
- Discord: https://discord.gg/5vpVM6g4SV (Check out anhcraft's plugin support channel)
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.20–1.20.1
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
Platforms
Bukkit
Supported environments
Creators
Details
Licensed GPL-3.0-only
Published last year
Updated last year