- Modification of the blacklist system. Creation of the blacklist.yml file
The file includes more possibility for blacklist items, all information here:
https://zauctionhouse.groupez.dev/blacklist
Code (YAML):
blacklists
:
# Blacklist items if their name contains an element
- type
:
"zauctionhouse:names_contains"
key
:
"Custom Sword"
# Blacklist of items with a custom model id
- type
:
"zauctionhouse:similar_model_id"
key
: PAPER
# Material name (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
modelId
: 10001
# Blacklist of items with lore contains key
- type
:
"zauctionhouse:contains_lore"
key
:
"Cosmetics"
# Blacklist of items with lore contains key
- type
:
"zauctionhouse:material_similar"
key
: STONE_HOE
# (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
- Modifying the default category configuration, you now have examples of how to add specific items to your categories, either by name or by custom model id.