Invero的meta怎么写啊,比如说我想写一个点击后十秒不能再点击的按钮(不要luckperms写)
trmenu的写法是这样的
'主城':
display:
material: IRON_NUGGET{model-data=10004}
name: '&b点击返回 &d&l沫の凌 &b村落'
lore: '&c丢弃键返回 &a重生点'
actions:
all:
- 'op: spawn'
- 'set-meta: 主城传送 true'
- 'set-meta: 主城传送 false {Delay=200}'
- 'reset'
- 'open: 菜单'
icons:
- condition: 'check &主城传送 is *true'
display:
name: '&c传送冷却中'
material: 'barrier'
我Invero这样写始终不行
'主城':
material: IRON_NUGGET
model: 10004
name: '&c&lCLICK TP TO SPAWN'
sub:
if: print meta get zccs to true
material: barrier
name: '&c传送冷却中'
action:
dev:
- menu close
- tell "&c冷却中"
action:
left:
- command spawn
- meta set 'zccs' to 'true'
- delay 200
- meta del 'zccs'
实在是不会写来个大佬帮帮忙吧
trmenu的写法是这样的
'主城':
display:
material: IRON_NUGGET{model-data=10004}
name: '&b点击返回 &d&l沫の凌 &b村落'
lore: '&c丢弃键返回 &a重生点'
actions:
all:
- 'op: spawn'
- 'set-meta: 主城传送 true'
- 'set-meta: 主城传送 false {Delay=200}'
- 'reset'
- 'open: 菜单'
icons:
- condition: 'check &主城传送 is *true'
display:
name: '&c传送冷却中'
material: 'barrier'
我Invero这样写始终不行
'主城':
material: IRON_NUGGET
model: 10004
name: '&c&lCLICK TP TO SPAWN'
sub:
if: print meta get zccs to true
material: barrier
name: '&c传送冷却中'
action:
dev:
- menu close
- tell "&c冷却中"
action:
left:
- command spawn
- meta set 'zccs' to 'true'
- delay 200
- meta del 'zccs'
实在是不会写来个大佬帮帮忙吧
这种付费闭源的插件,要别人回答相关问题最好把能公开的教程发出来
我的建议是presist+sleep方案
FireworkPolymer 发表于 2023-7-13 14:57
这种付费闭源的插件,要别人回答相关问题最好把能公开的教程发出来
https://legacy.invero.fining.io/docs/advance/basic/kether
'主城':
material: IRON_NUGGET
model: 10004
name: '&c&lCLICK TP TO SPAWN'
action:
menu close
command spawn
ctx set lq to true
sleep 10s
ctx del lq
sub:
if: check &lq == true
material: barrier
name: '&c传送冷却中'
action:
menu close
tell "&c冷却中"
material: IRON_NUGGET
model: 10004
name: '&c&lCLICK TP TO SPAWN'
action:
menu close
command spawn
ctx set lq to true
sleep 10s
ctx del lq
sub:
if: check &lq == true
material: barrier
name: '&c传送冷却中'
action:
menu close
tell "&c冷却中"
xiuheng 发表于 2023-7-18 01:32
看wiki'主城':
material: IRON_NUGGET
model: 10004
无用,无将图标改为屏障的效果