2023-09-15 19:52:54 +02:00
|
|
|
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
|
|
|
|
|
|
|
|
# core handling
|
2024-12-02 13:20:00 +01:00
|
|
|
execute as @a[tag=!hc.initialized] run function herohost:core/initialize
|
|
|
|
execute as @a[scores={+hc.disconnect=1..}] run function herohost:core/reconnect
|
2023-09-15 19:52:54 +02:00
|
|
|
|
2023-11-01 16:01:25 +01:00
|
|
|
# protection
|
2024-12-04 13:52:42 +01:00
|
|
|
kill @e[type=item,tag=!persistent]
|
2024-12-02 13:20:00 +01:00
|
|
|
gamemode adventure @a[tag=!hc.debug]
|
2024-11-19 18:07:59 +01:00
|
|
|
|
|
|
|
# hc.debug
|
2024-11-30 19:46:23 +01:00
|
|
|
|
2024-12-04 13:52:42 +01:00
|
|
|
# misc
|
|
|
|
execute as @a[scores={+hc.warp=1..}] run function herohost:misc/warp
|
2023-11-01 16:01:25 +01:00
|
|
|
|
2023-09-15 19:52:54 +02:00
|
|
|
# games
|
2024-12-04 13:52:42 +01:00
|
|
|
# [ 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
|