LukaMC59

Untitled

Oct 6th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. command /nightvision:
  2. aliases: nv
  3. permission: nightvision.use
  4. permission message: &4You don't have permission.
  5. trigger:
  6. if {nightvision.mode.%player%} is "False":
  7. message "{@Prefix} &7You have enabled Night Vision!"
  8. set {nightvision.mode.%player%} to "True"
  9. apply night vision to the player for 100000 seconds
  10. else:
  11. if {nightvision.mode.%player%} is "True":
  12. message "{@Prefix} &7You have disabled Night Vision!"
  13. set {nightvision.mode.%player%} to "False"
  14. remove night vision from the player
Add Comment
Please, Sign In to add comment