• MineBBS入站考试已经上线!想要成为【正式会员】解锁更多功能吗?快来参与吧!【点我去看】
BEMenuAPI

JE Plugins BEMenuAPI 2.0

Welcome! You have been invited by SummerGoro to join our community. Please click here to register.
Source of resources
Original
Copyright link
http://imc.re/
Applicable versions
已测试版本:1.12.2(其他自行测试)
Applicable platforms
Geyser互通服务器

本插件仅在MineBBS公布,禁止发布至其他网站,转载请标注原链接!



BEMenuAPI介绍


这是什么?


BEMenuAPI是国内IMC.RE团队的着重互通开发研究的开发者ZIMZAZA4用Java语言开发的一个API插件。其用途是基于【Skript】脚本语言插件 Floodgate 2.0 API实现基岩版原版菜单的API调用支持

使用效果截图:

62f445b7519a8.png


82ecf6948877c.png


8103ba11f26ee.png


示例


创建表单:

set {_Form} to simple form with title "hello"
set {_Form} to modal form with title "hello" and buttons "button1" "button2"
set {_Form} to custom form with title "hello"

为Simple表单添加按钮:

add button display "button" to form {_simpleform}
add button display "button with url image" with url icon "url" to form {_simpleform}
add button display "button with path image" with path icon "path" to form {_simpleform}

操作

add content "content" to {_Form}

发送表单:

send-form {_Form} with id "Form_id" to {_player}

事件:

on Click Form Button: (ModalForm and SimpleForm)

on click form button:
set {_id} to data "form-id"
set {_button} to data "button-id"
on Submit Custom Form: (CustomForm)

on submit custom form:
set {_id} to data "form-id"
set {_input} to input component id 0 of data "response"


前置插件


使用模板参考:BEForm 原生BE菜单调用模板
Author
SummerGoro
Discount price
150金粒
Discount end
Jan 6, 2024
Downloads
192
Views
4,183
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from SummerGoro

Share this resource

Latest updates

  1. 更新为Skript-Floodgate-Api

    BEMenuAPI正式更新为Skript-Floodgate-Api,完全由Skript脚本编写!