mirricraft-skript/mirricraft-portals.sk
2020-10-28 01:06:10 +02:00

15 lines
622 B
Plaintext

# --- Portals ---
on region enter:
wait 1 tick
if "%event-region%" contains "_portal_to_lobby":
teleport player to world "%player's world%"
connect player to "lobby"
if "%event-region%" contains "_portal_to_utopia":
teleport player to world "%player's world%"
connect player to "utopia"
if "%event-region%" contains "_portal_to_skyblock":
teleport player to world "%player's world%"
connect player to "skyblock"
if "%event-region%" contains "_portal_to_minigames":
teleport player to world "%player's world%"
connect player to "minigames"