#Problem

1 messages · Page 1 of 1 (latest)

vital fossil
#

menu_title: Default Menu
open_command: zavod11
size: 9
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.zavod1
deny_commands:
- "[message] &cНедостаточно прав"
items:
item1:
material: chest
slot: 1
hide_enchantments: true
enchantments:
- SILK_TOUCH;1
display_name: " &#50C3D9&lП&#4DBBD5&lи&#49B2D1&lс&#46AACC&lт&#42A2C8&lо&#3F99C4&lл&#3B91C0&lе&#3888BC&lт &#3178B3&lP&#2D6FAF&l3&#2A67AB&l0"
lore:
- " "
- " &2• &aТребуеться:"
- " "
- " &2• &a15х Слитков железа"
- " &2• &a10х Пыли редстоуна"
- " "
- " &2• &aЛКМ, чтобы произвести "
left_click_requirement:
requirements:
items_check:
- IRON_INGOT,15
- REDSTONE,10
deny_commands:
- "[message] &eУ вас недостаточно ресурсов для производства!"
- "[sound] BLOCK_NOTE_BLOCK_IRON_XYLOPHONE"
left_click_commands:
- "[message] &aКоманды выполняются!"
- "[remove] IRON_INGOT 15"
- "[remove] REDSTONE 10"
- "[give] minecraft:stone 64"
- "[console] say %player_name% получил p30silenced!"
- "[sound] ENTITY_PLAYER_LEVELUP"
- "[refresh]"
[04:50:50 WARN]: [DeluxeMenus] No type set for requirement: items_check for path: items.item1.left_click_requirement.requirements.items_check
[04:50:50 WARN]: [DeluxeMenus] No type set for requirement: deny_commands for path: items.item1.left_click_requirement.requirements.deny_commands

I don't know how to fix this

hollow jacinth
#

Your requirement section is missing a type, though the way you're trying to do this wont work at all.

left_click_requirement:
  requirements:
    items_check:
      - IRON_INGOT,15
      - REDSTONE,10

https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/requirements#requirement-types
Some of the action types you're trying to use in commands don't exist either, you should check: https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/actions

Something more like,

left_click_requirement:
  requirements:
    item_check:
      type: has item
      material: "REDSTONE"
      amount: 10