diff --git a/data/herohost/functions/core/reconnect.mcfunction b/data/herohost/functions/core/reconnect.mcfunction index c1166b3..b91ed87 100644 --- a/data/herohost/functions/core/reconnect.mcfunction +++ b/data/herohost/functions/core/reconnect.mcfunction @@ -3,11 +3,11 @@ tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome back ","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 @s[tag=hc.debug] [{"text":"» ","color":"red"},{"text":"You are still in debug mode, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to disable it.","color":"white"}] execute at @s run playsound minecraft:entity.player.levelup master @s -execute in herohost:world run tp @s 0 101 0 0 0 +execute in herohost:world run tp @s[tag=!hc.debug] 0 101 0 0 0 gamemode adventure @s[tag=!hc.debug] # protection -clear @s +clear @s[tag=!hc.debug] # reset player score scoreboard players reset @s +hc.disconnect \ No newline at end of file