Guided UI Builder

Create a simple Minecraft UI menu without writing any code. Just fill in the fields below, generate the script, and add it to your addon.

Step 1: Menu Basics

What players type in chat to open your menu. Must start with a symbol like ! or ?
The title that appears at the top of your menu.
The text that appears below the title.

Step 2: Add Buttons

Step 3: Generate Your Script

How to Use This Page (Tutorial)

This tool creates a simple menu with buttons. Follow these steps:

  1. Fill in the Menu Basics:
    • Enter the command players will type, like !menu or ?kits.
    • Give your menu a title and a message.
  2. Add Your Buttons:
    • Click the "+ Add Button to Menu" button.
    • For each button, give it a label (the text players see).
    • Choose an action from the dropdown. This is what the button will do.
    • Fill in the "Action Details" box. For example, if you chose "Run a Command", you would type the command here (like give @s diamond).
    • Add as many buttons as you need. You can remove them with the "Remove" button.
  3. Generate the Script:
    • Once you're happy with your menu, click the big "Generate Script" button.
    • The complete JavaScript code will appear in the text box at the bottom.
  4. Add to Minecraft:
    • Copy the generated script.
    • In your addon's Behavior Pack, create a folder named `scripts`.
    • Inside the `scripts` folder, create a new file named `main.js`.
    • Paste the code you copied into `main.js` and save it.
    • Make sure your `manifest.json` file is set up for scripting. If you're not sure how, use the "Resource Generator" page from our main toolkit!