The problem with the requirement in DeluxeMenus. Here's what I have:
menu_title: "Ворон"
open_command:
- raven
size: 27
items:
'item_1':
material: BREAD
slot: 16
amount: 32
display_name: "§fХлеб"
lore:
- ""
- "&eСтоимость:"
- "&6&l- Бравл Коин x32"
left_click_commands:
- '[console] minecraft:clear %player_name% gold_ingot 32'
- '[console] minecraft:give %player_name% minecraft:bread 32'
- '[message] &fВы &aуспешно&f приобрели хлеб!'
left_click_requirement:
requirements:
has_item:
type: has item
material: GOLD_INGOT
amount: 32
deny_commands:
- '[message] &fУ вас &cнету &fБравл коинов!'
has_items:
type: has item
material: DIAMOND_PICKAXE
amount: 1
item_model: "brawl:galaxy_pickaxe"
deny_commands:
- '[message] &fF!'
So, when I decide to buy bread without kirk, then everything is fine. Bread is not bought. But if I decide to take a regular pickaxe without item_model, then there is a problem everything is bought, but I need it not to be bought. I read the documentation of the plugin but did not find any help there. Help please. I need bread to be bought exclusively with a Diamond pickaxe with item_model:"brawl:galaxy_pickaxe" I make it on 1.21.4 Purpur and I have the latest version of DeluxeMenus.