#Using EI items in DeluxeMenus

1 messages · Page 1 of 1 (latest)

unborn dust
#

Is it possible to use items from EI in the DeluxeMenus menu?

#

I need to be able to buy items in the DeluxeMenus menu for an item from EI

#
  'leather':
    material: hdb-51743
    slot: 11
    priority: 1
    update: true
    hide_attributes: false
    display_name: '&6Кожаный рюкзак'
    lore:
    - '&aРесурсы для крафта:'
    - '&a- Шёлк: 1'
    - '&f'
    - '&b[ЛКМ] Чтобы скрафтить'
    left_click_requirement:
      requirements:
        item_check:
          type: has item
          material: "An item from EI"
          amount: 1
          deny_commands:
          - '[message] &c&lУ вас не достаточно предметов для крафта'
    left_click_commands:
      - '[console] fancybags give %player_name% 1'
      - '[message] &a&lВы успешно создали "&eКожаный рюкзак"'
      - '[console] ei take %player_name% cloth 1'```
#

The problem is only in this place. DeluxeMenus does not accept just the item id in EI.

wet basinBOT
#
FAQ Answer:

CheckItem NBT Tutorial
Check out [this tutorial](#1071634786310967296 message) for information on how to check and remove items
with specific nbt data from a player via the CheckItem Expansion

unborn dust
#
    material: hdb-51743
    slot: 11
    priority: 1
    update: true
    hide_attributes: false
    display_name: '&6Кожаный рюкзак'
    lore:
    - '&aРесурсы для крафта:'
    - '&a- Шёлк: 1'
    - '&f'
    - '&b[ЛКМ] Чтобы скрафтить'
    left_click_requirement:
      requirements:
        haskey:
          type: string equals
          input: '%checkitem_nbtstrings:executableitems:ei-id=cloth,amt:1%'
          output: 'yes'
          deny_commands:
          - '[message] &c&lУ вас не достаточно предметов для крафта'
    left_click_commands:
      - '[console] fancybags give %player_name% 1'
      - '[message] &a&lВы успешно создали "&eКожаный рюкзак"'
      - '[console] ei take %player_name% cloth 1'```
#

I did as it says in the FAQ. But even when I have an item, the plugin outputs deny_commands

carmine tide
#

can you send a picture of what this responds with?

To view the information of an item, hold it in your main hand and type /data get entity @s SelectedItem

carmine tide
#

yes, you forgot to include the PublicBukkitValues..

#

@unborn dust

unborn dust
#
    material: hdb-51743
    slot: 11
    priority: 1
    update: true
    hide_attributes: false
    display_name: '&6Кожаный рюкзак'
    lore:
    - '&aРесурсы для крафта:'
    - '&a- Шёлк: 1'
    - '&f'
    - '&b[ЛКМ] Чтобы скрафтить'
    left_click_requirement:
      requirements:
        haskey:
          type: string equals
          input: '%checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=cloth%'
          output: 'yes'
          deny_commands:
          - '[message] &c&lУ вас не достаточно предметов для крафта'
    left_click_commands:
      - '[console] fancybags give %player_name% 1'
      - '[message] &a&lВы успешно создали "&eКожаный рюкзак"'
      - '[console] ei take %player_name% cloth 1'```
#

It doesn't work anyway.

carmine tide
#

hmm

#

/papi parse me %checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=cloth%

#

what does that return

#

@unborn dust

unborn dust
carmine tide
#

you need to install the checkitem expansion

wet basinBOT
#
FAQ Answer:

Command:

/papi ecloud download checkitem
/papi reload

Manual Download:
Download
Click here for more information on how to use the CheckItem Expansion.
And click here for the CheckItem wiki with DeluxeMenus example menus.

carmine tide
#

@unborn dust

unborn dust
#

Thanks a lot, everything is working now.