SIXsCanBreak

With this plugin you can define exactly which blocks each item can break, Assign per-item block allowlists directly in-game using a simple command — no datapacks, no adventure mode required and no file configuration needed.

19

Quick challenge

How far can you run before the mobs catch you?

SIXsCanBreak

SIXsCanBreak is a lightweight utility plugin that gives server administrators precise control over which blocks any item can break — even in Survival mode.

By default, Minecraft's `CanDestroy` tag only works in Adventure mode. SIXsCanBreak brings the same mechanic to Survival: lock a pickaxe to only mine stone, restrict a shovel to a single block type, or prevent a custom item from breaking anything at all — all managed in-game with a single command, no datapacks required.

Restriction data is stored directly on the item via the PersistentDataContainer, so it travels with the item through inventories, deaths, and server restarts.

---

Features

* 🧱 Update Checker — Define exactly which block types each item in hand can break. * 🚫 Update Checker — Prevent an item from breaking any block at all with a single command. * ♻️ Update Checker — Remove all restrictions from an item and restore normal behavior instantly. * 🎮 Update Checker — No Adventure mode or datapacks needed. Fully transparent to the player. * 🏷️ Update Checker — Manage break rules for custom IA items by namespace ID (`pack:item`), stored in a dedicated `ia_data.yml` file. * 🔒 Update Checker — Exempt trusted players from all restrictions entirely. * 🎨 Update Checker — Every player-facing string lives in `messages.yml`, with full support for `&` codes, hex colors (`&#RRGGBB`), and MiniMessage (Paper/Purpur). * 🔁 Update Checker — Apply all config and message changes live with `/canbreak reload`, no restart needed. * 🔔 Update Checker — Automatically notifies online operators when a new version is available.

---

📦 Requirements

* Bukkit / Spigot / Paper / Purpur (API 1.21+) * ItemsAdder *(optional — required only for custom item rules)* * PlaceholderAPI *(optional)*

---

🛠️ Commands

| Command | Description | |---|---| | `/canbreak add <block>` | Add a block to the item in hand's allowlist | | `/canbreak remove <block>` | Remove a block from the allowlist | | `/canbreak list` | Show all allowed blocks for the item in hand | | `/canbreak restrict` | Prevent the item from breaking any block | | `/canbreak clear` | Remove all restrictions from the item | | `/canbreak additem <id> <block>` | Add a block rule for an ItemsAdder item ID | | `/canbreak removeitem <id> <block>` | Remove a block rule for an ItemsAdder item ID | | `/canbreak listitem <id>` | List block rules for an ItemsAdder item ID | | `/canbreak restrictitem <id>` | Restrict an ItemsAdder item from breaking anything | | `/canbreak clearitem <id>` | Clear all rules for an ItemsAdder item ID | | `/canbreak reload` | Reload all configuration files | | `/canbreak info` | Show plugin status and active integrations |

Alias: `/cb`

---

🔐 Permissions

| Permission | Description | Default | |---|---|---| | `sixscanbreak.use` | Use the `/canbreak` command | op | | `sixscanbreak.add` | Add blocks to an item's allowlist | op | | `sixscanbreak.remove` | Remove blocks from an item's allowlist | op | | `sixscanbreak.list` | View an item's block list | op | | `sixscanbreak.restrict` | Restrict an item from breaking any block | op | | `sixscanbreak.clear` | Clear all restrictions from an item | op | | `sixscanbreak.bypass` | Bypass all CanBreak restrictions | op | | `sixscanbreak.reload` | Reload configuration | op | | `sixscanbreak.info` | View plugin info | op | | `sixscanbreak.group.admin` | Grants all of the above | op |

Permission groups (including a `moderator` preset) are fully configurable in `permissions.yml`.

---

⚙️ Configuration

All plugin messages are fully customizable in `messages.yml`. Every command response, deny message, and status line can be edited freely — supports `&` color codes, hex colors (`&#RRGGBB`), and MiniMessage syntax on Paper/Purpur. The prefix, separator style, and every notification can be changed to match your server's style.

---

🐛 Bug Reports & Support

Got a bug? A question? Just want to know what's coming next? The Discord server is the place to be — support tickets, changelogs, announcements and more, all in one place.

👉 Join the Discord

--- *Made by SIXs — built for 1.21+*

ADS