Перейти к содержимому
Mineforgian

Durability Notifier

Get notifies when your item has low durability

Загрузки
155
Подписчики
0
Обновлён
2 февраля 2025 г.
Лицензия
GPL-3.0-only

Опубликован 1 февраля 2025 г.

Исходный код

About

DurabilityNotifier is a plugin which will help your players save their items. It will notify them when their items (armor, weapons, tools) fall below the value specified in the config.

Notify types

You can send message in chat or action bar and play the sound to player.

Everything is configurable

  • You can edit every message which you or your players will se
  • You can disable every notification type
  • You can specify after which value notification would be trigerred
  • Also you can send notification when item is broken

Tips

  • I would recommend you to set "required-durability" as low as possible, because otherwise, the player may receive spam messages when, for example, he digs something.
  • It would be better if you chose only 1 type of message notification + sound, if you want.

Permissions

permission description default
durability.admin Access to admin commands op
durability.notify Allow to receive notifications true

Commands

command description
/durability admin reload Reload the config file
/durability admin set (value) Set durability of item in hand to this value
/durability admin preview (damage/break) Preview the specified notification

Ченджлог

1.1.5Релиз1.21.2, 1.21.3, 1.21.4 · 2 февраля 2025 г.
  • Add the ability to disable individual messages or sounds by leaving them empty in the config.
  • To correctly get sound from config, you should manually put it in quotation marks. Example:
    sound:
      enabled: true
      damage-sound: "ITEM_CROSSBOW_HIT"
      break-sound: "ENTITY_VEX_DEATH"
1.1.2Релиз1.21.2, 1.21.3, 1.21.4 · 1 февраля 2025 г.

Add bStats metrics

1.1.1Релиз1.21.2, 1.21.3, 1.21.4 · 1 февраля 2025 г.

This is realise version

Комментарии

Загружаем…