Use skript-worldguard

This commit is contained in:
Christer Waren committed 2026-10-22 16:32:54 +03:00
1 parent 118c71fcd2
commit e41cb3cdf3
4 files changed
+9 -9

No files matched your search

+4 -4
View File
@@ -7,15 +7,15 @@
on region enter:
wait 1 tick
if "%event-region%" contains "_portal_to_lobby":
if "%region%" contains "_portal_to_lobby":
teleport player to spawn of "%player's world%"
connect player to "lobby"
if "%event-region%" contains "_portal_to_utopia":
if "%region%" contains "_portal_to_utopia":
teleport player to spawn of "%player's world%"
connect player to "utopia"
if "%event-region%" contains "_portal_to_skyblock":
if "%region%" contains "_portal_to_skyblock":
teleport player to spawn of "%player's world%"
connect player to "skyblock"
if "%event-region%" contains "_portal_to_minigames":
if "%region%" contains "_portal_to_minigames":
teleport player to spawn of "%player's world%"
connect player to "minigames"