> For the complete documentation index, see [llms.txt](https://zauctionhouse.groupez.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zauctionhouse.groupez.dev/development-portal/blacklist.md).

# Blacklist

Create your own blacklist class implement from IBlacklist

```java
public class BlacklistSimilar implements IBlacklist {

	private final List<ItemStack> itemstacks;

	/**
	 * @param itemstacks
	 */
	public BlacklistSimilar(List<ItemStack> itemstacks) {
		super();
		this.itemstacks = itemstacks;
	}

	@Override
	public String getName() {
		return "Similar itemstack";
	}

	@Override
	public boolean isBlacklist(ItemStack itemStack) {
		return this.itemstacks.stream()
				.anyMatch(stack -> stack != null && itemStack != null && stack.isSimilar(itemStack));
	}

}
```

After your need to use the method `registerBlacklist` in IBlacklistManager class
