Added configurable block blacklist system to prevent specific blocks from being stored based on material, name, custom model data, and lore patterns.
Reset config or add:
Code (YAML):
blacklist:
enabled
: true
blocks:
- material
: DIAMOND_BLOCK
name
:
"&bSpecial Diamond Block"
custom-model-data
: 1001
lore
:
-
"&7This is a special block"
-
"&7Do not use it!"
- material
: BEDROCK
name
:
""
custom-model-data
: -1
lore
:
[
]
- material
: COMMAND_BLOCK
name
:
""
custom-model-data
: -1
lore
:
[
]
messages:
blacklisted-block
:
"&cThis block is blacklisted and cannot be stored!"