Pintux Support
  • Welcome
  • BedrockGUI
    • Download & Installation
    • Commands & Permissions
    • Your First Menu
      • Simple
      • Modal
      • Custom
    • API
Powered by GitBook
On this page
  1. BedrockGUI
  2. Your First Menu

Simple

PreviousYour First MenuNextModal

Last updated 4 months ago

Simple Menu: A single screen with a title, description, and multiple buttons.

menu:
  test_simple:
    command: "test $1"
    server: Lobby
    permission: "bedrockgui.permission"
    type: SIMPLE
    title: "A simple title $1"
    description: "Long text to fit in the menu"
    buttons:
      button:
        text: "Some fancy text with  » %player_name% as placeholder"
        image: "https://geysermc.org/assets/images/geyser-88cf8a88a1c88cc983b4c44d6b75f7fe.png"
        onClick: "command version"
      without_click:
        text: "Some fancy text with  »  %player_name% as placeholder"
        image: "https://geysermc.org/assets/images/geyser-88cf8a88a1c88cc983b4c44d6b75f7fe.png"
      without_image:
        text: "Some fancy text with  »  %player_name% as placeholder"
        onClick: "open test $1"

How it works:

  1. You place a “menu” called test_simple in your config.

  2. It’s marked as type: SIMPLE, so it’s a basic single-page menu with multiple buttons.

  3. Each button can have:

    • text

    • image

  4. Description is what will be shown before the buttons

  5. Permission custom permission for this menu to be opened

  6. (Proxy Only) server define the server you want this menu to work on

onClick (the action to run when pressed) - see .

Actions