Set Custom Menu Button

Description

Sets a specific slot of the opened custom menu to the specified button.
Will work as long as the player has an opened custom menu, even if it's not casted from within the menu itself.

This feature requires either MythicMobs Premium or MythicRPG to be used!

Attributes

Attribute Aliases Description Default
slot s The slot to modify 0
icon i The button to set on the slot default

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
Updated Aug 19, 2026