By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Adjust the time of dropped items to disappear in your server
version 0.1.0
Approved
Direct Download How to install?
Switch version
482 Downloads / 686 Total
1 Review
Plugin Description §

ItemLifeTime

Adjust the time of dropped items to disappear in your server

How does this plugin work?

Default time of dropped items to disappear in PocketMine is 5 minutes (300 seconds), but you can change it with this plugin!

How to use?

  • item-lifetime in config.yml is used to change dropped items' time to disappear in your whole server.

  • Use worlds in the config if you want a separated item lifetime on each world in your server, Example:

    worlds:
      MyPrettyWorld: 120 # Set item lifetime on MyPrettyWorld world to 120 second
      MyDirtyWorld: 360 # Set item lifetime on MyDirtyWorld world to 360 second

    Item lifetime in the world that not listed in worlds will set to item-lifetime

Config

--- # ItemLifeTime plugin configuration file

# Set dropped item lifetime in your server (in second)
# Default is 300 seconds (5 minutes)
# Minimum value is 0, maximum is 1938
# Item will never despawn if this set to -1
item-lifetime: 300

# Set different custom item lifetime on each of these worlds (optional)
# Example configuration:
# worlds:
#   MyPrettyWorld: 120
#   MyDirtyWorld: 360
#
# This will set item lifetime in MyPrettyWorld world to 120 seconds, 360 seconds in MyDirtyWorld
worlds: {}

# Show remaining time to disappear in item's nametag
display-time:
  enabled: false
  # Text to be set in item's nametag
  # {MINUTE}, {SECOND}, {TIME}
  # Set this to "{MINUTE}:{SECOND} {TIME}" will be shown as "01:20 01 minute" (example)
  text: "{MINUTE}:{SECOND}"
...
What's new §
  • Add feature to show the remaining time to despawn in dropped items' nametag

SillierShark195
using v0.1.0
06 Sep 23
Pm5?

Reply to review by :

/ 5
Supported API versions
4.0.0
->
4.21.1
Producers §
  • Collaborators:
    • @DavyCraft648
License §
Categories:
General
Mechanics

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...