Use skript-worldguard
This commit is contained in:
1 parent
118c71fcd2
commit
e41cb3cdf3
4 files changed
+9
-9
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user