HHGames/data/herohost/function/main.mcfunction

15 lines
470 B
Mcfunction
Raw Normal View History

2023-09-15 19:52:54 +02:00
# --- 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
2024-11-28 23:12:43 +01:00
kill @e[type=item,tag=!persistent]
gamemode adventure @a[tag=!hc.debug]
# hc.debug
2023-09-15 19:52:54 +02:00
# games
2024-11-28 23:12:43 +01:00
# execute in herohost:world if entity @p[x=-125,y=50,z=-376,dx=250,dy=100,dz=250] run function herohost:tnt/core