mirricraft-skript/mirricraft-fly.sk
Christer Warén e418ee9fb4 Update
2020-10-24 07:33:04 +03:00

21 lines
703 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
on join:
if {fly.%player%} is set:
if player has the permission "mirricraft.vip":
set player's flight mode to true
stop