Plugin Release XItemsRemover - A simple plugin that automatically removes dropped items with a timer displayed on them.

Source Code
https://github.com/Xezard/XItemsRemover
Minecraft Versions
1.8 - 1.18
Compatible Java Versions
8+
WGXYWcCeIIc.jpg


XItemsRemover - is a small plugin that automatically removes dropped items with a timer displayed on these items until they are removed. The time until deletion is configured in the plugin configuration.

If you have items with displayed name 'AIR' - specify 'api-version' in plugin.yml with version of your server!
For example, if your server version is 1.16.5, add the following line to plugin.yml of XItemsRemover:
YAML:
api-version: 1.16

Configuration
YAML:
Items:
  # Format:
  # '<timer value>': "<format>"
  # Available placeholders:
  # {time} - time remaining before remove (in seconds)
  # {display_name} - display name of itemstack (if empty - used localized material name}
  # {amount} - itemstack amount
  Display-name-formats:
    '1': "§c⚠ {time} §7| §f{display_name} §a{amount}x"
    '10': "§c{time}"
  Remove-timer:
    # Timer for removing an item in seconds
    Default: 30
    After-player-death: 180
    Async: true
    # Section for specifying a unique timer or display name
    # for certain materials
    # Format:
    # <material name>:
    #   <timer>: 15
    #   <display name formats>:
    #     <timer value>: <display name format>
    #   <tracked>: false
    # If you only need to edit one parameter
    # (name or time) you can just delete the line with the second.
    # If you need the plugin not to track a certain type of materials, then set 'tracked: false'
    Custom-materials:
      COBBLESTONE:
        Timer: 15
        Display-name-formats:
          '15': "Cobblestone :D"
      STONE:
        Timer: 10
      GRASS:
        Display-name-formats:
          '30': "Grazz"
      SAND:
        Tracked: false
      
# Worlds in which plugin does not work
Restricted-worlds:
- "restricted_world"

Commands and permissions
- '/itemsremover' [Alias: /ir] - prints all plugin commands.
Permission: items.remover.commands.help
- '/itemsremover help' - prints all plugin commands.
Permission: items.remover.commands.help
- '/itemsremover reload' - reloads plugin configurations.
Permission: items.remover.commands.reload


XItemsRemover.svg


For any errors or suggestions, write to the discussion section.
If you use XItemsRemover and you like it, please rate and leave a review about it!