11 lines
757 B
Mcfunction
11 lines
757 B
Mcfunction
# --- 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"}]
|
|
|
|
# create scoreboard objectives
|
|
scoreboard objectives add +hc.core dummy
|
|
scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game
|
|
|
|
# remove depricated scoreboard objectives
|