Mechanic

SetCustomMenuButton

Opens a custom menu

Configuration Fields (2)

NameTypeDefaultDescription
slot
s
PlaceholderInt0The menu slot index to update
icon
i
PlaceholderStringdefaultThe icon key to place in the target slot

Examples & Notes

Examples

MyCustomMenu:
  Display: "My Custom Menu"
  Size: 27
  Schema:
    - '0 0 0 0 0 0 0 0 0'
    - '0 0 0 0 B 0 0 0 0'
    - '0 0 0 0 0 0 0 0 0'
  Icons:
    TEST_BUTTON:
      Mapping: B
      Material: GOLD_INGOT
      Model: 4
      Display: 'Test'
      Skills:
      - setcustommenubutton{slot=11;icon=DYNAMIC_BUTTON}
    DYNAMIC_BUTTON:
      Material: IRON_SWORD
      Model: 100
Community-maintained documentation for the Mythic plugin ecosystem.