fz-survival-datapack/data/fz/functions/module/scoreboard/install.mcfunction

63 lines
2.2 KiB
Mcfunction
Raw Normal View History

2022-06-23 20:06:15 +08:00
# 调用者:#fz:module/scoreboard/install
2022-06-23 15:43:39 +08:00
2022-07-03 06:27:45 +08:00
## 源计分板
### 总榜
scoreboard objectives add fz.module.scoreboard.assign.general dummy
## 轮播
team add fz.module.scoreboard.display.carousel
## 创建显示计分板
###### 判据均为dummy便于升级维护
### 总榜
scoreboard objectives add fz.module.scoreboard.display.general dummy
team add fz.module.scoreboard.display.general
### 活跃度
scoreboard objectives add fz.module.scoreboard.display.activation dummy
team add fz.module.scoreboard.display.activation
### 飞行距离
scoreboard objectives add fz.module.scoreboard.display.aviating_distance dummy
team add fz.module.scoreboard.display.aviating_distance
### 抖M榜
scoreboard objectives add fz.module.scoreboard.display.damage_taken dummy
team add fz.module.scoreboard.display.damage_taken
### 死亡榜
scoreboard objectives add fz.module.scoreboard.display.death_count dummy
team add fz.module.scoreboard.display.death_count
### 挖掘榜
scoreboard objectives add fz.module.scoreboard.display.dig_count dummy
team add fz.module.scoreboard.display.dig_count
### 钓鱼榜
scoreboard objectives add fz.module.scoreboard.display.fishing_count dummy
team add fz.module.scoreboard.display.fishing_count
### 击杀榜
scoreboard objectives add fz.module.scoreboard.display.kill_count dummy
team add fz.module.scoreboard.display.kill_count
### 放置榜
2022-07-11 15:40:55 +08:00
scoreboard objectives add fz.module.scoreboard.display.placement_count dummy
team add fz.module.scoreboard.display.placement_count
### 交易榜
scoreboard objectives add fz.module.scoreboard.display.trade_count dummy
team add fz.module.scoreboard.display.trade_count
2022-06-23 15:43:39 +08:00
2022-07-26 07:57:04 +08:00
team add fz.module.scoreboard.fake
team add fz.module.scoreboard.shadow
team modify fz.module.scoreboard.fake prefix {"text": "假的"}
team modify fz.module.scoreboard.shadow prefix {"text": "挂机"}
## 标记为已安装
data modify storage fz:installed fz.module.scoreboard set value 1b
## 日志
2022-07-03 06:27:45 +08:00
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:计分板"}]