Перейти к содержимому
Mineforgian

Item Banning

Ban specific items from showing up and being crafted

Загрузки
160K
Подписчики
18
Обновлён
2 мая 2025 г.
Лицензия
MIT

Опубликован 19 февраля 2025 г.

This mod allows server operators to blacklist certain items. Banned items will be deleted as soon as the container holding it is updated, and they will no longer drop. You can find the list under [save_name]/serverconfig/itemblacklist.json

You can also create a default blacklist under defaultconfigs with the name itemblacklist.json. This will automatically be applied to every new world you create.

Commands
/itemblacklist ban [item] 
  bans an item
/itemblacklist unban [item] 
  unbans an item
/itemblacklist ban all 
  unbans all items
/itemblacklist list 
  displays all banned items (anyone can use this command)

Ченджлог

1.20.1-1.1.5Релиз1.20.4, 1.20.5, 1.20.6 · 2 мая 2025 г.
  • Don't set NBT if the itemstack doesn't have one (issue #22)
1.21.1-1.1.4Релиз1.21.1, 1.21.2, 1.21.3 · 13 апреля 2025 г.
  • Fix NPE with checking null itemstacks
1.20.1-1.1.4Релиз1.20.4, 1.20.5, 1.20.6 · 19 марта 2025 г.
  • Fix NPE with checking null itemstacks
1.21.4-1.1.4Релиз1.21.4 · 19 марта 2025 г.
  • Fix NPE with checking null itemstacks
1.20.1-1.1.3Релиз1.20.4, 1.20.5, 1.20.6 · 18 марта 2025 г.
  • Add optional field, "ban_nonplayer", to the item predicate entries. If false, items on the ground or in inventories won't be banned. Defaults to true
  • Internal code refactoring
  • Add optional field, "game_types", to group entries. Must be a list of game modes to check for. Ignored if it isn't declared.
  • Add simple version of ban command
1.21.1-1.1.3Релиз1.21.1, 1.21.2, 1.21.3 · 18 марта 2025 г.
  • Add optional field, "ban_nonplayer", to the item predicate entries. If false, items on the ground or in inventories won't be banned. Defaults to true
  • Internal code refactoring
  • Add optional field, "game_types", to group entries. Must be a list of game modes to check for. Ignored if it isn't declared.
1.21.4-1.1.3Релиз1.21.4 · 7 марта 2025 г.
  • Add optional field, "ban_nonplayer", to the item predicate entries. If false, items on the ground or in inventories won't be banned. Defaults to true
  • Internal code refactoring
  • Add optional field, "game_types", to group entries. Must be a list of game modes to check for. Ignored if it isn't declared.
1.21.4-1.1.2Релиз1.21.4 · 5 марта 2025 г.
  • Add several config options
    • Control specific types of banning
    • Control the change an item is checked (for performance)
    • Stop broadcasting the banned items to non-ops

Комментарии

Загружаем…