execute if score @s refresh_player_deaths matches 1 unless data storage vanilla_refresh_config:config config{death:1} run tellraw @a [{"translate": "","color": "white"},{"selector":"@s","color":"white"},{"translate": " survived ","color": "white"},"",{"score":{"name":"@s","objective":"refresh_player_d_hours"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_minutes"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_seconds"},"color": "white"},{"translate":" time since spawning into the world and now has a total of ","color": "white"},"",{"score":{"name":"@s","objective":"refresh_player_deaths","color": "white"},"color": "white"},{"translate": " death","color": "white"}]

execute unless score @s refresh_player_deaths matches 1 unless data storage vanilla_refresh_config:config config{death:1} run tellraw @a [{"translate": "","color": "white"},{"selector":"@s","color":"white"},{"translate": " survived ","color": "white"},"",{"score":{"name":"@s","objective":"refresh_player_d_hours"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_minutes"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_seconds"},"color": "white"},{"translate":" time since their last death and now has a total of ","color": "white"},"",{"score":{"name":"@s","objective":"refresh_player_deaths","color": "white"},"color": "white"},{"translate": " deaths","color": "white"}]



execute if score @s refresh_player_deaths matches 1 if data storage vanilla_refresh_config:config config{death:1} run tellraw @a [{"translate": "","color": "yellow"},{"selector":"@s","color":"green"},{"translate": " survived ","color": "gray"},"",{"score":{"name":"@s","objective":"refresh_player_d_hours"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_minutes"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_seconds"},"color": "white"},{"translate":" time since spawning into the world and now has a total of ","color": "gray"},"",{"score":{"name":"@s","objective":"refresh_player_deaths","color": "gray"},"color": "white"},{"translate": " death","color": "gray"}]

execute unless score @s refresh_player_deaths matches 1 if data storage vanilla_refresh_config:config config{death:1} run tellraw @a [{"translate": "","color": "yellow"},{"selector":"@s","color":"green"},{"translate": " survived ","color": "gray"},"",{"score":{"name":"@s","objective":"refresh_player_d_hours"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_minutes"},"color": "white"},{"translate": ":"},{"score":{"name":"@s","objective":"refresh_player_d_seconds"},"color": "white"},{"translate":" time since their last death and now has a total of ","color": "gray"},"",{"score":{"name":"@s","objective":"refresh_player_deaths","color": "gray"},"color": "white"},{"translate": " deaths","color": "gray"}]
