小小々~
本帖最后由 小小々~ 于 2022-2-9 15:26 编辑

大佬们,我把tr菜单从2.0.8换到了3.1.3就出现了下面的这个问题
配置是这样的
- 'Title: <title=&c请确保背包有足够的空位 &a需要 &e6格 >_||_Break:<Requirement: %player_empty_slots% < 6>'
- 'Title: <title=&c您的点卷不足!>_||_Break:<Requirement: %playerpoints_points% < 4300>'

然后控制台就会显示
[TrMenu] Unexpected exception while parsing kether shell:Line 1 of block "main": def main = { %player_empty_slots%Unknown action %player_empty_slots%

[TrMenu] Unexpected exception while parsing kether shell:Line 1 of block "main": def main = { %playerpoints_points%Unknown action %playerpoints_points%


这两个是另外两个判定
condition: '"%luckperms_check_permission_user.ceo%" == "yes"'

condition: '"%luckperms_expiry_time_trmenu.ceo.claimed%" > "0"'


[TrMenu] Unexpected exception while parsing kether shell:Line 1 of block "main": def main = { %luckperms_check_permission_user.ceo%Unknown action %luckperms_check_permission_user.ceo%


[TrMenu] Unexpected exception while parsing kether shell: Line 1 of block "main": def main = { %luckperms_expiry_time_trmenu.ceo.claimed% Unknown action %luckperms_expiry_time_trmenu.ceo.claimed%


这些判定在2.0.8没啥问题,到3.1.3就会显示格式错误.,我看了一下文档还是不太了解,麻烦大佬帮我解决一下

幽梦琉璃鱼
check papi *"%luckperms_check_permission_user.ceo%" == *"yes"
同理非必要不建议v2更v3
或者重写菜单

小小々~
幽梦琉璃鱼 发表于 2022-2-9 16:27
check papi *"%luckperms_check_permission_user.ceo%" == *"yes"
同理非必要不建议v2更v3
或者重写菜单

那个判定点券的要怎么写呀,这个权限的倒是会了

小小々~
幽梦琉璃鱼 发表于 2022-2-9 16:27
check papi *"%luckperms_check_permission_user.ceo%" == *"yes"
同理非必要不建议v2更v3
或者重写菜单

ok 会了,感谢大佬