Changes:
- Adding automatic death point deletion when a player reaches its location. This feature is disabled by default and can be enabled in the config.yml file of the plugin by setting the property waypoint-auto-delete.enabled to true. It is also possible to configure the distance the player has to be from the death point to automatically delete it (5 blocks by default).
- When a player has reached a death point, a message is sent to inform it that its death point has been automatically deleted.
Note: The 1.21.8 version has been tested and is fully compatible with the plugin.
How to update?
To update to the plugin by keeping your current configuration, please do the following actions:
1. Add the following YAML code in your
config.yml file.
Code (YAML):
# Automatic death point deletion settings.
waypoint-auto-delete
:
# Set true if you want death points to be automatically deleted when the player
# reaches their location.
enabled
: false
# The distance (in blocks) the player must be from the death point for it to be deleted automatically.
distance
: 5
2. Add the following message to the
messages section in your
config.yml file.
Code (YAML):
messages
:
# Message sent when death point automatic deletion is enabled and the player has reached a death point.
waypoint-location-reached
:
"&6>> &eYou reached your death point ! It has been automatically deleted."
Note: Do not hesitate to contact me on my Discord server if you need help on these operations. You can also download the plugin again and have a look at the default configuration to get an example.