scoreboard players set $game lang 1
data modify storage rdi setting.language set value "English"

data modify storage rdi mode.fast set value "§d§lFast "
data modify storage rdi mode.slow set value "§a§lSlow "
data modify storage rdi mode.custom set value "§e§lCustom "
data modify storage rdi mode.select set value "§fMode (Close to select)"

data modify storage rdi display.bossbar set value "§7§lRandom §fRefresh"
data modify storage rdi display.fast set value "§d§lFast §f§lMode. §fHurry up to start your speedpass!"
data modify storage rdi display.slow set value "§a§lSlow §f§lMode. §fStart your long-term development!"
data modify storage rdi display.custom set value "§e§lCustom §f§lMode."
data modify storage rdi tip.fast set value "§7§oThe more players, the faster refresh (up to 10 sec)."
data modify storage rdi tip.slow set value "§7§oThe more players, the faster refresh (up to 30 sec)."

data modify storage rdi custom.set set value "Refresh interval set to"
data modify storage rdi custom.error.cd set value "Value must be ≥ 1"
data modify storage rdi custom.error.mode set value "Only §eCustom §rmode can set this"

execute if score $game init matches 1 run title @a actionbar "Language set to §b§lEnglish"
