- modulair reset system - fall out of world reset - lobby enchantment additions for drowning damage negation - predicate world level 50 for herohost:world
		
			
				
	
	
		
			15 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			MCFunction
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			MCFunction
		
	
	
	
	
	
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
 | 
						|
 | 
						|
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome","fallback":"Welcome %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 @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.wish_welcome","fallback":"Everyone, give %s a warm welcome!","with":[{"selector":"@s","color":"yellow"}],"color":"white"}]
 | 
						|
execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
 | 
						|
 | 
						|
# reset player
 | 
						|
    execute as @s[tag=!hc.debug] run function herohost:core/reset
 | 
						|
 | 
						|
# misc
 | 
						|
    scoreboard players enable @s +hc.warp
 | 
						|
    execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
 | 
						|
 | 
						|
# initialize player
 | 
						|
    tag @s add hc.initialized |