default: # Menu name
menu_conditions: # Menu conditions
1:
first: '%player_name%' # First value to compare
second: 'Neyran26' # Second value for comparison
operation: 'equals' # Comparison operator
# gate: "and"
origin: 1 0 0 # Start menu coordinates
y_scroll: true # Hotbar scroll detect
click_detect: true # LMB Click detect
closeable: true # Will it be possible to close the menu by pressing SHIFT + F
stand_spawn: false # Responsible for whether an armor stand will be created on which the player will be seated.
command_blacklist: # Blocks these commands from being executed in a specific menu.
- gamemode
- gamemode creative
permission: movementui.default_menu
enabledCoordinates: # Enabled coordinates for this menu
'1':
from:
x: 1
y: 0
z: 0
to:
x: 2
y: 0
z: 1
blockedCoordinates: # Banned coordinates for this menu
1:
from:
x: 1
y: 0
z: 1
to:
x: 1
y: 0
z: 1
'1': # Target coordinates
targetX: 1
targetY: 0
targetZ: 1
swap: 0 1 0 # When hovering over this tile, this parameter will move the player to other specified coordinates inside the navigation
commands: # Commands
1:
command: say hello # to get the player's name you can use the placeholder %player%
executionType: player # Command execution type - player/op/console
'2':
targetX: 2
targetY: 0
targetZ: 1
nextMenu: default 0 0 0 # Switch to another navigation menu. You can also specify the coordinates after the name; these coordinates are not required to be specified.
panel_conditions: # Conditions for the panel. If the condition is not met, the panel on these coordinates cannot be selected.
condition1:
first: "%player_name%" # First value to compare
second: "Notch" # Second value for comparison
operation: "equals" # Comparison operator
# gate: "and"
commands:
1:
command: say hi
executionType: player
2:
command: minecraft:give %player_name% diamond
executionType: console
conditions: # Conditions for executing a command
1:
first: '%player_level%' # First value to compare
second: '1' # Second value for comparison
operation: 'equals' # Comparison operator
# gate: "and"
'3':
targetX: 1
targetY: 0
targetZ: 1
teleport: true Auxiliary parameter if you need the game to teleport.
commands:
1:
command: tp 0 100 0
executionType: op
2:
command: mui closemenu
executionType: op
Conditions
conditions: # Conditions for executing a command
1:
first: '%player_level%' # First value to compare
second: '1' # Second value for comparison
operation: 'equals' # Comparison operator
gate: "and" # The default value is - and.
origin
Optional parameter. Start coordinates in menu.
y_scroll
An optional parameter.
Parameter that allows tracking hotbar scrolling by interpreting it into movement along the Y coordinate.
click_detect
An optional parameter.
Responsible for whether tracking of LMB pressing and interpreting it as pressing SPACE will be enabled.
stand_spawn
An optional parameter.
Responsible for whether an armor stand will be created on which the player will be seated to track keystrokes WASD, SHIFT, SPACE
closeable
An optional parameter.
By default, the parameter is true. If you set the value to false, you will not be able to exit the menu using SHIFT + F
command_blacklist
An optional parameter.
List of commands that the player cannot use while in the menu.
permissions
An optional parameter.
Allows you to specify the permissions that are needed to navigate to this menu.
teleport
An optional parameter.
An auxiliary parameter if the game needs to teleport. If the value is true, it removes the armor stand so that the player can be teleported.
commands
An optional parameter.
Allows you to specify commands that will be executed when you hit the corresponding navigation tile
command:
Parameter to specify the command to execute (to specify the player name use %player%)
executionType
Command execution type:
player - On behalf of the player.
op - On behalf of the player with operator rights.
console - On behalf of the server console.
nextMenu
Optional parameter.
Allows you to redirect the player to another menu.
ex. nextMenu: secondMenu
You can also specify coordinates after the menu name
ex. nextMenu: secondMenu 1 0 0
swap
Moves the player to the specified coordinates in the menu in the parameter