HHGames/data/herohost/function/init.mcfunction

11 lines
911 B
Mcfunction
Raw Normal View History

2023-09-15 19:52:54 +02:00
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
2024-11-29 03:26:36 +01:00
tellraw @a [{"text":"» ","color":"green"},{"translate": "hhost.minigame.reload","fallback": "Datapack resources loaded successfully.","color": "#ffffff"}]
tellraw @a[tag=hc.debug] [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.reload_issue","fallback":"If any issues occur, click %s to reload the server.","with":[{"translate":"hhost.minigame.here","fallback":"here","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent":{"action":"show_text","contents":[{"translate":"hhost.minigame.operator_warning","fallback":"You need to be an operator to use this.","color":"red"}]}}],"color":"white"}]
# create scoreboard objectives
scoreboard objectives add +hc.core dummy
scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game
# remove depricated scoreboard objectives