Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicRPG MythicRPG
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Wiki
    • Skills
    • Mechanics
  • SetCustomMenuButton

Last edited by Lxlp May 06, 2025
Page history

SetCustomMenuButton

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.

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
Clone repository

MythicRPG

  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Spells
    • Learning
    • Casting
    • Reagents
  • Archetypes
    • Leveling
    • Talents
    • Professions
    • Boosters
  • Currencies
  • Custom Commands
  • Custom Menus
  • Waypoints
Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions
Placeholders
  • Placeholders