bossbar.yml
# 你可以创建任意数量的boss栏部分
bossbar_1: ...
bossbar_2: ...bossbar_1:
# BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
color: YELLOWbossbar_1:
# "progress", "notched_6", "notched_10", "notched_12", "notched_20"
overlay: PROGRESSbossbar_1:
conditions:
condition_1:
type: permission
refresh-interval: 20 # 以刻位单位,多久检查一次玩家是否仍具有所需的权限
value:
- bossbar.show