HHGames/data/herohost/function/init.mcfunction
2024-12-04 13:52:42 +01:00

16 lines
1.2 KiB
Mcfunction

# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
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
scoreboard objectives add +hc.locked dummy
scoreboard objectives add +hc.warp trigger
# [ WIP ] scoreboard objectives add +hc.currency dummy
# [ WIP ] scoreboard objectives add +hc.currency.add dummy
# [ WIP ] scoreboard objectives add +hc.currency.remove dummy
# remove depricated scoreboard objectives