Back to mods
Configurable Bannable Items project artwork

CurseForge · Minecraft mod

Configurable Bannable Items

A lightweight server-side mod that lets operators ban specific items by their full item fingerprint (registry ID + NBT). Banned items are automatically destroyed wherever they appear: inventory, cursor, ground, crafting table, or anvil.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Configurable Bannable Items release should I use?

Updated 7 months ago
Latest stable file banneditemsmod-1.21.1-1.0.0.jar
Game version 1.21, 1.21.1
Loader NeoForge

Configurable Bannable Items banneditemsmod-1.21.1-1.0.0.jar targets 1.21, 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Configurable Bannable Items required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Configurable Bannable Items banneditemsmod-1.21.1-1.0.0.jar need?

banneditemsmod-1.21.1-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Configurable Bannable Items without breaking your instance.

Built for Configurable Bannable Items banneditemsmod-1.21.1-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use banneditemsmod-1.21.1-1.0.0.jar. It targets 1.21, 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside banneditemsmod-1.21.1-1.0.0.jar. It opens that exact file at the source.

About this project

What does Configurable Bannable Items add?

Banned Items Mod

NeoForge 21.1.220 | Minecraft 1.21.1 | Server-Side Only

A lightweight server-side mod that lets operators ban specific items by their full item fingerprint (registry ID + all data-components / NBT). Banned items are automatically destroyed wherever they appear: inventory, cursor, ground, crafting table, or anvil.


Commands (requires operator level 2)

Command Description
/banhanditem Ban the item currently in your main hand. Deletes the item from your hand and scans the rest of your inventory for copies. Saves to config immediately.
/unbanhanditem Unban the item currently in your main hand.
/banneditemslist Print all currently banned items to chat.
/reloadbanneditems Reload config/banneditems.json without restarting the server.

How banning works

  1. Hold an item and run /banhanditem.
  2. The mod serialises the full item (item ID + every data-component such as enchantments, custom name, lore, potion effects, etc.) to SNBT and stores it in config/banneditems.json.
  3. From that moment, any item stack that matches both the item type and all data-components is considered banned.
  4. Banning is exact-match: a Diamond Sword with Sharpness V is a different entry from a plain Diamond Sword. This lets you ban specific hacked items without affecting normal ones.

Enforcement

Trigger Action
Inventory sweep (every 1 s) Removes banned items from all 41 inventory slots and the cursor slot
Crafting output Zeroes the result stack so the player receives nothing
Right-click on block / in air Event cancelled; item cannot be used
Left-click / attacking Event cancelled
Item pickup from ground Item entity discarded immediately
Anvil (repair / rename) Output blocked

Config file

config/banneditems.json — a JSON array of SNBT strings.

[
  "{id:\"minecraft:diamond_sword\",count:1}",
  "{id:\"minecraft:tnt\",count:1,components:{\"minecraft:custom_name\":\"{\\\"text\\\":\\\"Super TNT\\\"}\"} }"
]

You can hand-edit this file and run /reloadbanneditems to apply changes without restarting.


Project description from CurseForge.

Pick your setup

Configurable Bannable Items by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Configurable Bannable Items versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.