# Task Advancements
execute if score task bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"green","translate":"Task"}," ",{"translate":"Advancements:"}," ",{"translate":"All players"}]
execute if score task bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"green","translate":"Task"}," ",{"translate":"Advancements:"}," ",{"translate":"First player only"}]
execute if score task bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"green","translate":"Task"}," ",{"translate":"Advancements:"}," ",{"translate":"First player on each team"}]
execute unless score task bac_settings matches 1 unless score task bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_task_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"green","translate":"Task"}," ",{"translate":"Advancements:"}," ",{"translate":"Disabled"}]

# Goal Advancements
execute if score goal bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#75E1FF","translate":"Goal"}," ",{"translate":"Advancements:"}," ",{"translate":"All players"}]
execute if score goal bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#75E1FF","translate":"Goal"}," ",{"translate":"Advancements:"}," ",{"translate":"First player only"}]
execute if score goal bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#75E1FF","translate":"Goal"}," ",{"translate":"Advancements:"}," ",{"translate":"First player on each team"}]
execute unless score goal bac_settings matches 1 unless score goal bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_goal_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"#75E1FF","translate":"Goal"}," ",{"translate":"Advancements:"}," ",{"translate":"Disabled"}]

# Challenge Advancements
execute if score challenge bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"dark_purple","translate":"Challenge"}," ",{"translate":"Advancements:"}," ",{"translate":"All players"}]
execute if score challenge bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"dark_purple","translate":"Challenge"}," ",{"translate":"Advancements:"}," ",{"translate":"First player only"}]
execute if score challenge bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"dark_purple","translate":"Challenge"}," ",{"translate":"Advancements:"}," ",{"translate":"First player on each team"}]
execute unless score challenge bac_settings matches 1 unless score challenge bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"dark_purple","translate":"Challenge"}," ",{"translate":"Advancements:"}," ",{"translate":"Disabled"}]

# Super Challenge Advancements
execute if score super_challenge bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#FF2A2A","translate":"Super Challenges"},": ",{"translate":"All players"}]
execute if score super_challenge bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#FF2A2A","translate":"Super Challenges"},": ",{"translate":"First player only"}]
execute if score super_challenge bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"#FF2A2A","translate":"Super Challenges"},": ",{"translate":"First player on each team"}]
execute unless score super_challenge bac_settings matches 1 unless score super_challenge bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_super_challenge_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"#FF2A2A","translate":"Super Challenges"},": ",{"translate":"Disabled"}]

# Milestone Advancements
execute if score milestone bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"yellow","translate":"Milestone"}," ",{"translate":"Advancements:"}," ",{"translate":"All players"}]
execute if score milestone bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"yellow","translate":"Milestone"}," ",{"translate":"Advancements:"}," ",{"translate":"First player only"}]
execute if score milestone bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"yellow","translate":"Milestone"}," ",{"translate":"Advancements:"}," ",{"translate":"First player on each team"}]
execute unless score milestone bac_settings matches 1 unless score milestone bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_milestone_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"yellow","translate":"Milestone"}," ",{"translate":"Advancements:"}," ",{"translate":"Disabled"}]

# Hidden Advancements
execute if score hidden bac_settings matches 1 run tellraw @s ["",{"text":"[✔]","color":"green"}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"light_purple","translate":"Hidden"}," ",{"translate":"Advancements:"}," ",{"translate":"All players"}]
execute if score hidden bac_settings matches -1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"yellow"}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"light_purple","translate":"Hidden"}," ",{"translate":"Advancements:"}," ",{"translate":"First player only"}]
execute if score hidden bac_settings matches -2 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"aqua"}," ",{"text":"[❌]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_off"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to disable for all players","color":"gold"}]}}," ",{"color":"light_purple","translate":"Hidden"}," ",{"translate":"Advancements:"}," ",{"translate":"First player on each team"}]
execute unless score hidden bac_settings matches 1 unless score hidden bac_settings matches -2..-1 run tellraw @s ["",{"text":"[✔]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_on"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for all players","color":"gold"}]}}," ",{"text":"[/]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable only for the first player to get an advancement","color":"gold"}]}}," ",{"text":"[O]","color":"gray","click_event":{"action":"run_command","command":"/function blazeandcave:config/msg_hidden_first_team"},"hover_event":{"action":"show_text","value":["",{"translate":"Click to enable for the first player on each team","color":"gold"}]}}," ",{"text":"[❌]","color":"red"}," ",{"color":"light_purple","translate":"Hidden"}," ",{"translate":"Advancements:"}," ",{"translate":"Disabled"}]

# Notes: 'Advancement Legend' is affected by the setting of Milestone advancements.
