Ever needed an easy, yet powerful way to prevent despawn of dropped items after player death, prevent despawn of turtle scute after turtle grows up and prevent thrown trident despawn (which is 60 seconds in vanilla) with option to set despawn time.
Requirements:
Spigot 1.16+
Check the config file for permissions and options, then change settings as you desire and give players desired permissions.
Players can also collect death drops with /deathdrops command (requires permission). While it also requires permission (check config.yml) to make dropped items after death to not despawn.
Turtle scutes will never despawn when dropped by turtles. You can also modify trident despawn time of thrown tridents which is 60 seconds in vanilla.
Code (YAML):
prefix: "&fAnti&cDespawn&f+"
no-despawn: # Turtle scute will never despawn after dropped by turtles: turtle-scute: true
death-drops:
enabled: true
permission: "antidespawn.no-despawn.death-drops" collect-command: # command: /deathdrops permission: "antidespawn.command.collect-death-drops" cooldown:
time: 10
# amount of seconds players will need to wait before claiming items after death. bypass-permission: "antidespawn.no-despawn.death-drops.bypass"
delay-despawn:
trident: # Vanilla is 60 seconds, use 0 to make tridents never despawn. despawn-time: 240
# seconds permission: "antidespawn.delay-despawn.trident"
I found a bug! How do I get it fixed? Please file this issue on either
Discord, or post it on the discussion page.
I want a new feature! Please file this issue on either
Discord, or post it on the discussion page. The feature might not be aligned with the goals of the plugin, so it might be made into another plugin.