ARSAGF

Untitled

Jan 28th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. command /Antihackboom [<text>] [<text>] [<player>]:
  2. permission:admin
  3. trigger:
  4. if arg 1 is not set:
  5. message "&b&l-=-=-&a&lHackBoom!!-=-=-"
  6. message "&b■&f/hackboom ban &d: &fSTOP対策のコマンドを表示"
  7. stop
  8. if arg 1 is "STOP":
  9. if arg 2 is not set:
  10. message "&b■&f/hackboom STOP add <Name> &d: &f<Name>に、STOP権限を与えます"
  11. message "&b■&f/hackboom STOP delete <Name> &d: &f<Name>の、STOP権限を剥奪します"
  12. stop
  13. if arg 2 is "add":
  14. set {boomstop.%arg-3%} to "true"
  15. message "&a[HackBoom] &a>>> &f%arg-3%&aにSTOP権限を与えました" to player
  16. stop
  17. if arg 2 is "delete":
  18. set {boomstop.%arg-3%} to "false"
  19. message "&a[HackBoom] &a>>> &f%arg-3%&aのSTOP権限を剥奪しました" to player
  20. stop
  21.  
  22. on command "/stop":
  23. if sender is not console:
  24. if player has permission "admin":
  25. if {boomstop.%player%} is not "true":
  26. cancel event
  27. broadcast "&c[Alert] &b>>> &c%player%がSTOPをしようとしました"
  28. stop
  29. else:
  30. cancel event
Add Comment
Please, Sign In to add comment