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 43
    • Issues 43
    • 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

SetCustomMenuButton · Changes

Page history
Create Skills/Mechanics/SetCustomMenuButton authored Aug 13, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 36 additions and 0 deletions
+36 -0
  • Skills/Mechanics/SetCustomMenuButton.md Skills/Mechanics/SetCustomMenuButton.md +36 -0
  • No files found.
Skills/Mechanics/SetCustomMenuButton.md 0 → 100644
View page @ 334c1bd7
## 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
```yaml
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
```
<!-- LINKS -->
[custom menu]: /Custom-Menus
\ No newline at end of file
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