MonitoringMinecraft MonitoringMinecraft

Banned Items

Мод NeoForge

Серверный мод для Майнкрафт: администраторы могут банить предметы по ID и NBT — запрещённые вещи автоматически удаляются из инвентаря, стола крафта и наковальни.

763 скачивания 1 подписчик
Оцените первым

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.


Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1629 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
Minestory
6 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
BULLCRAFT
BULLCRAFT Java + BE
150 онлайн
26.2 версия
Анархия! PvP | Работают поршни и вагонетки
Battle Mine
Battle Mine Java + BE
5 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат