Advertisement
Cool_Colton

Untitled

Jul 15th, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. command /setstaffrank <player> <integer>:
  2. permission: set.rank
  3. trigger:
  4. set {rank::%arg 1's uuid%} to arg 2
  5.  
  6. command /setrank <player> <integer>:
  7. permission: set.rank
  8. trigger:
  9. if arg 2 is between 1 and 4:
  10. set {rank::%arg 1's uuid%} to %arg 2%
  11.  
  12. command /nick <text> [<integer>]:
  13. trigger:
  14. if {rank::%player's uuid%} is above 2:
  15. if arg 2 is between 0 and 4:
  16. set {nicked::%player's uuid%} to true
  17. set {nicked::rank::%player's uuid%} to arg 2
  18. set {nicked::name::%player's uuid%} to arg 1
  19. send "You have been nicked as &a%{nicked::name::%player's uuid%}%"
  20. if arg 1 is "off":
  21. set {nicked::%player's uuid%} to false
  22. set {nicked::rank::%player's uuid%} to 10000
  23. send "%{nicked::%player's uuid%}%"
  24.  
  25. on chat:
  26. cancel event
  27. if {muted::%player's uuid%} is true:
  28.  
  29. else:
  30. if {nicked::%player's uuid%} is false:
  31. if {rank::%player's uuid%} is 0:
  32. broadcast "&8[&3Default&8] &a%player%: &7%message%"
  33.  
  34. if {rank::%player's uuid%} is 1:
  35. broadcast "&8[&3VIP&8] &a%player%: &f%message%"
  36.  
  37. if {rank::%player's uuid%} is 2:
  38. broadcast "&8[&3Legend&8] &a%player%: &f%message%"
  39.  
  40. if {rank::%player's uuid%} is 3:
  41. broadcast "&8[&3God&8] &a%{nicked::name::%player's uuid%}%: &f%message%"
  42.  
  43. if {rank::%player's uuid%} is 4:
  44. broadcast "&8[&3Mythical&8] &a%player%: &f%message%"
  45.  
  46. if {rank::%player's uuid%} is 5:
  47. broadcast "&8[&1Helper&8] &a%player%: &f%message%"
  48.  
  49. if {rank::%player's uuid%} is 6:
  50. broadcast "&8[&3Jr. Mod&8] &a%player%: &f%message%"
  51.  
  52. if {rank::%player's uuid%} is 7:
  53. broadcast "&8[Mod&8] &a%player%: &f%message%"
  54.  
  55. if {rank::%player's uuid%} is 8:
  56. broadcast "&8[Sr. Mod&8] &a%player%: &f%message%"
  57.  
  58. if {rank::%player's uuid%} is 9:
  59. broadcast "&8[&cAdmin&8] &a%player%: &f%message%"
  60.  
  61. if {rank::%player's uuid%} is 10:
  62. broadcast "&8[&3Builder&8] &a%player%: &f%message%"
  63.  
  64. if {rank::%player's uuid%} is 11:
  65. broadcast "&8[&3Head-Builder&8] &a%player%: &f%message%"
  66.  
  67. if {rank::%player's uuid%} is 12:
  68. broadcast "&8[&cDeveloper&8] &a%player%: &f%message%"
  69.  
  70. if {rank::%player's uuid%} is 13:
  71. broadcast "&8[&cOwner&8] &a%player%: &b%message%"
  72.  
  73. if {nicked::%player's uuid%} is true:
  74. if {nicked::rank::%player's uuid%} is 0:
  75. broadcast "&8[&3Default&8] &a%{nicked::name::%player's uuid%}%: &7%message%"
  76. if {nicked::rank::%player's uuid%} is 1:
  77. broadcast "&8[&3VIP&8] &a%{nicked::name::%player's uuid%}%: &f%message%"
  78. if {nicked::rank::%player's uuid%} is 2:
  79. broadcast "&8[&3Legend&8] &a%{nicked::name::%player's uuid%}%: &f%message%"
  80. if {nicked::rank::%player's uuid%} is 3:
  81. broadcast "&8[&3God&8] &a%{nicked::name::%player's uuid%}%: &f%message%"
  82. if {nicked::rank::%player's uuid%} is 4:
  83. broadcast "&8[&3Mythical&8] &a%{nicked::name::%player's uuid%}%: &f%message%"
  84.  
  85. on join:
  86. if {rank::%player's uuid%} is not set:
  87. set {rank::%player's uuid%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement