mirricraft-skript/mirricraft-portals.sk

15 lines
634 B
Plaintext
Raw Normal View History

2020-10-27 23:01:44 +00:00
# --- Portals ---
2020-10-27 22:55:56 +00:00
on region enter:
wait 1 tick
if "%event-region%" contains "_portal_to_lobby":
2023-04-23 15:24:30 +00:00
teleport player to spawn of "%player's world%"
2020-10-27 22:55:56 +00:00
connect player to "lobby"
2020-10-27 23:06:10 +00:00
if "%event-region%" contains "_portal_to_utopia":
2023-04-23 15:24:30 +00:00
teleport player to spawn of "%player's world%"
2020-10-27 23:06:10 +00:00
connect player to "utopia"
if "%event-region%" contains "_portal_to_skyblock":
2023-04-23 15:24:30 +00:00
teleport player to spawn of "%player's world%"
2020-10-27 23:06:10 +00:00
connect player to "skyblock"
if "%event-region%" contains "_portal_to_minigames":
2023-04-23 15:24:30 +00:00
teleport player to spawn of "%player's world%"
2020-10-27 23:06:10 +00:00
connect player to "minigames"