Code (YAML):
open_command
:
"menu"
open_requirements:
type
:
"has_permission"
permission
:
"mapmenu.menu"
deny_actions
:
-
"[message] &cYou do not have permission to do this action"
button_order
:
-
"button1 button2"
-
"button3"
layers:
background:
type
:
"background"
texture
:
"main/main_background.png"
title:
type
:
"background"
texture
:
"main/map_menu_title.png"
position
:
"[20, 3]"
button1:
type
:
"button"
texture
:
"main/green_button.png"
position
:
"[2, 46]"
texture_outline
:
"main/selector.png"
position_outline
:
"[4, 52]"
actions:
actions
:
-
"[open_menu] stats"
button2:
type
:
"button"
texture
:
"main/blue_button.png"
position
:
"[65, 46]"
texture_outline
:
"main/selector.png"
position_outline
:
"[67, 52]"
actions:
actions
:
-
"[open_menu] time_menu"
button3:
type
:
"button"
texture
:
"main/yellow_button.png"
position
:
"[2, 66]"
texture_outline
:
"main/selector.png"
position_outline
:
"[4, 72]"
actions:
actions
:
-
"[open_menu] example"
text1:
type
:
"text"
text
:
"&aStats &bTime"
position
:
"[20, 51]"
text2:
type
:
"text"
text
:
"&eExample of moving"
position
:
"[20, 71]"