Use skript-worldguard
This commit is contained in:
1 parent
118c71fcd2
commit
e41cb3cdf3
4 files changed
+9
-9
No files matched your search
+2
-2
@@ -395,14 +395,14 @@ on weather change to rain or thunder:
|
|||||||
# --- Survival Event Block ---
|
# --- Survival Event Block ---
|
||||||
#on region enter:
|
#on region enter:
|
||||||
# wait 1 tick
|
# wait 1 tick
|
||||||
# if "%event-region%" contains "survival_castle_event_block":
|
# if "%region%" contains "survival_castle_event_block":
|
||||||
# make console execute command "/uf start survival_event_newyear_2019"
|
# make console execute command "/uf start survival_event_newyear_2019"
|
||||||
# make console execute command "/ptime 14000ticks %player's name%"
|
# make console execute command "/ptime 14000ticks %player's name%"
|
||||||
# make console execute command "/pweather clear %player's name%"
|
# make console execute command "/pweather clear %player's name%"
|
||||||
|
|
||||||
#on region exit:
|
#on region exit:
|
||||||
# wait 1 tick
|
# wait 1 tick
|
||||||
# if "%event-region%" contains "survival_castle_event_block":
|
# if "%region%" contains "survival_castle_event_block":
|
||||||
# make console execute command "/ptime reset %player's name%"
|
# make console execute command "/ptime reset %player's name%"
|
||||||
# make console execute command "/pweather reset %player's name%"
|
# make console execute command "/pweather reset %player's name%"
|
||||||
# make console execute command "/uf stop survival_event_newyear_2019"
|
# make console execute command "/uf stop survival_event_newyear_2019"
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ on item damage:
|
|||||||
on region exit:
|
on region exit:
|
||||||
if player's world is "minigames":
|
if player's world is "minigames":
|
||||||
wait 1 tick
|
wait 1 tick
|
||||||
if "%event-region%" contains "minigames_kitpvp_":
|
if "%region%" contains "minigames_kitpvp_":
|
||||||
remove all items from player
|
remove all items from player
|
||||||
set the player's walk speed to 0.2
|
set the player's walk speed to 0.2
|
||||||
clear {kitpvp.%player's name%.started}
|
clear {kitpvp.%player's name%.started}
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
|
|
||||||
on region enter:
|
on region enter:
|
||||||
wait 1 tick
|
wait 1 tick
|
||||||
if "%event-region%" contains "_portal_to_lobby":
|
if "%region%" contains "_portal_to_lobby":
|
||||||
teleport player to spawn of "%player's world%"
|
teleport player to spawn of "%player's world%"
|
||||||
connect player to "lobby"
|
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%"
|
teleport player to spawn of "%player's world%"
|
||||||
connect player to "utopia"
|
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%"
|
teleport player to spawn of "%player's world%"
|
||||||
connect player to "skyblock"
|
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%"
|
teleport player to spawn of "%player's world%"
|
||||||
connect player to "minigames"
|
connect player to "minigames"
|
||||||
+2
-2
@@ -45,10 +45,10 @@ command /speed [<text>] [<number>] [<player>]:
|
|||||||
# Lobby Tunnel
|
# Lobby Tunnel
|
||||||
on region enter:
|
on region enter:
|
||||||
wait 1 tick
|
wait 1 tick
|
||||||
if "%event-region%" contains "lobby_tunnel_":
|
if "%region%" contains "lobby_tunnel_":
|
||||||
set player's walking speed to 0.4
|
set player's walking speed to 0.4
|
||||||
|
|
||||||
on region exit:
|
on region exit:
|
||||||
wait 1 tick
|
wait 1 tick
|
||||||
if "%event-region%" contains "lobby_tunnel_":
|
if "%region%" contains "lobby_tunnel_":
|
||||||
set player's walking speed to 0.2
|
set player's walking speed to 0.2
|
||||||
Reference in new issue
Block a user