It is the simplest form, which has only two buttons and a description block. The buttons are a conditional choice of ‘yes’ or ’no’. The created form will be placed in the expression
last created form
command/modalform:trigger:createmodalformnamed"Modal form":setformcontentto"Please select one option"runonformclose:broadcast"closed"runonformopen:broadcast"opened"formbuttonnamed"I like skript!":broadcast"Thank you!!!"formbuttonnamed"I didnt like skript!":broadcast"USE DENIZEN INSTEAD!!!"broadcast"Just kidding, skript is the best"broadcast"If you use denizen, you are just wasting your time"openlastcreatedformtoplayer
modal form
Simple form
It is a form with buttons. There can be an unlimited number of buttons, in addition, the buttons can have images from the Internet. The created form will be placed in the expression
last created form
It is a form with any elements except buttons. This type of forms allows you to use sliders, switches, input fields, selection fields, etc. The processing of the form elements is carried out in the section on form result The created form will be placed in the expression
last created form
The button is a section, the code inside of which will be executed when you click on it. After clicking on the button, the form will be automatically closed (a feature of Bedrock forms).
Can only be used in
Modal form and
Simple form because these forms support button interactions. Using buttons in other forms may result in unexpected behavior or errors. The button with the image can only be used in
Simple form
The Modal form allows you to specify or retrieve a text description that provides context or instructions to the user. This description can be set during the creation of the form or modified later in an already created form. It is particularly useful for guiding users through the form’s purpose or actions they need to take. For more details, refer to the
creation section Modal form .
Creates an element in the form of a strip with a control in which the user can specify a value. Allows you to specify the minimum and maximum threshold of numbers, the initial value and the slider step.
Use this expression to get the player interacting with the form. For example, instead of using a variable like %player% to refer to the player, you can directly use this expression to ensure it references the player inside the form.