Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Added
- Item filters: block one specific item by text in its name or lore, custom model data, plugin data (such as
nexo:id=ruby_sword) or an enchantment, with/ib filter add <id> handor the criteria as options./ib filter list,/ib filter removeand the matching filters in/ib show hand. Needsitemblocker.filter. - Option values in double quotes may contain spaces.
- Item groups:
/ib group add *_swordblocks every item type matching a wildcard or an item tag such as#swords. Needsitemblocker.group. - Allowed items:
/ib allow add wooden_swordkeeps an item type out of a preset's item rules and groups. Needsitemblocker.allow. - Exceptions:
bypass:<permission>onblock,edit,filter addandgroup addlets players with that permission ignore just that rule, anditemblocker.bypass.preset.<name>ignores a whole preset. - Scanning:
/ib scan players|containersreports forbidden items already in inventories, ender chests and containers; addremoveorconfiscateto take them away, and get confiscated items back with/ib confiscated take <owner>. Needsitemblocker.scan. - Logs: every blocked action is written to
logs/<date>.log,/ib log [player]shows the most recent ones, andlog.discord.webhookinconfig.ymlsends alerts to Discord. Needsitemblocker.log. - API for other plugins:
ItemBlockerApi.get()checks rules and adds temporary rules for everyone or one player, andItemBlockedEventcan be cancelled to let a blocked action through. Available through JitPack ascom.github.kuqk:ItemBlocker.
Changed
- The
ItemBlockerin the message prefix is purple. Language files with an earlier default prefix are updated automatically.
Compatibility
- Java 17+
- Folia, Paper, Purpur and Spigot
- Minecraft 1.20 to 26.3
- Optional: WorldGuard 7.0.9+, PlaceholderAPI 2.11.6+
Platforms
Paper
1.20–26.3