RT
https://github.com/PlaceholderAP ... eholders#parseother
- ParseOther/papi ecloud download ParseOtherLets you parse any placeholder for another player.%parseother_{username}_{placeholder_without_percent_signs}%
You can use placeholders in place of username.
Make sure to include the {} brackets, as it won't work without them.


Neige 发表于 2023-7-10 12:22
https://github.com/PlaceholderAP ... eholders#parseother
我在制作查看其他信息菜单时,使用以下
%parseother_{{0}}_{playerpoints_points}%
无法显示正常数值
QingFengYa 发表于 2023-7-10 14:33
我在制作查看其他信息菜单时,使用以下
%parseother_{{0}}_{playerpoints_points}%
无法显示正常数值 ...
0那里去掉一对花括号
名副其实 发表于 2023-7-10 14:55
0那里去掉一对花括号
你不要瞎教,parseother变量必须带花括号才能生效,形如{Neige}
名副其实 发表于 2023-7-10 14:55
0那里去掉一对花括号
你可以复制一下菜单去试一下 能不能解析吧
- Title: '玩家: &f{0}'
- Events:
- Open:
- - condition: '$ utils.isPlayerOnline(vars("{0}"))'
- deny:
- - 'tell: &7玩家 &f{0} &7不在线或未在服务器注册过.'
- - 'sound: ENTITY_ITEM_BREAK-1-0'
- - 'return'
- list:
- - 'sound: BLOCK_CHEST_OPEN-1-0'
- - update
- Bindings:
- Commands: '(?i)profiles'
- Tasks:
- profileService:
- period: 15
- task:
- - condition: '$ utils.isPlayerOnline(vars("{0}"))'
- action: 'refresh: H;C;L;B;R;Z'
- deny:
- - 'tell: &7玩家 &f{0} &7不在线或未在服务器注册过.'
-
- - 'close'
- Layout:
- - '| H |'
-
- Icons:
-
- 'H':
- display:
- material: 'source:JS:utils.getEquipment(vars("{0}"), "HEAD")'
- icons:
- - condition: '$ !utils.hasEquipment(vars("{0}"), "HEAD")'
- display:
- name: '&f头部'
- material: Gray Stained Glass Pane