Expire
Modby ArgoSeven
Expire is a Fabric mod meant to be lightweight for usage on servers that want items to expire.
Description
Expire
Expire is meant to be lightweight mod for usage on servers that want items to expire without the drawbacks of a classic mod that ticks every second on every item
How does it work?
at every server startup, the mod will save the current time and will use that as the "creation date" from which every item will start expiring.
creation time = the world time at server startup real time = the time the mod actually uses to do all of its checks expiration date = the time at which the item will expire
Advantages
- Cheks based on interactions with world or inventories rather than on tick
- All stacks that share the same expiration date and same creation time are stackable
- The real time update frequency can be changed via the config to give more margin before the item actually expires
- By default, all the APIs will use IRL measures, so one day is 24 real hours
Drawbacks
- While it shines on items that expire after several days, if the server starts at the 00:00, then an item that expired after 5 minutes created at the 00:05 will expire instantly, as 00:00 is the "creation time"
- Since it's based on the world time, it won't like if you change it (ex. via command)
Features
- Configs with live reload
- A command for debugging
- The option to choose between the classic "Expired Dust" or the more mysterious "Echo of the crystal"
Licence
zlib licence
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Stringer Things
Based on a video by PhoenixSC, Stringer Things extends their idea to a full set of stringy things.
Create: Redstone Link Tablet
A smart-home control panel for your Create contraptions. The Link Tablet is a handheld device with an app-style GUI that...
Hot-Swappable Armor
A mod that allows you to at the click of a button switch between armor pieces without having to open your inventory.
Mobvote Rascal
This mod adds the Rascal from the 2022 mobvote.
Shelf Backport [NeoForge]
Backports the new Shelf blocks from Minecraft 1.21.9 (The Copper Age) to Minecraft 1.21.1 NeoForge.
ExtraGems
A mod that adds a few new gems (ruby, sapphire, amethyst, topaz & crystal) for tools, weapons, blocks and useful amulets...