HHGames/data/herohost/function/init.mcfunction

11 lines
1.0 KiB
Mcfunction

# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
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
scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game
# remove depricated scoreboard objectives