Java servers; Bedrock compatibility is noted separately · 3 min read

Minecraft menus: working buttons and a reliable way back

Start your menu with one action that works, then add routes. For each card, pre-define the click result, refusal and “Back” button; icons will not fix the lost return path.

LonelyCraft editors · Updated

Desktop with computer and world Minecraft on screen
Illustration: desktop with a computer and world Minecraft on the screen. This is an artistic scene, not a snapshot of a specific server.

Check the CommandPanels release before copying the YAML

Download the appropriate file from author's page, install it on the stopped test Paper and check the version against the log. Below is a diagram of a modern CommandPanels Quick Start: command /pa and separate YAML for the panel. Old /cp-configs with external panels have a different format.

In plugins/CommandPanels/panels, create welcome.yml in UTF-8. The file name welcome will become the name of the panel; an extra folder or .yml.txt extension will interfere with loading.

Routes between the main menu, modes, card, lobby and help
Before registration, check the transitions in both directions; refusal preserves the path to help.Scroll the diagram horizontally.Open full-size diagram

Make one safe button

Save the YAML below, restart the test server normally and run /pa open welcome. Pressing PAPER should send a message and not buy or teleport anything. This is a short test of the schema version, loading file and button action.

title: 'Помощь новичку'
type: 'inventory'
rows: 1
layout:
  4:
    - 'help'
items:
  help:
    material: 'PAPER'
    name: 'Первый шаг'
    left-click:
      commands:
        - '[msg] Откройте страницу правил и выберите режим игры.'

Design a route before expanding the window

Write down the route table. For example: main → modes → mode card → lobby; help opens from the main page and the card, and “Back” returns you to the understandable previous level. Name the button according to its action: “How to play” and “Start round” perform different operations.

Publish access to the panel according to the rules of the established release and check without OP. Hiding a button does not replace the permission of the command itself. Executing from the console should also not turn any click into an administrative bypass.

ScreenClickRefusal/return
The main thingModesHelp is always available
Mode cardStartNot ready → explanation and “Back”
Purchase ConfirmationAmount and currencyInsufficient → no write-off
HelpSpecific Next StepBack to original section

Go through the same scenario in Java and Bedrock

On a regular account, open the menu, perform an action, go back, close Escape and find the entrance again. Repeat through every published source: command, NPC, hotbar item.

Inventory and Floodgate form are different types of panels. Do not transfer slot numbers to your phone as button numbers without checking. For paid action, experience double click, lack of money, cancel and full inventory. The price text must correspond to the transaction being confirmed.

Click, shift and drag require separate checks. Protect Java GUI Items.

Access to help is more important than the number of items on the first screen. Check out the beginner's first route.

Frequently asked questions

Why doesn't similar YAML from the old guide load?

The YAML syntax may be correct under a different plugin schema. Check the version of CommandPanels and an example of its exact format.

Do I need to enable commandpanels.* for the sake of menus?

This is too broad an access. Configure the specific user login and permissions for the desired edition.

Is it possible to use the same order of Java slots and Bedrock buttons?

There is no universal fit. The uniform and equipment have different structures; repeat the complete route on each edition's client.

Views: … · One view per browser per day

Was this useful?Total score: …

One reaction per browser. Click again to remove it, or choose the other reaction.

Sources and documentation

MinecraftMinecraft serveradministration

Read on

Minecraft Menu: Work Button and Reverse Route - LonelyCraft — Lonely Craft