⚡TimedItemX | Support MMOItems, ItemsAdder, Oraxen and more [1.8 - 1.21.3] icon

⚡TimedItemX | Support MMOItems, ItemsAdder, Oraxen and more [1.8 - 1.21.3] -----

Schedule expire time for items.




  • Support version 1.21.3
  • Fixed normal bucket become timed bucket after get filled
----------, Dec 15, 2024

  • Support version 1.21.3
  • Fixed normal bucket become timed item after get filled
----------, Dec 14, 2024

  • Fixed problem when plugin unregister command at shutdown stage or unload with other plugin manager. (it still not fixed completely in previous version).
  • Fixed set command cannot parse date time correctly.
  • Fixed additem command when using in local database.
----------, Sep 21, 2024

  • Fixed item not converted to timed item when catch fish bulk with water bucket.
  • Fixed UnsupportedOperationException when plugin is unloaded.
  • Fixed timed item not disappeared in item frame when expire
  • Support version 1.21.1.
  • Added new feature that allow plugin check inside container like Chest, Furnace, Ender Chest, .... etc (everything which have container will be checked) , custom inventory created by plugin is not supported.
  • Timed item inside Shulker Box when get destroyed also be checked and removed if it's expired.
  • Convert cooked food to timed item if the raw food is timed item (applied with furnace, campfire, .... etc).
----------, Aug 22, 2024

- Removed crafting station integration from MMOItems, added new custom two item stats called Expire Date and Expire Date Toggle.
  • Expire Date: Allow MMOItems become Timed Item
[​IMG]

Example:
When give item
[​IMG]
When spawn item
[​IMG]

  • Expire Date Toggle: Toggle expire date on crafting station
[​IMG]
When the toggle is on
[​IMG]

- Support ItemsAdder and Oraxen, item id and date is configurable
Code (YAML):
integrations :
  # Hook with ItemsAdder plugin
  itemsadder
:
    example-namespace
: // ItemsAdder require namespace
      example-id
: 1d
  # Hook with Oraxen plugin
  oraxen
: # Oraxen just use one namespace so we just need type id and date
    example-id
: 1d
When give item
[​IMG]
When spawn item
[​IMG]
When give item
[​IMG]
When spawn item (work same as ItemsAdder)
[​IMG]

If gif image cannot be loaded, please click on this link to view
----------, Jul 10, 2024

- Fix plugin cannot be enabled without PlaceholderAPI
- Support 1.21
- Support crafting station in MMOItems, auto add expire date when player take out result.
- Introduce new API v2.0
Expire date lore will be updated automatically based on config.
Before:
Code (YAML):
# Determine which line in item lore to display expire date.
lineToDisplayExpireDateInLore
: 5
After edit and reload:
Code (YAML):
# Determine which line in item lore to display expire date.
lineToDisplayExpireDateInLore
: 2
[​IMG]
Player can hover on command to see information, click to get that command on chat input.
[​IMG]
If timed item is dropped and date is under specific time in config, it will display time left.
Code (YAML):
# Dropped timed item will display expire date left when it's about to disappear in xx time
item-drop
:
  toggle
: true
  display
:
    # When item about to disappear in xx time, use time format below
    # Default is 1 minutes, set -1 to display whenever item is dropped.
    dateUnder
: 1m
    # Placeholder '@duration@' represent for item duration left.
    format
: '&e&l@duration@'
[​IMG]
----------, Jun 29, 2024

BUG FIXED
  • Fixed command ti remove add time instead of remove.
  • Fixed command ti admin do not work at some features like add, remove.
  • Fixed command ti reload error while reloading.
  • Fixed item information.
  • Fixed command ti set do not work.
  • Optimized plugin performance.
ADDED
  • Support PlaceholderAPI, allow to track item expiration date with placeholder %timeditemx_item-duration%.
REMOVED
  • Removed Shopkeepers support.
  • Removed ExcellentShop support.
----------, Apr 20, 2024

- Support 1.20.4
- Player cannot use sealed item unless they unseal it with right click.
- Update NBT
----------, Jan 17, 2024

- Removed Shopkeeper support
- Added seal command: allow admin to add seal to timed item, it can be unsealed by right click while holding item.
- Added unseal command: allow admin remove seal from item
- Added admin command which allow admin/console to modify player's item, in-game will open a GUI for player to modify, console will target to player's item in hand.
- Fix clear command not remove expire lore.
----------, Dec 18, 2023

- Support version 1.20.2
- Fix NBT not work well on 1.20.2
- Support Shopkeepers (Beta):
  • Now server admin can make player trade timed item through Shopkeeper merchants.
  • It still in a beta development so while you're using plugin, if any errors occurs, please let me know and I will asap.
  • Only support regular Admin Shop, any Player Shop (created by shopkeeper creation item) will not be supported.
Some notice you may need to know
Before place in shopkeeper editor gui
[​IMG]
After you finish editor and close the GUI, item will remove the expire date and replace by duration lore to let player know the expiration of item.
The lore will be replaced in first line so please be careful to play with it.
You can config the duration lore in lang file.
[​IMG]
When player trade complete, item will become timed item.
Expire date will start to count from the time player complete the trade.
[​IMG]
When admin take down the result item from shopkeeper, item will become timed item.
Expire date will start to count the time they took down item. (like when player complete the trade)
[​IMG]
[​IMG]
----------, Nov 29, 2023

- Fixed NBT issue.
- Updated plugin version up to 1.20.2
----------, Oct 31, 2023

- Fix plugin API for developer
- Changed database to Hikari dabatase (may not work functionally in 1.8, you guys need to update to 1.13 for better performance)
- Support 1.20
----------, Aug 8, 2023

- Fixed plugin only check for one player instead of all players timed item
----------, Apr 16, 2023

- Fixed leftover bugs related to NBT API
----------, Feb 23, 2023

- Fixed NBTAPI's related errors
- Fixed date format on command /ti set [time]
----------, Feb 10, 2023

- Fixed help command (messy command usage)
- Add auto synchronization for item and user (toggle in config.yml), sync registered timed item/user data from other servers through database (require database connection)
**Don't toggle on user synchronization unless you want player data is the same in all servers, otherwise player's inventory will be synchronized with other player have the same name in other servers
- Support 1.19.3
----------, Jan 30, 2023

Yooo, long time no update, it still not dead
- Fixed locale config, now you can change the locale.
- Added config option that control when player can place timed item as block
(If the block is placed then broken, it will become normal item without expire time)
- Added soulbound to timeditem
- New commands:
Usage: /ti soulbound [name] [true/false]
Description: Toggle soulbound for registered timed item.
- Modified commands:
Add item command now will have extra argument that is for soulbound
» Old: /ti additem [name]
» New: /ti additem [name] [soulbound: true/false]
----------, Dec 15, 2022

- Fixed error when config.yml not found
- Add sound effect when item is expired, can be toggle, volume and pitch is configurable, support registered custom sound (if you don't hear sound it mean you put the wrong name)
----------, Sep 1, 2022

- Support database ( XAMPP, MySQL, SQLite, ....), other database like MongoDB, ...etc is not supported yet.
[​IMG]
- Remove function that save expired items of player (include command /ti expired)
- Add new button to clear timed items in GUI
[​IMG]
- Add two commands that allow player import/export items data from/to database, you now can sync data to other servers:
/ti import [true/false]: import data from database with overwrite option (true/false)
/ti export: export data to database
----------, Aug 20, 2022

- Fixed NullPointerException for lower version ( < 1.17)
----------, Jul 28, 2022

ADDED
Support 1.19​
FIXED
Error while load plugin in version 1.19​
----------, Jun 25, 2022

I forget to delete some silly test code xD
----------, Jun 1, 2022

ADDED
  • New plugin API documentation, view at GitBook
FIXED
  • Error when checking timed item on world surface
----------, May 31, 2022

FIXED
- Issue on saving player data
----------, May 7, 2022

ADDED
- Access other player's expired items and get it to inventory.
- Auto-saving function which will save timed items/players data every X minutes (configurable), you can toggle it in-game.
- Add/remove timed item to collection with name, expire time will be freeze
- Give timed item to player by name from collection, when player received item, its expire time will start to count. ( i think it will usefull for servers that have quests function, you can give player timed item as a reward)
- Rename timed item from collection.
- Access to timed item's information such as name, expire date, ...etc.

NEW COMMANDS:
- /ti additem <name>:
Description: Add timed item to collection with name.
Permission: timeditem.command.additem
- /ti removeitem <name>:
Description: Remove timed item from collection by name.
Permission: timeditem.command.removeitem
- /ti setitem <name>:
Description: Update your in hand item to specific timed item by name
Permission: timeditem.command.setitem
- /ti giveitem <player> <name> <amount>:
Description: Give timed item to player by name with specific amount.
Permission: timeditem.command.giveitem
- /ti infinity:
Description: Toggle infinity mode for timed item, at this state item will not be expired, when toggle off infinity mode, expire time will be reset
Permission: timeditem.command.infinity
- /ti rename <name> <new-name>:
Description: Rename a timed item from collection.
Permission: timeditem.command.rename
- /ti info:
Description: Shows tiAmed item's information in your hand.
Permission: timeditem.command.info
- /ti items:
Description: Shows timed item collection in GUI
Permission: timeditem.command.items
- /ti autosave:
Description: Access to auto-saving options GUI
Permission: timeditem.command.autosave

FIXED
- Issue on lost player inventory's items.

REWORK
- Old API will no longer work with version 0.6 or above, the new API will be reworked and update later.
----------, May 7, 2022

FIXED
  • Player inventory's items lost when re-login to server
----------, Jan 29, 2022

FIXED
  • NoSuchMethodException when add/set/remove expire time (they have changed method name in 1.18+).
  • No lore appear when add/set/remove time to item with empty lore.
----------, Jan 22, 2022

FIXED
  • Item lore when use command add/set/remove
  • Spam error when check player inventory & update now will no longer appear
  • Fix message of some place
ADDED
  • Now support 1.18+
P/s: I'm sorry that I've been very busy lately so I didn't have time to update the Minecraft version and fix the plugin, next time will support MMOInventory plugin.
----------, Jan 20, 2022

FIXED
  • Reload command in 1.17+
  • Bugs when check for expire item on ground/inventory in 1.17+
  • Message
----------, Nov 20, 2021

Resource Information
Author:
----------
Total Downloads: 71
First Release: Nov 20, 2021
Last Update: Dec 15, 2024
Category: ---------------
All-Time Rating:
6 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings