Using Placeholders for Icon Menus #304


Open
  • pakuriii created this issue Aug 20, 2021

    It would be really nice if there was any way to use placeholders in defining the ItemStacks for a Menu!

    (Maybe there is one and I'm just really stupid...?)

     

    For example:

     

    'menu':
    command: /menu
    type: ICON_MENU
    iconmenu_title: 'Villager'
    iconmenu_size: 27
    iconmenu_commands:
     - '$arg1:$online,$arg2:0:%stayopen%:Example Item'

     - '1$PlayerDataFor%Pakuri%slotforstones%:STONE:0:%stayopen%:The second Item'

     

    When I type "/menu 4 EMERALD", I would get as many emeralds on the forth slot, as there are players online and a stone on a slot dependent on my playerdata.


To post a comment, please login or register a new account.