Menus config
Setting up the menus plugin config
All parameters
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: opConditions
origin
y_scroll
click_detect
stand_spawn
closeable
command_blacklist
permissions
teleport
commands
command:
executionType
nextMenu
swap
Operators:
Gates:
Extra Support?
Last updated