Modal
Modal Menu: A single screen with a title, content panel / description, and only 2 buttons.
menu:
test_modal:
type: MODAL
server: Lobby
title: "Modal test $1"
description: "Something here to write"
buttons:
bottone_1:
text: "Your_name » %player_name%"
onClick: "command say hi $1"
bottone_2:
text: "Other » thing"
onClick: "command say hello $1"
How it works:
You place a “menu” called
test_modal
in your config.It’s marked as
type: MODAL
, so it’s a basic single-page menu with only 2 buttons.Each button can have:
text
onClick
(the action to run when pressed) - see Actions.
Description
is what will be shown on the main content panelPermission
custom permission for this menu to be opened(Proxy Only)
server
define the server you want this menu to work on
Last updated