Translate & Advancement

This commit is contained in:
2024-11-28 23:12:43 +01:00
parent cb08afef4c
commit fb11a9e832
8 changed files with 65 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @a [{"text":"» ","color":"green"},{"text": "Datapack resources loaded successfully.","color": "#ffffff"}]
tellraw @a[tag=hc.debug] [{"text":"» ","color":"gray"},{"text":"If any issue occurs, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to reload the server.","color":"white"}]
tellraw @a [{"text":"» ","color":"green"},{"fallback": "Datapack resources loaded successfully.","translate": "hhost.minigame.init.reload","color": "#ffffff"}]
tellraw @a[tag=hc.debug] [{"text":"» ","color":"gray"},{"fallback":"If any issues occur, click ","translate": "hhost.minigame.init.reload_issue_01","color":"white"},{"fallback":"here","translate": "hhost.minigame.init.reload_issue_02","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent": {"action": "show_text","value": {"fallback": "You need to be an operator to use this.","translate": "hhost.minigame.init.reload_issue_hover","color": "#fc2003"}}},{"fallback":" to reload the server.","translate": "hhost.minigame.init.reload_issue_03","color":"white"}]
# create scoreboard objectives
scoreboard objectives add +hc.core dummy