I have a server and i want to add a /fly command limited to players only with the permission: "fly"
(using powerranks plugin)
It all works except the fact that even someone without the permission can use it, help!
(using powerranks plugin)
It all works except the fact that even someone without the permission can use it, help!
Code:
command /fly:
executable by: players
permission: fly
Trigger:
if {fly::%player%} is not set:
send "<green>Flight mode enabled." to player
set player's flight mode to true
set {fly::%player%} to true
stop
send "&cFlight mode disabled." to player
set player's flight mode to false
delete {fly::%player%}
stop
Last edited: