Custom
Last updated
Last updated
Custom Menu: A single complex screen with a title, description and components.
type: CUSTOM
– Declares you have a multi-component form. Each component can be an input, slider, dropdown, or toggle.
Components are added under components:
. Each component has:
A unique key (like name_input
, age_slider
).
A type (input, slider, dropdown, toggle).
Properties (e.g., text
, placeholder
, default
, etc.).
An optional action
(like "command say Hello $1"
) that runs after the user completes the form, using that component’s value - see Actions.
Global actions listed under global_actions:
are executed after the form is submitted, and can reference each component by "$componentKey"
. For example, "$name_input"
is replaced with the user’s typed name.
Description
is what will be shown before the buttons
Permission
custom permission for this menu to be opened
(Proxy Only) server
define the server you want this menu to work on