Advertisement
UntitledGoose

Untitled

Jan 25th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. on join:
  2. if {mute.%player's uuid%} is not set:
  3. set {mute.%player's uuid%} to false
  4. command mute <player> <text> [<text>]:
  5. permission: staff.punish.mute
  6. permission message: &6Vou&cch &7> &cYou do not have permission for this command!
  7. usage: &6Vou&cch &7> &cIncorrect usage! /mute <player> <reason> [<-s>]
  8. trigger:
  9. set {mute.%arg-player's uuid%} to true
  10. send "&6Vou&cch &7> &cYou have muted &a%arg-player% &cfor reason ""&a%arg-2%&c"""
  11. if arg-3 is set:
  12. if arg-3 is "-s":
  13. stop
  14. else if arg-3 is not "-s":
  15. broadcast "&6Vou&cch &7> &a%player% &chas muted &a%arg-player% &cdue to ""&a%arg-2%&c"""
  16. else if arg-3 is not set:
  17. broadcast "&6Vou&cch &7> &a%player% &chas muted &a%arg-player% &cdue to ""&a%arg-2%&c"""
  18. command unmute <player> <text> [<text>]:
  19. permission: staff.punish.unmute
  20. permission message: &6Vou&cch &7> &cYou do not have permission for this command!
  21. usage: &6Vou&cch &7> &cIncorrect usage! /unmute <player> <reason> [<-s>]
  22. trigger:
  23. set {mute.%arg-player's uuid%} to false
  24. send "&6Vou&cch &7> &cYou have unmuted &a%arg-player% &cfor reason ""&a%arg-2%&c"""
  25. if arg-3 is set:
  26. if arg-3 is "-s":
  27. stop
  28. else if arg-3 is not "-s":
  29. broadcast "&6Vou&cch &7> &a%player% &chas unmuted &a%arg-player% &cdue to ""&a%arg-2%&c"""
  30. else if arg-3 is not set:
  31. broadcast "&6Vou&cch &7> &a%player% &chas unmuted &a%arg-player% &cdue to ""&a%arg-2%&c"""
  32. command ban <player> <text> [<text>]:
  33. permission: staff.punish.ban
  34. permission message: &6Vou&cch &7> &cYou do not have permission for this command!
  35. usage: &6Vou&cch &7> &cIncorrect usage! /ban <player> <reason> [<-s>]
  36. trigger:
  37. ban arg-player due to arg-2
  38. send "&6Vou&cch &7> &cYou have banned &a%arg-player% &cfor reason ""&a%arg-2%&c"""
  39. if arg-3 is set:
  40. if arg-3 is "-s":
  41. stop
  42. else:
  43. if arg-3 is not "-s":
  44. broadcast "&6Vou&cch &7> &a%player% &chas banned &a%arg-player% &cdue to ""&a%arg-2%&c"""
  45. else:
  46. if arg-3 is not set:
  47. broadcast "&6Vou&cch &7> &a%player% &chas banned &a%arg-player% &cdue to ""&a%arg-2%&c"""
  48. on chat:
  49. if {mute.%player's uuid%} is true:
  50. cancel event
  51. send "&6Vou&cch &7> &cYou cannot talk while you are muted!"
  52. else if {mute.%player's uuid%} is false:
  53. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement