- modulair reset system - fall out of world reset - lobby enchantment additions for drowning damage negation - predicate world level 50 for herohost:world
		
			
				
	
	
		
			19 lines
		
	
	
		
			732 B
		
	
	
	
		
			MCFunction
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			732 B
		
	
	
	
		
			MCFunction
		
	
	
	
	
	
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
 | 
						|
 | 
						|
# core handling
 | 
						|
    execute as @a[tag=!hc.initialized] run function herohost:core/initialize
 | 
						|
    execute as @a[scores={+hc.disconnect=1..}] run function herohost:core/reconnect
 | 
						|
 | 
						|
# protection
 | 
						|
    kill @e[type=item,tag=!persistent]
 | 
						|
    gamemode adventure @a[tag=!hc.debug]
 | 
						|
 | 
						|
# hc.debug
 | 
						|
 | 
						|
# misc
 | 
						|
    effect give @a[gamemode=!creative] saturation 1 1 true
 | 
						|
    execute as @a[scores={+hc.warp=1..}] run function herohost:misc/warp
 | 
						|
    execute as @a[tag=!hc.debug,predicate=herohost:world_y50] run function herohost:core/reset
 | 
						|
 | 
						|
# games
 | 
						|
    # [ WIP ] execute in herohost:world if entity @p[x=-125,y=50,z=-376,dx=250,dy=100,dz=250] run function herohost:tnt/core |