Update
This commit is contained in:
parent
59a800c894
commit
9780aa604b
@ -140,7 +140,7 @@ command /kitpvp [<string>] [<string>]:
|
|||||||
else if arg-1 is "end":
|
else if arg-1 is "end":
|
||||||
remove all items from player
|
remove all items from player
|
||||||
clear {kitpvp.%player%.started}
|
clear {kitpvp.%player%.started}
|
||||||
teleport player to world "%player's world%"
|
teleport player to spawn of "%player's world%"
|
||||||
stop
|
stop
|
||||||
else:
|
else:
|
||||||
stop
|
stop
|
||||||
@ -151,7 +151,7 @@ command /kitpvp [<string>] [<string>]:
|
|||||||
|
|
||||||
on join:
|
on join:
|
||||||
if player's world is "minigames":
|
if player's world is "minigames":
|
||||||
teleport player to world "%player's world%"
|
teleport player to spawn of "%player's world%"
|
||||||
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
|
||||||
set slot 7 of player's inventory to 1 of chest named "&fKitPVP"
|
set slot 7 of player's inventory to 1 of chest named "&fKitPVP"
|
||||||
@ -163,10 +163,10 @@ on respawn:
|
|||||||
stop
|
stop
|
||||||
|
|
||||||
on death:
|
on death:
|
||||||
if player's world is "minigames":
|
if victim's world is "minigames":
|
||||||
remove all items from player
|
remove all items from victim
|
||||||
set the player's walk speed to 0.2
|
set the victim's walk speed to 0.2
|
||||||
clear {kitpvp.%player%.started}
|
clear {kitpvp.%victim%.started}
|
||||||
clear drops
|
clear drops
|
||||||
|
|
||||||
on quit:
|
on quit:
|
||||||
|
@ -102,35 +102,45 @@ command /mirricraft [<string>] [<string>] [<string>]:
|
|||||||
else if arg-1 is "visit":
|
else if arg-1 is "visit":
|
||||||
if player has the permission "mirricraft.visit":
|
if player has the permission "mirricraft.visit":
|
||||||
if arg-2 is "lobby":
|
if arg-2 is "lobby":
|
||||||
|
wait 2 tick
|
||||||
connect player to "lobby"
|
connect player to "lobby"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "truelo":
|
else if arg-2 is "truelo":
|
||||||
|
wait 2 tick
|
||||||
connect player to "truelo"
|
connect player to "truelo"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "utopia":
|
else if arg-2 is "utopia":
|
||||||
|
wait 2 tick
|
||||||
connect player to "utopia"
|
connect player to "utopia"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "skyblock":
|
else if arg-2 is "skyblock":
|
||||||
|
wait 2 tick
|
||||||
connect player to "skyblock"
|
connect player to "skyblock"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "minigames":
|
else if arg-2 is "minigames":
|
||||||
|
wait 2 tick
|
||||||
connect player to "minigames"
|
connect player to "minigames"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "multiverse":
|
else if arg-2 is "multiverse":
|
||||||
|
wait 2 tick
|
||||||
connect player to "multiverse"
|
connect player to "multiverse"
|
||||||
stop
|
stop
|
||||||
else if arg-2 is "multiverse-hub" or "hub" or "multiverse-creative" or "multiverse-survival" or "multiverse-skyblock":
|
else if arg-2 is "multiverse-hub" or "hub" or "multiverse-creative" or "multiverse-survival" or "multiverse-skyblock":
|
||||||
if arg-2 is "multiverse-hub":
|
if arg-2 is "multiverse-hub":
|
||||||
teleport player to world "hub"
|
wait 2 tick
|
||||||
|
teleport player to spawn of "hub"
|
||||||
stop
|
stop
|
||||||
if arg-2 is "multiverse-creative":
|
if arg-2 is "multiverse-creative":
|
||||||
teleport player to world "creative"
|
wait 2 tick
|
||||||
|
teleport player to spawn of "creative"
|
||||||
stop
|
stop
|
||||||
if arg-2 is "multiverse-survival":
|
if arg-2 is "multiverse-survival":
|
||||||
teleport player to world "survival"
|
wait 2 tick
|
||||||
|
teleport player to spawn of "survival"
|
||||||
stop
|
stop
|
||||||
if arg-2 is "multiverse-skyblock":
|
if arg-2 is "multiverse-skyblock":
|
||||||
teleport player to world "skyblock"
|
wait 2 tick
|
||||||
|
teleport player to spawn of "skyblock"
|
||||||
stop
|
stop
|
||||||
stop
|
stop
|
||||||
else:
|
else:
|
||||||
@ -249,9 +259,9 @@ command /visit [<text>]:
|
|||||||
# OTHER FUNCTIONS
|
# OTHER FUNCTIONS
|
||||||
|
|
||||||
# --- MirriCraft Item ---
|
# --- MirriCraft Item ---
|
||||||
on join:
|
#on join:
|
||||||
make player execute command "/mirricraft item"
|
# make player execute command "/mirricraft item"
|
||||||
stop
|
# stop
|
||||||
|
|
||||||
on respawn:
|
on respawn:
|
||||||
make player execute command "/mirricraft item"
|
make player execute command "/mirricraft item"
|
||||||
@ -325,9 +335,9 @@ on pickup:
|
|||||||
delete event-entity
|
delete event-entity
|
||||||
|
|
||||||
on death:
|
on death:
|
||||||
if player's world is "lobby":
|
if victim's world is "lobby":
|
||||||
clear drops
|
clear drops
|
||||||
if player's world is "utopia":
|
if victim's world is "utopia":
|
||||||
clear drops
|
clear drops
|
||||||
|
|
||||||
# --- Welcome Message ---
|
# --- Welcome Message ---
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
on region enter:
|
on region enter:
|
||||||
wait 1 tick
|
wait 1 tick
|
||||||
if "%event-region%" contains "_portal_to_lobby":
|
if "%event-region%" contains "_portal_to_lobby":
|
||||||
teleport player to world "%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 "%event-region%" contains "_portal_to_utopia":
|
||||||
teleport player to world "%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 "%event-region%" contains "_portal_to_skyblock":
|
||||||
teleport player to world "%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 "%event-region%" contains "_portal_to_minigames":
|
||||||
teleport player to world "%player's world%"
|
teleport player to spawn of "%player's world%"
|
||||||
connect player to "minigames"
|
connect player to "minigames"
|
@ -4,8 +4,8 @@ command /spawn:
|
|||||||
executable by: players
|
executable by: players
|
||||||
trigger:
|
trigger:
|
||||||
if "%player's world%" contains "skyblock_":
|
if "%player's world%" contains "skyblock_":
|
||||||
teleport player to world "skyblock"
|
teleport player to spawn of "skyblock"
|
||||||
stop
|
stop
|
||||||
else:
|
else:
|
||||||
teleport player to world "%player's world%"
|
teleport player to spawn of "%player's world%"
|
||||||
stop
|
stop
|
@ -20,9 +20,9 @@ on load:
|
|||||||
stop
|
stop
|
||||||
|
|
||||||
# --- Bossbar ---
|
# --- Bossbar ---
|
||||||
on join:
|
#on join:
|
||||||
create bossbar titled "&f&lMirriCraft" and id "bossbar.%player's uuid%" for player with progress 100 with colors white
|
# create bossbar titled "&f&lMirriCraft" and id "bossbar.%player's uuid%" for player with progress 100 with colors white
|
||||||
stop
|
# stop
|
||||||
|
|
||||||
# --- Welcome Message ---
|
# --- Welcome Message ---
|
||||||
on join:
|
on join:
|
||||||
|
Loading…
Reference in New Issue
Block a user