HHGames/data/herohost/function/core/initialize.mcfunction

10 lines
839 B
Mcfunction
Raw Permalink Normal View History

2023-09-15 19:52:54 +02:00
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome ","color":"white"},{"selector":"@s","color":"yellow"},{"text":", to the ","color":"white"},{"text":"H","color":"#fa6a52"},{"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"},{"text":" server!","color":"white"}]
tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"text":"Everyone, give ","color":"white"},{"selector":"@s","color":"yellow"},{"text":" a warm welcome!","color":"white"}]
execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
# tp player
2023-09-15 19:52:54 +02:00
# initialize player
tag @s add hc.initialized