#
Inventory Filter
It's possible to restrict which items are allowed/disallowed from use in dungeons by certain criterias.
This feature is only useful when kits are disabled for the dungeon.
#
Setup
Item filtering settings located in the config.yml inside a dungeon's directory under the Features
-> ItemFilter
and Exit
sections:
Features:
ItemFilter:
Mode: ALLOW_SPECIFIC
Criteria:
Materials:
- minecraft:ender_pearl
- minecraft:enchanted_golden_apple
Names: []
Lores:
- '(Dungeon Item)'
There are 3 modes available for the Mode
option:
BAN_SPECIFIC
- Removes only items that matches the criteria.ALLOW_SPECIFIC
- Removes all items that do not matches the criteria.NONE
- Disables the inventory filtering feature.
Players will get their items back as soon as they leave the dungeon.
Items must meet all criterias to be handled by the filter:
Materials
- Only items of defined materials will meet the criteria. Set to empty[]
to allow any material.Names
- Only items that contains any of defined values in their names will meet the criteria. Set to empty[]
to allow items with any name.Lores
- Only items that contains any of defined values in their lore will meet the criteria. Set to empty[]
to allow items with any lore.