HomeJavaModsToolGuardian
ToolGuardian
ModsJava

ToolGuardian

by t0g3pii · on Modrinth

Warn players when their tools or armor are about to break - configurable thresholds, localized messages, MiniMessage formatting, and per-player toggles…

⬇ Download on Modrinth
ToolGuardian — screenshot 1ToolGuardian — screenshot 2

ToolGuardian

Warn players when their tools or armor are about to break — configurable thresholds, localized messages, MiniMessage formatting, and per-player toggles with persistence.

Features

Requirements

Installation

  1. Download the release JAR (or build from source, see below).
  2. Put the JAR into your server's plugins folder.
  3. Start or restart the server.
  4. Optional: adjust plugins/ToolGuardian/config.yml and localization files under plugins/ToolGuardian/lang/.

Configuration

Default config.yml (you can add or remove thresholds freely):

language: de

enabled-gamemodes:
  - SURVIVAL
  - ADVENTURE

monitor:
  main-hand: true
  off-hand: true
  head: true
  chest: true
  legs: true
  feet: true

thresholds:
  - percent: 20
    message: warn.medium
  - percent: 10
    message: warn.low
  - percent: 5
    message: warn.critical
    sound: BLOCK_NOTE_BLOCK_BELL
    sound-volume: 1.0
    sound-pitch: 1.0

check-interval-ticks: 20

Notes:

Localization

Two language files are provided: lang/de.yml and lang/en.yml. Example:

warn:
  medium: "<yellow><bold>Heads up:</bold></yellow> {item} at <yellow>{percent}%</yellow> durability (<gray>{remaining}/{max}</gray>)."
  low: "<gold><bold>Warning:</bold></gold> {item} at <gold>{percent}%</gold> durability (<gray>{remaining}/{max}</gray>)."
  critical: "<red><bold>CRITICAL:</bold></red> {item} only <red>{percent}%</red> durability left (<gray>{remaining}/{max}</gray>)!"
toggle:
  now-enabled: "<green>ToolGuardian warnings: <bold>ON</bold></green>"
  now-disabled: "<red>ToolGuardian warnings: <bold>OFF</bold></red>"
  usage: "<gray>Usage:</gray> <yellow>/toolguardian toggle</yellow>"
  no-permission: "<red>You don't have permission.</red>"

Placeholders are written as {item}, {percent}, {remaining}, {max} and can be styled with MiniMessage tags around them. The plugin converts these placeholders and resolves them at runtime.

Commands

Permissions

How it works

Troubleshooting

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more