15 lines
542 B
Plaintext
15 lines
542 B
Plaintext
|
# --- Fly ---
|
||
|
command /fly [<text>]:
|
||
|
description: Fly
|
||
|
executable by: players
|
||
|
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%}
|
||
|
stop
|