HeroChris
c13825e29e
- 2 New advancements for the locked interaction. - Removed 2 default folder, crafting recipes and loot tables
10 lines
1.2 KiB
Mcfunction
10 lines
1.2 KiB
Mcfunction
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
|
|
|
|
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome_back","fallback":"Welcome back %s to the %s server!","with":[{"selector":"@s","color":"yellow"},{"text":"H","color":"#fa6a52","extra":[{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"}]}],"color":"white"}]
|
|
tellraw @s[tag=hc.debug] [{"text":"» ","color":"red"},{"translate":"hhost.minigame.debug_warning","fallback":"You are still in debug mode, click %s to disable it.","with":[{"translate":"hhost.minigame.here","fallback":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent":{"action":"show_text","contents":[{"translate":"hhost.minigame.operator_warning","fallback":"You need to be an operator to use this.","color":"red"}]}}],"color":"white"}]
|
|
execute at @s run playsound minecraft:block.amethyst_block.step master @s ~ ~ ~ 0.7 0.7
|
|
|
|
# tp player
|
|
|
|
# reset player score
|
|
scoreboard players reset @s +hc.disconnect |