This commit is contained in:
Christer Warén 2020-10-24 07:33:04 +03:00
parent 2eafcebbc3
commit e418ee9fb4
4 changed files with 24 additions and 6 deletions

View File

@ -13,3 +13,9 @@ command /fly [<text>]:
set player's flight mode to false
delete {fly.%player%}
stop
on join:
if {fly.%player%} is set:
if player has the permission "mirricraft.vip":
set player's flight mode to true
stop

View File

@ -1,6 +1,7 @@
# --- KitPVP ---
on join:
if player's world is "minigames":
remove all items from player
set slot 1 of player's inventory to 1 of chest named "&fKitPVP"
stop
@ -9,6 +10,11 @@ on respawn:
set slot 1 of player's inventory to 1 of chest named "&fKitPVP"
stop
on quit:
if player's world is "minigames":
remove all items from player
stop
on leftclick:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":

View File

@ -251,10 +251,6 @@ command /visit [<text>]:
# --- MirriCraft Item ---
on join:
make player execute command "/mirricraft item"
create bossbar titled "&f&lMirriCraft" and id "bossbar.%player's uuid%" for player with progress 100 with colors white
if {fly.%player%} is set:
if player has the permission "mirricraft.vip":
set player's flight mode to true
stop
on respawn:

View File

@ -18,3 +18,13 @@ on load:
#wf "#" to "mirricraft.yml"
#wf "#--------------------------------------------------" to "mirricraft.yml"
stop
# --- Bossbar ---
on join:
create bossbar titled "&f&lMirriCraft" and id "bossbar.%player's uuid%" for player with progress 100 with colors white
stop
# --- Welcome Message ---
on join:
send player title "MirriCraft" for 5 seconds
send action bar "Nauti pelihetkestäsi, %player%!" to player