Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for JustFlawless

Gives warning if tools, armor piece or elytra reaches an X% of the durability

Report DurabilityWarnings?

Durability Warning Plugin

Description The Durability Warning Plugin for Minecraft provides players with notifications when their tools, armor or elytra are reaching critical levels of durability. Players will receive alerts at specific thresholds, helping them manage their tools, armor or elytra effectively and avoid unexpected breakage. This plugin is designed for server administrators who want to enhance the gameplay experience by giving players the ability to monitor their items more closely.

Features Customizable Warning Thresholds: Admins can set specific durability thresholds for warnings via in-game commands. User-Friendly Notifications: Players receive in-game messages when their tools reach e.g. 10%, 5%, and 1% durability. Permission-Based Controls: Only authorized players (admins) can modify the settings and reload the configuration.

Commands /SetThreshold <firstWarning|secondWarning|finalWarning> Set the durability threshold for warnings. The value must be a percentage (e.g., 0.1, 0.05, or 0.01). Example: /SetThreshold firstWarning 0.1 This sets the first warning to trigger when a tool reaches 10% durability.

/ReloadConfig Reload the plugin's configuration file without restarting the server. This is useful after making changes to the thresholds.

Permissions durabilitywarning.setthreshold: Allows players to set durability warning thresholds. (Default: op) durabilitywarning.reloadconfig: Allows players to reload the plugin configuration. (Default: op)

How to Use Install the plugin on your Minecraft server and start the server. Use the /SetThreshold command to configure the warning thresholds as desired. Players will automatically receive warnings in chat as their tools approach the configured durability limits. If changes are made to the configuration, use the /ReloadConfig command to apply them without restarting the server. Enjoy managing your tools more effectively with the Durability Warning Plugin!

To-Do Add Get-Threshold command. Add color coding to notifications. Add the option (with permissions) to let players decide if they want to override the server threshold and set their own.

Information

CategoryMiscellaneous
Published onSeptember 20, 2024
LicenseGPL
Downloads28
Stars1
Watchers1

Pinned Versions

Members