mirricraft-skript/mirricraft-fly.sk
Christer Warén f7b6ff855f Update
2020-10-28 02:20:02 +02:00

21 lines
715 B
Plaintext

# --- Fly ---
command /fly [<text>]:
description: Fly
executable by: console and 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