2020-10-24 03:31:01 +00:00
|
|
|
# --- Fly ---
|
|
|
|
command /fly [<text>]:
|
|
|
|
description: Fly
|
2020-10-28 00:20:02 +00:00
|
|
|
executable by: console and players
|
2020-10-24 03:31:01 +00:00
|
|
|
trigger:
|
|
|
|
if player has the permission "mirricraft.fly":
|
|
|
|
if {fly.%player%} is not set:
|
|
|
|
message "&7[&2MirriCraft&7]&r Lento on nyt sallittu"
|
|
|
|
set player's flight mode to true
|
|
|
|
set {fly.%player%} to true
|
|
|
|
stop
|
|
|
|
message "&7[&2MirriCraft&7]&r Lento on pois käytöstä"
|
|
|
|
set player's flight mode to false
|
|
|
|
delete {fly.%player%}
|
2020-10-24 04:33:04 +00:00
|
|
|
stop
|
|
|
|
|
|
|
|
on join:
|
|
|
|
if {fly.%player%} is set:
|
|
|
|
if player has the permission "mirricraft.vip":
|
|
|
|
set player's flight mode to true
|
|
|
|
stop
|