NoMending

A Plugin that Blocks Mending in Minecraft.

90

Quick challenge

How far can you run before the mobs catch you?

NoMending

🧱 NoMending Plugin

A simple Mending enchantment that disables the Mending enchantment completely — both from the enchantment table and anvils. Perfect for servers that want to balance gameplay or limit item durability advantages.

---

⚙️ Features

- ❌ Cancels anvil result clicks from being applied at the enchantment table - 🛠️ Cancels anvil result clicks books from being combined with items in an anvil - 🚫 Cancels anvil result clicks that contain Mending - 💬 Sends players a configurable message when Mending is blocked - ⚡ Lightweight and efficient — no dependencies required

---

📁 Installation

1. Download the plugin `.jar` file 2. Place it into your server’s `plugins/` folder 3. Start or reload your server 4. A default `config.yml` will be generated

---

⚙️ Configuration (`config.yml`)

```yaml

Allow or block the Mending enchantment

allow-mending: false ``` - allow-mending: true → Mending works normally

- allow-mending: false → Mending is completely disabled

---

📜 Commands & Permissions

This plugin has no commands and no permissions — it works automatically once installed.

---

🧩 Developer Information

Main class: de.scholle.noMending.NoMendingPlugin

Event listener: de.scholle.noMending.MendingEnchantBlocker

---

💡 Example Messages

When a player tries to apply Mending:

§cMending ist deaktiviert! (Translation: “Mending is disabled!”)

You can easily modify this message directly in the code if needed.

---

🧰 Compatibility

- ✅ Works with Spigot, Paper, and Purpur

- 🧱 Tested on Minecraft 1.18+

- ⚠️ Requires Java 17+

ADS