update 2.0 files

This commit is contained in:
MapleDust
2020-11-27 00:27:49 +08:00
parent 45d36541ca
commit 1013cd1590
104 changed files with 3154 additions and 0 deletions
@@ -0,0 +1,2 @@
#将在线时间榜显示给轮播计分板的队伍
scoreboard objectives setdisplay sidebar.team.gold activation
@@ -0,0 +1,9 @@
#计算在线时间和总榜
#判断条件用于排除地毯小人
execute unless score @s carpetBot matches 1 run scoreboard players operation @s activation += 1 calculator
execute unless score @s carpetBot matches 1 run scoreboard players operation 线(h) activation += 1 calculator
execute unless score @s carpetBot matches 1 run scoreboard players operation 线(h) totalList += 1 calculator
#重置玩家计时器
scoreboard players reset @s actimeCounter
#重置触发该函数的成就
advancement revoke @s only fz:scoreboards/activation
@@ -0,0 +1,3 @@
#主函数给在线玩家的计时器1s+1
scoreboard players add @a actimeCounter 1
schedule function fz:scoreboards/activation/main 1s