Switch Studio Wiki
SwitchSMP pages

SwitchSMP / Getting started

Custom Menus

Make your own menus and commands, such as /rules or /discord.

Where

Everything is in modules/menus/menus.yml: menus under menus: and simple commands under commands:. Run /menus reload after a change. New commands work right away, with no restart.

A menu

menus:
  rules:
    commands: [rules]
    permission: ""
    title: "<dark_gray>Server Rules"
    rows: 3
    fill: border
    items:
      general:
        slot: 13
        material: BOOK
        name: "<aqua><b>RULES"
        lore:
          - "<white>1. Be respectful."
          - "<white>2. No cheating."
        actions:
          - "[close]"
          - "[message] <green>Thanks for reading!"
OptionWhat it does
commandsCommands that open the menu. [] = only from other menus
permissionNeeded to open it. "" = everyone
fill / fillerFill empty slots: none, border or all, and with which item
open-actionsActions run when the menu opens
slot / slotsOne slot, or the same item on several slots
ownerFor PLAYER_HEAD: self, a player name, a placeholder or texture:<base64>
actionsRun on click. Leave it out and the item does nothing
right-click-actionsRun on right click instead

A command

commands:
  discord:
    aliases: [dc]
    permission: ""
    actions:
      - "[message] <click:open_url:'https://discord.gg/example'>discord.gg/example</click>"

Actions

ActionExample
[player][player] spawn runs a command as the player
[console][console] give <player> diamond 1
[message][message] <green>Hi <player>!
[broadcast][broadcast] <gold><player> read the rules!
[actionbar][actionbar] <yellow>Text
[title][title] <gold>Title;<gray>Subtitle
[sound][sound] entity.experience_orb.pickup 1 1
[menu][menu] media opens another menu
[close]Closes the menu

<player> works in every action. PlaceholderAPI placeholders work in [player], [console] and [sound].

Commands

CommandWhat it doesPermission
/menus listList the custom menus.switchsmp.menus.admin
/menus open <menu> <player>Open a custom menu for a player.switchsmp.menus.admin
/menus reloadReload modules/menus/menus.yml.switchsmp.menus.admin

© 2026 Switch Studio. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.