Configuration/Blacklist

Configuration / Blacklist

[ Main ] [ Multiworld ] [ Tools ] [ Usergroups ] [ Blacklist(s) ] [ Materializer ]

You can define items to be blocked in some components of VirtualPack (also see permissions vpack.bypass.blacklist).

Quote:
blacklist:
  uncrafter:
    whitelist: 'false'
    list: []
  store:
    whitelist: 'false'
    list: []
  materializer:
    whitelist: 'false'
    list: []
blacklist.<x>Define a blacklist for component <x>
blacklist.<x>.whitelistWhether to use this blacklist as a whitelist or not.
blacklist.<x>.listA list of items to be black-/whitelisted.

Example

An item entry has the form

id[:meta]


where id can be either a number or a name, and meta can be either omitted completely or be a number or "*" (without the quotes), to match all item variants.

WARNING: When using numeric IDs (like 1:1), you MUST surround them with quotes, like '1:1' or your config will break!

Example configuration:

blacklist:
  store:
    list:
    - WOOD:*    # Matches all kinds of wooden planks
    - Map       # Matches any map
    - Stone:1   # Matches granite
    - STONE:2   # Matches polished granite
    - 'stone:3' # Matches diorite
    - 'sToNe:4' # Matches polished diorite
    - '1:5'     # Matches andesite
    - 1:6       # THIS WILL BREAK YOUR CONFIG because quotes are missing!