mirricraft-skript/mirricraft-portals.sk
Christer Warén 9780aa604b Update
2023-04-23 18:24:30 +03:00

15 lines
634 B
Plaintext

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