前置
/scoreboard objectives add 特殊提示 dummy
/scoreboard objectives add 普通提示 dummy
/scoreboard objectives add 检测 dummy
配置
1.循环无条件:scoreboard players set @e[type=minecraft:player] 检测 0
2.连锁无条件:tag @a[scores={检测=1}] add 死亡
3.连锁无条件:scoreboard players set @a[scores={检测=1}] 检测 0
4.连锁无条件:scoreboard players set @e[type=minecraft:player,scores={检测=0}] 检测 1
指令
1.循环无条件:title @a[tag=死亡] title §c- 你失败了 -
2.连锁无条件:execute as @a[tag=死亡] at @s run playsound beacon.deactivate @s ~ ~ ~ 100 0.5
3.连锁无条件:execute as @a[tag=死亡] at @s run summon evocation_fang ~ ~ ~
4.连锁无条件:execute as @a[tag=死亡] at @s run scoreboard players random @s 普通提示 1 8
5.连锁无条件:execute as @a[scores={特殊提示=!1..},tag=死亡] run tellraw @a {"rawtext":[{"translate":"%%9","with":{"rawtext":[{"selector":"@s[tag=死亡,scores={普通提示=..1}]"},{"selector":"@s[tag=死亡,scores={普通提示=..2}]"},{"selector":"@s[tag=死亡,scores={普通提示=..3}]"},{"selector":"@s[tag=死亡,scores={普通提示=..4}]"},{"selector":"@s[tag=死亡,scores={普通提示=..5}]"},{"selector":"@s[tag=死亡,scores={普通提示=..6}]"},{"selector":"@s[tag=死亡,scores={普通提示=..7}]"},{"selector":"@s[tag=死亡,scores={普通提示=..8}]"},{"text":" "},{"text":" "},{"text":"帅气小伙 "},{"text":"参观悬崖的 "},{"text":"挖矿的 "},{"text":"尝试驯服狼的 "},{"text":"合成物品的 "},{"text":"在路上走着的 "}]}},{"selector":"@s"},{"translate":"%%9","with":{"rawtext":[{"selector":"@s[tag=死亡,scores={普通提示=..1}]"},{"selector":"@s[tag=死亡,scores={普通提示=..2}]"},{"selector":"@s[tag=死亡,scores={普通提示=..3}]"},{"selector":"@s[tag=死亡,scores={普通提示=..4}]"},{"selector":"@s[tag=死亡,scores={普通提示=..5}]"},{"selector":"@s[tag=死亡,scores={普通提示=..6}]"},{"selector":"@s[tag=死亡,scores={普通提示=..7}]"},{"selector":"@s[tag=死亡,scores={普通提示=..8}]"},{"text":" 飞升了"},{"text":" 停止了思考"},{"text":" 因为骨质疏松倒地不起"},{"text":" 尝试了信仰之跃"},{"text":" 挖到了岩浆"},{"text":" 被自己爱宠攻击"},{"text":" 在合成TNT时出现了意外"},{"text":" 踩到了石头绊倒了"}]}}]}
6.连锁无条件:execute as @a[scores={特殊提示=1..},tag=死亡] run tellraw @a {"rawtext":[{"translate":"%%9","with":{"rawtext":[{"selector":"@s[tag=死亡,scores={特殊提示=..1}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..2}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..3}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..4}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..5}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..6}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..7}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..8}]"},{"text":"§c小红猫狂热粉丝 "},{"text":"§6食王 "},{"text":"§2绿色玩家 "},{"text":"§7肝硬化制造者 "},{"text":"§4服主 "},{"text":"§b全服最帅的 "},{"text":"§d全服最萌的 "},{"text":"§e富可敌国的 "}]}},{"selector":"@s"},{"translate":"%%9","with":{"rawtext":[{"selector":"@s[tag=死亡,scores={特殊提示=..1}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..2}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..3}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..4}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..5}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..6}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..7}]"},{"selector":"@s[tag=死亡,scores={特殊提示=..8}]"},{"text":" 在和小红猫玩耍时被小红帽发现关进了小黑屋"},{"text":" 因为太受欢迎被玩家供给了腐竹"},{"text":" 因为太绿被当成树叶扔进了堆肥桶"},{"text":" 因为肝硬化导致飞升"},{"text":" 在极力狡辩自己不是腐竹无果后被服友打败"},{"text":" 在水边看到了自己的绝世容颜"},{"text":" 在照镜子的时候被自己萌到开花"},{"text":" 被他沉重的财富压垮了身体"}]}}]}
7.连锁无条件:scoreboard players add @a 特殊提示 0
8.连锁无条件:tag @a remove 死亡
使用
①普通提示模式:无需任何配置,只需要将前置所需要创建的计分板正确创建就行
②特殊提示模式:需设定特定玩家的“特殊提示”
计分板的分数进行设置
目录如下:
⒈小红猫狂热粉丝 xxx 在和小红猫玩耍时被小红帽发现关进了小黑屋
⒉食王 xxx 因为太受欢迎被玩家供给了腐竹
⒊绿色玩家 xxx 因为太绿被当成树叶扔进了堆肥桶
⒋肝硬化制造者 xxx 因为肝硬化导致飞升
⒌服主 xxx 在极力狡辩自己不是腐竹无果后被服友打败
⒍全服最帅的 xxx 在水边看到了自己的绝世容颜
⒎全服最萌的 xxx 在照镜子的时候被自己萌到开花
⒏富可敌国的 xxx 被他沉重的财富压垮了身体