Desapwn dropped items, arrows, and Tridents that refuse to disappear!
Explanation Sometimes dropped items, arrows, and Tridents refuse to despawn after the time that was set in your
spigo.yml file. This can be due to lag, player intervention, or other reasons.
These dropped things are considered entities, and we all know what happens when there are more and more entities...
LAG!
This plugin is here to make sure they will disappear as intended when their time is up no matter what!
Example for arrows not despawning due to players:
Extra info
The despawn times are the ones configured in the server's spigo.yml file. Each type uses its corresponding setting:
Dropped items use item-despawn-rate.
Arrows use arrow-despawn-rate.
Tridents use trident-despawn-rate.
Includes a setting to remove all the dropped things on shutdown.
Includes options to ignore Tridents dropped by players.
Includes a command to reload the config file: /DSpawn or /DSP.
Settings
Enable/Disable each type when the server is running and when a world loads. All dropped things that were already there during startup will restart their countdown.
Enable/Disable each type when the server is shutting down and when a world unloads.
Config
Code (YAML):
# DSpawn config file # Purges during Disable options are NOT dependant on the purges during running options!
# What to remove while the plugin is running purge-running: # All dropped items items: true
# All kinds of Arrows arrows: true
# All Tridents tridents: true
# Should Tridents that were thrown by Players be avoided during the purging # Tridents thrown by Players will be removed during the purging only if this option is set to 'false' and the above option is set to 'true' ignore-player-tridents: false
# What to remove when the plugin disables purge-disable: # All dropped items items: true
# All kinds of Arrows arrows: true
# All Tridents tridents: true
# Should Tridents that were thrown by Players be avoided during the purging # Tridents thrown by Players will be removed during the purging only if this option is set to 'false' and the above option is set to 'true' ignore-player-tridents: false
# The message sent when reloading the config with the command # To use colors (if supported) use '&' before the appropriate color character command-reload-message: "&aConfig reloaded!"
Future plans
API.
Visual aids!
Add more configurations (example: logging of deleted things).
??? - Suggest away!
Endnote If you find any problems or errors with the plugin, please let me know in the Discussion section or in the GitHub's issues page (
PLEASE don't use the reviews to do so) - I will try to fix them as soon as possible.
If you like the plugin, please make sure to leave a review!