- 版权类型
- 原创
- 版权链接
- #
- 语言支持
- 中文(简体)
- 前置组件
- 手机要python编译器
安卓应用商店直接搜(白底绿字)
苹果下这个:https://itunes.apple.com/app/id1397406775?mt=8
电脑直接双击exe
支持自定义记分板名字自定义首末项分数可以选execute语法版本,并且输入错数字自动补全,可以无限菜单项数(理论上)
亿条简简单单的指令
execute as @a[scores={a=1..100}] at @s run titleraw @s actionbar {"rawtext":[{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..99}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..98}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..97}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..96}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..95}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..94}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..93}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..92}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..91}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..90}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..89}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..88}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..87}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..86}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..85}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..84}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..83}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..82}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..81}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..80}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..79}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..78}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..77}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..76}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..75}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..74}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..73}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..72}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..71}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..70}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..69}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..68}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..67}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..66}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..65}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..64}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..63}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..62}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..61}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..60}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..59}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..58}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..57}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..56}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..55}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..54}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..53}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..52}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..51}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..50}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..49}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..48}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..47}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..46}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..45}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..44}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..43}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..42}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..41}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..40}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..39}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..38}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..37}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..36}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..35}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..34}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..33}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..32}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..31}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..30}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..29}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..28}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..27}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..26}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..25}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..24}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..23}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..22}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..21}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..20}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..19}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..18}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..17}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..16}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..15}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..14}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..13}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..12}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..11}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..10}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..9}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..8}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..7}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..6}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..5}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..4}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..3}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..2}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=1..1}]"},{"text":"1"},{"text":"2"}]}},{"text":"3"}]}},{"text":"4"}]}},{"text":"5"}]}},{"text":"6"}]}},{"text":"7"}]}},{"text":"8"}]}},{"text":"9"}]}},{"text":"10"}]}},{"text":"11"}]}},{"text":"12"}]}},{"text":"13"}]}},{"text":"14"}]}},{"text":"15"}]}},{"text":"16"}]}},{"text":"17"}]}},{"text":"18"}]}},{"text":"19"}]}},{"text":"20"}]}},{"text":"21"}]}},{"text":"22"}]}},{"text":"23"}]}},{"text":"24"}]}},{"text":"25"}]}},{"text":"26"}]}},{"text":"27"}]}},{"text":"28"}]}},{"text":"29"}]}},{"text":"30"}]}},{"text":"31"}]}},{"text":"32"}]}},{"text":"33"}]}},{"text":"34"}]}},{"text":"35"}]}},{"text":"36"}]}},{"text":"37"}]}},{"text":"38"}]}},{"text":"39"}]}},{"text":"40"}]}},{"text":"41"}]}},{"text":"42"}]}},{"text":"43"}]}},{"text":"44"}]}},{"text":"45"}]}},{"text":"46"}]}},{"text":"47"}]}},{"text":"48"}]}},{"text":"49"}]}},{"text":"50"}]}},{"text":"51"}]}},{"text":"52"}]}},{"text":"53"}]}},{"text":"51"}]}},{"text":"55"}]}},{"text":"56"}]}},{"text":"57"}]}},{"text":"58"}]}},{"text":"59"}]}},{"text":"60"}]}},{"text":"61"}]}},{"text":"62"}]}},{"text":"63"}]}},{"text":"64"}]}},{"text":"65"}]}},{"text":"66"}]}},{"text":"67"}]}},{"text":"68"}]}},{"text":"69"}]}},{"text":"70"}]}},{"text":"71"}]}},{"text":"72"}]}},{"text":"73"}]}},{"text":"74"}]}},{"text":"75"}]}},{"text":"76"}]}},{"text":"77"}]}},{"text":"78"}]}},{"text":"79"}]}},{"text":"80"}]}},{"text":"81"}]}},{"text":"82"}]}},{"text":"83"}]}},{"text":"84"}]}},{"text":"85"}]}},{"text":"86"}]}},{"text":"87"}]}},{"text":"88"}]}},{"text":"89"}]}},{"text":"90"}]}},{"text":"91"}]}},{"text":"92"}]}},{"text":"93"}]}},{"text":"94"}]}},{"text":"95"}]}},{"text":"96"}]}},{"text":"97"}]}},{"text":"98"}]}},{"text":"99"}]}},{"text":"100"}]}}]}
[HEADING=]使用文档[/HEADING]
指令上的概念:
计分板:一个记录玩家分数的东西
计分板有一个总的名字,玩家,和玩家对应的分数
选择器的scores标签:
@a[scores={计分板名字=计分板起点分数..计分板终点分数}]代表所有“计分板名字”这个计分板内自己的分数属于[计分板起点分数,计分板终点分数]这个区间的玩家
指令titleraw:可以发送json文本到玩家屏幕(中央title,中央偏下subtitlt,悬浮黑底窗口actionbar)的指令
[HEADING=]如何让输出的指令显示在游戏?[/HEADING]
放上如下所示的几个命令方块:
[MD]
cb//scoreboard objectives add 计分板名字 dummy
rfa//execute .............(输出的指令)
rfa//scoreboard players set @a[scores={计分板名字=首项分数+项数}] 计分板名字 首项分数
rfa//execute as @e[type=snowball] at @s run scoreboard players add @p[r=2] 计分板名字 1//换成旧语法把as, at @s run删了
cta//kill @e[type=snowball]
cb//scoreboard players set @s 计分板名字 首项分数//接下来丢雪球就能用了!
[/MD]
电脑:
操作系统要求windows7+
下载"电脑版.zip"
双击.exe后缀的文件运行(就2个文件不会有人点错吧)
首项分数是你用作显示的计分板的第一种显示情况对应的分数,只要填数字就行了,会自动化整,支持小数负数,但不能填字符串
(建议写1以上因为计分板默认分数是0)
[MD]
nd=int(float(input("首项分数:")))
print("首项分数设置为:",nd,"\n请输入菜单的项数")
ndd=str(nd)
[/MD]
于是我打了一个114514,按回车键提交了信息
接下来是项数
项数意思是你这个菜单有几种显示情况
接下来是计分板名字(建议英文)和选择新旧语法(新语法1.19.10开实验或者1.19.50+强制)
最后会出现写每一项内容
tips:电脑可以按上箭头重复上一个输出
[HEADING=]成果展示[/HEADING]
execute as @a[scores={a=114514..114523}] at @s run titleraw @s actionbar {"rawtext":[{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114522}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114521}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114520}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114519}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114518}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114517}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114516}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114515}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114514}]"},{"text":"xxxxxxxxxx"},{"text":"oxxxxxxxxx"}]}},{"text":"ooxxxxxxxx"}]}},{"text":"oooxxxxxxx"}]}},{"text":"ooooxxxxxx"}]}},{"text":"oooooxxxxx"}]}},{"text":"ooooooxxxx"}]}},{"text":"oooooooxxx"}]}},{"text":"ooooooooxx"}]}},{"text":"ooooooooox"}]}}]}
使用方法:(execute新语法,老语法玩家自行删了"as" "at @s" 和"run")
cb//scoreboard objectives add a dummy
rfa//execute as @a[scores={a=114514..114523}] at @s run titleraw @s actionbar {"rawtext":[{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114522}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114521}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114520}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114519}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114518}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114517}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114516}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114515}]"},{"translate":"%%2","with":{"rawtext":[{"selector":"@s[scores={a=114514..114514}]"},{"text":"xxxxxxxxxx"},{"text":"oxxxxxxxxx"}]}},{"text":"ooxxxxxxxx"}]}},{"text":"oooxxxxxxx"}]}},{"text":"ooooxxxxxx"}]}},{"text":"oooooxxxxx"}]}},{"text":"ooooooxxxx"}]}},{"text":"oooooooxxx"}]}},{"text":"ooooooooxx"}]}},{"text":"ooooooooox"}]}}]}
rfa//scoreboard players set @a[scores={a=114524}] a 114514
rfa//execute as @e[type=snowball] at @s run scoreboard players add @p[r=2] a 1//换成旧语法把as, at @s run删了
cta//kill @e[type=snowball]
cb//scoreboard players set @s a 114514//接下来丢雪球就能用了!
(6,输入指令过长)