Add files via upload
This commit is contained in:
@@ -15,31 +15,31 @@ execute if score scoreboard timeCounter matches 4800.. run scoreboard players se
|
||||
####
|
||||
#记分板开关#
|
||||
scoreboard players enable @a scoreSwitch
|
||||
execute if entity @a[scores={scoreSwitch=..-1},team=!displayScoresOff] run function fz:score/teams/displayscoresoff
|
||||
execute if entity @a[scores={scoreSwitch=1},team=!displayScoresOn] run function fz:score/teams/displayscoreson
|
||||
execute if entity @a[scores={scoreSwitch=2},team=!killCounter] run function fz:score/teams/killcounter
|
||||
execute if entity @a[scores={scoreSwitch=3},team=!digCounter] run function fz:score/teams/digcounter
|
||||
execute if entity @a[scores={scoreSwitch=4},team=!deathCounter] run function fz:score/teams/deathcounter
|
||||
execute if entity @a[scores={scoreSwitch=5},team=!tradingCounter] run function fz:score/teams/tradingcounter
|
||||
execute if entity @a[scores={scoreSwitch=6},team=!fishingCounter] run function fz:score/teams/fishingcounter
|
||||
execute if entity @a[scores={scoreSwitch=7},team=!damageTaken] run function fz:score/teams/damagetaken
|
||||
execute if entity @a[scores={scoreSwitch=8},team=!activation] run function fz:score/teams/activation
|
||||
execute if entity @a[scores={scoreSwitch=9},team=!totalList] run function fz:score/teams/totallist
|
||||
execute if entity @a[scores={scoreSwitch=10..}] run tellraw @a[scores={scoreSwitch=10..}] [{"text":"不存在编号为10及以上的记分板","color":"dark_red"}]
|
||||
execute as @a[scores={scoreSwitch=..-1},team=!displayScoresOff] run function fz:score/teams/displayscoresoff
|
||||
execute as @a[scores={scoreSwitch=1},team=!displayScoresOn] run function fz:score/teams/displayscoreson
|
||||
execute as @a[scores={scoreSwitch=2},team=!killCounter] run function fz:score/teams/killcounter
|
||||
execute as @a[scores={scoreSwitch=3},team=!digCounter] run function fz:score/teams/digcounter
|
||||
execute as @a[scores={scoreSwitch=4},team=!deathCounter] run function fz:score/teams/deathcounter
|
||||
execute as @a[scores={scoreSwitch=5},team=!tradingCounter] run function fz:score/teams/tradingcounter
|
||||
execute as @a[scores={scoreSwitch=6},team=!fishingCounter] run function fz:score/teams/fishingcounter
|
||||
execute as @a[scores={scoreSwitch=7},team=!damageTaken] run function fz:score/teams/damagetaken
|
||||
execute as @a[scores={scoreSwitch=8},team=!activation] run function fz:score/teams/activation
|
||||
execute as @a[scores={scoreSwitch=9},team=!totalList] run function fz:score/teams/totallist
|
||||
execute as @a[scores={scoreSwitch=10..}] run tellraw @a[scores={scoreSwitch=10..}] [{"text":"不存在编号为10及以上的记分板","color":"dark_red"}]
|
||||
scoreboard players set @a[scores={scoreSwitch=..-1}] scoreSwitch 0
|
||||
scoreboard players set @a[scores={scoreSwitch=1..}] scoreSwitch 0
|
||||
team join displayScoresOff @a[team=]
|
||||
####
|
||||
#添加工具计入挖掘量#
|
||||
execute if entity @a[scores={diamond_pickaxe=1..}] as @a[scores={diamond_pickaxe=1..}] run function fz:score/tools/diamond_pickaxe
|
||||
execute if entity @a[scores={iron_pickaxe=1..}] as @a[scores={iron_pickaxe=1..}] run function fz:score/tools/iron_pickaxe
|
||||
execute if entity @a[scores={stone_pickaxe=1..}] as @a[scores={stone_pickaxe=1..}] run function fz:score/tools/stone_pickaxe
|
||||
execute if entity @a[scores={diamond_axe=1..}] as @a[scores={diamond_axe=1..}] run function fz:score/tools/diamond_axe
|
||||
execute if entity @a[scores={iron_axe=1..}] as @a[scores={iron_axe=1..}] run function fz:score/tools/iron_axe
|
||||
execute if entity @a[scores={stone_axe=1..}] as @a[scores={stone_axe=1..}] run function fz:score/tools/stone_axe
|
||||
execute if entity @a[scores={diamond_shovel=1..}] as @a[scores={diamond_shovel=1..}] run function fz:score/tools/diamond_shovel
|
||||
execute if entity @a[scores={iron_shovel=1..}] as @a[scores={iron_shovel=1..}] run function fz:score/tools/iron_shovel
|
||||
execute if entity @a[scores={stone_shovel=1..}] as @a[scores={stone_shovel=1..}] run function fz:score/tools/stone_shovel
|
||||
execute as @a[scores={diamond_pickaxe=1..}] run function fz:score/tools/diamond_pickaxe
|
||||
execute as @a[scores={iron_pickaxe=1..}] run function fz:score/tools/iron_pickaxe
|
||||
execute as @a[scores={stone_pickaxe=1..}] run function fz:score/tools/stone_pickaxe
|
||||
execute as @a[scores={diamond_axe=1..}] run function fz:score/tools/diamond_axe
|
||||
execute as @a[scores={iron_axe=1..}] run function fz:score/tools/iron_axe
|
||||
execute as @a[scores={stone_axe=1..}] run function fz:score/tools/stone_axe
|
||||
execute as @a[scores={diamond_shovel=1..}] run function fz:score/tools/diamond_shovel
|
||||
execute as @a[scores={iron_shovel=1..}] run function fz:score/tools/iron_shovel
|
||||
execute as @a[scores={stone_shovel=1..}] run function fz:score/tools/stone_shovel
|
||||
####
|
||||
#计算总量#
|
||||
#给缓存记分板赋初始值
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=8},team=!activation] [{"text":"您已订阅"},{"text":"活跃度排行(小时)","color":"aqua"}]
|
||||
team join activation @a[scores={scoreSwitch=8},team=!activation]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"活跃度排行(小时)","color":"aqua"}]
|
||||
team join activation @s
|
||||
scoreboard objectives setdisplay sidebar.team.aqua activation
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=7},team=!damageTaken] [{"text":"您已订阅"},{"text":"老八的彻shuǒ","color":"yellow"}]
|
||||
team join damageTaken @a[scores={scoreSwitch=7},team=!damageTaken]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"老八的彻shuǒ","color":"yellow"}]
|
||||
team join damageTaken @s
|
||||
scoreboard objectives setdisplay sidebar.team.yellow damageTaken
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=4},team=!deathCounter] [{"text":"您已订阅"},{"text":"死亡榜","color":"dark_red"}]
|
||||
team join deathCounter @a[scores={scoreSwitch=4},team=!deathCounter]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"死亡榜","color":"dark_red"}]
|
||||
team join deathCounter @s
|
||||
scoreboard objectives setdisplay sidebar.team.dark_red deathCounter
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=3},team=!digCounter] [{"text":"您已订阅"},{"text":"挖掘榜","color":"gray"}]
|
||||
team join digCounter @a[scores={scoreSwitch=3},team=!digCounter]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"挖掘榜","color":"gray"}]
|
||||
team join digCounter @s
|
||||
scoreboard objectives setdisplay sidebar.team.gray digCounter
|
||||
@@ -1,2 +1,2 @@
|
||||
tellraw @a[scores={scoreSwitch=..-1},team=!displayScoresOff] [{"text":"您已退订记分板"}]
|
||||
team join displayScoresOff @a[scores={scoreSwitch=..-1},team=!displayScoresOff]
|
||||
tellraw @s [{"text":"您已退订记分板"}]
|
||||
team join displayScoresOff @s
|
||||
@@ -1,2 +1,2 @@
|
||||
tellraw @a[scores={scoreSwitch=1},team=!displayScoresOn] [{"text":"正在循环播放记分板"}]
|
||||
team join displayScoresOn @a[scores={scoreSwitch=1},team=!displayScoresOn]
|
||||
tellraw @s [{"text":"正在循环播放记分板"}]
|
||||
team join displayScoresOn @s
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=6},team=!fishingCounter] [{"text":"您已订阅"},{"text":"钓鱼榜","color":"blue"}]
|
||||
team join fishingCounter @a[scores={scoreSwitch=6},team=!fishingCounter]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"钓鱼榜","color":"blue"}]
|
||||
team join fishingCounter @s
|
||||
scoreboard objectives setdisplay sidebar.team.blue fishingCounter
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=2},team=!killCounter] [{"text":"您已订阅"},{"text":"击杀榜","color":"red"}]
|
||||
team join killCounter @a[scores={scoreSwitch=2},team=!killCounter]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"击杀榜","color":"red"}]
|
||||
team join killCounter @s
|
||||
scoreboard objectives setdisplay sidebar.team.red killCounter
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=9},team=!totalList] [{"text":"您已订阅"},{"text":"统计总量","color":"light_purple"}]
|
||||
team join totalList @a[scores={scoreSwitch=9},team=!totalList]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"统计总量","color":"light_purple"}]
|
||||
team join totalList @s
|
||||
scoreboard objectives setdisplay sidebar.team.light_purple totalList
|
||||
@@ -1,3 +1,3 @@
|
||||
tellraw @a[scores={scoreSwitch=5},team=!tradingCounter] [{"text":"您已订阅"},{"text":"交易榜","color":"green"}]
|
||||
team join tradingCounter @a[scores={scoreSwitch=5},team=!tradingCounter]
|
||||
tellraw @s [{"text":"您已订阅"},{"text":"交易榜","color":"green"}]
|
||||
team join tradingCounter @s
|
||||
scoreboard objectives setdisplay sidebar.team.green tradingCounter
|
||||
Reference in New Issue
Block a user