11 lines
911 B
Mcfunction
11 lines
911 B
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
|
|
|
|
# remove depricated scoreboard objectives
|