• 欢迎加入MineBBS QQ讨论群:点击查看所有的官方讨论群
  • 我们将于近期对服务器进行迁移,服务可能中断至多2日。请各位安排好自己的访问计划,造成不便敬请谅解!
  • MineBBS入站考试已经上线!想要成为【正式会员】解锁更多功能吗?快来参与吧!【点我去看】
Skript-Floodgate-Api

Skript Skript-Floodgate-Api 2024-02-12

请登录后获取
版权类型
原创
版权链接
https://imc.re/

Skript-Floodgate-Api​


ZIMZAZA4の最新力作(bus

使用Skript脚本实现Floodgate接入API调用

如何安装?

  • 装上Skript, Skript-Reflect 插件
  • 将该脚本放入该放的文件夹 plugins/Skript/scripts/
  • 启动服务器
前置插件:

示例

Create a Form:

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"


Add something to a Simple Form:

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 {_Form}


Send Form:

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


Events:

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"
  • 喜欢
反馈: 狐风轩汐
作者
SummerGoro
价格
100.00金粒
下载
81
查看
2,361
首次发布
最后更新

评分

0.00 星 0 次评分

SummerGoro 的其他资源

后退
顶部 底部