资源图标

LSE TPA for TiMENU for TiMENU 1.1.0+

完成注册/登录后下载
版权类型
原创
版权链接
http://81.71.38.231/?f=myProject%2FTiMENU%2F%E6%95%99%E7%A8%8B%2F%E8%A1%A8%E5%8D%95%E6%96%87%E4%BB%B6.md
Wiki/文档
http://81.71.38.231/?f=myProject%2FTiMENU
语言支持
中文(简体)
前置组件
TiMENU 1.1.0+ https://www.minebbs.net/resources/timenu.4449/
适配版本(基岩)
  1. 全版本
[MD] # TPA for TiMENU > * 注意: > 此文件依赖LLse插件TiMENU 1.1.0及以上版本 ## 留言 这是一个组表单Demo, 向您展示TiMENU强大的功能, 你可以借鉴和改变该Demo, 去制作属于你的小功能! ## 使用教程 1. 下载此`tpa.json`文件 2. 将此文件复制/剪切到 你的BDS根目录/plugins/TiMENU/forms 文件夹 即可使用命令`/menu open tpa`或者使用点击事件跳转到tpa打开此文件 ## 视频展示 (已转换成GIF) [/MD]
lv_0_20220825140056_CuteGIF_20220825_141033.gif

[MD] ## 文件内容 ```json [ { "type": "diy", "op": "false", "title": "TPA for TiMENU", "items": [ { "type": "player_dropdown", "title": "选择一位在线玩家", "assign": "${topl}" }, { "type": "dropdown", "title": "类型", "show": [ "tpa - 传送到该玩家", "tphere - 该玩家传送到这里" ], "items": [ "2", "3" ], "default": 0, "assign": "${type}" } ], "send": { "type": "eval", "run": "topl = mc.getPlayer(topl);topl.runcmd(\"menu open tpa:\" + type + \" {\\\"topl\\\":\\\"\"+ player.name + \"\\\"}\");" } }, { "type": "modal", "op": "false", "title": "你有一个tpa请求", "content": "玩家 ${topl} 请求传送到你这里", "button1": { "title": "允许", "onClick": { "type": "cmd", "run": "tp ${topl} ${player.name}" } }, "button2": { "title": "拒绝", "onClick": { "type": "playerCmd", "run": "tell ${topl} §c我拒绝了你的tpa请求" } } }, { "type": "modal", "op": "false", "title": "你有一个tphere请求", "content": "玩家 ${topl} 请求你传送到TA那里", "button1": { "title": "允许", "onClick": { "type": "cmd", "run": "tp ${player.name} ${topl}" } }, "button2": { "title": "拒绝", "onClick": { "type": "playerCmd", "run": "tell ${topl} §c我拒绝了你的tphere请求" } } } ] ``` [/MD]
作者
Cdm2883
下载
555
查看
1,876
首次发布
最后更新

评分

5.00 星 2 次评分

Cdm2883 的其他资源

最新评价

非常有用,好用
一直在用这个作者的菜单插件!功能很全且拓展性很高!无法想象这是一个使用菜单插件实现的功能!
后退
顶部 底部