This commit is contained in:
Christer Warén
2020-10-24 06:31:01 +03:00
parent 52462d909f
commit 8cb6f4b8b5
6 changed files with 106 additions and 37 deletions

15
mirricraft-fly.sk Normal file
View File

@@ -0,0 +1,15 @@
# --- 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