1.4
This commit is contained in:
@@ -8,6 +8,7 @@ scoreboard objectives add damageTaken minecraft.custom:minecraft.damage_taken
|
||||
scoreboard objectives add actCounter minecraft.custom:minecraft.play_one_minute
|
||||
scoreboard objectives add totalList dummy
|
||||
scoreboard objectives add activation dummy
|
||||
scoreboard objectives add botDeath deathCount
|
||||
####
|
||||
#编辑记分项目#
|
||||
scoreboard objectives modify digCounter displayname {"text":"挖掘榜","color":"gray"}
|
||||
@@ -17,7 +18,7 @@ scoreboard objectives modify tradingCounter displayname {"text":"PY榜","color":
|
||||
scoreboard objectives modify fishingCounter displayname {"text":"钓鱼榜","color":"blue"}
|
||||
scoreboard objectives modify damageTaken displayname [{"text":"奥利给榜","color":"yellow"},{"text":"(受伤害*10)","color":"gole"}]
|
||||
scoreboard objectives modify totalList displayname {"text":"统计总量","color":"light_purple"}
|
||||
scoreboard objectives modify activation displayname [{"text":"活跃度排行","color":"aqua"},{"text":"(小时)","color":"gold"}]
|
||||
scoreboard objectives modify activation displayname [{"text":"活跃度排行","color":"aqua"},{"text":"(小时)","color":"gold"}]
|
||||
####
|
||||
#安装工具项目#
|
||||
scoreboard objectives add diamond_pickaxe minecraft.used:minecraft.diamond_pickaxe
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#活跃度模块#
|
||||
execute as @a[tag=!carpetBot] if score @s actCounter matches 72000.. run function fz:score/activationcarry
|
||||
execute as @a[tag=carpetBot] run scoreboard players operation @s actCounter -= 1 1
|
||||
####
|
||||
#记分板循环#
|
||||
scoreboard players add scoreboard timeCounter 1
|
||||
@@ -75,6 +76,7 @@ execute if score 总活跃时间 totalActivation matches 1.. run scoreboard play
|
||||
#execute if score totalHurt totalHurt matches ..0 run function fz:score/totalnodisplay/damagetaken
|
||||
#execute if score totalActivation totalActivation matches ..0 run function fz:score/activation/totalnodisplay
|
||||
####
|
||||
#假人清理模块#
|
||||
execute as @a[tag=noCarpetBot] run function fz:score/removebottag
|
||||
#假人模块#
|
||||
execute as @a[tag=carpetBot,team=!fakePlayer] run function fz:score/runaddprefix
|
||||
execute as @a[tag=carpetBot,tag=!newCarpetBot] if score @s leaveGame matches 0 run function fz:score/runbotdead
|
||||
####
|
||||
@@ -0,0 +1,2 @@
|
||||
team join fakePlayer @s
|
||||
execute if entity @s[tag=newCarpetBot] run tellraw @a {"text":"↑假的"}
|
||||
@@ -0,0 +1,4 @@
|
||||
tag @s remove carpetBot
|
||||
team leave @s
|
||||
execute if score @s botDeath matches 1.. run scoreboard players operation @s deathCounter -= 1 1
|
||||
execute if score @s botDeath matches 1.. run scoreboard players reset @s botDeath
|
||||
@@ -8,6 +8,9 @@ scoreboard objectives setdisplay sidebar.team.blue
|
||||
scoreboard objectives setdisplay sidebar.team.yellow
|
||||
scoreboard objectives setdisplay sidebar.team.light_purple
|
||||
####
|
||||
#移除记分板#
|
||||
scoreboard objectives remove botDeath
|
||||
####
|
||||
#移除工具项目#
|
||||
scoreboard objectives remove diamond_pickaxe
|
||||
scoreboard objectives remove diamond_axe
|
||||
|
||||
Reference in New Issue
Block a user