Advertisement
Guest User

Code

a guest
Aug 17th, 2017
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.67 KB | None | 0 0
  1. On load:
  2. send "&b&l[&c&lTT&b&l] &dBan System has been loaded succesfully" to console
  3. Command /punish <player>:
  4. trigger:
  5. if arg 1 is set:
  6. if arg 1 is set:
  7. if player has permission "TC.menu.trainee":
  8. open chest with 3 rows named "&b[&cTrainee Menu&b] &dVictim: &6%arg-1%" to player
  9. wait 3 tick
  10. format gui slot 0 of player with gray glass pane named " "
  11. format gui slot 1 of player with gray glass pane named " "
  12. format gui slot 2 of player with gray glass pane named " "
  13. format gui slot 3 of player with gray glass pane named " "
  14. format gui slot 4 of player with gray glass pane named " "
  15. format gui slot 5 of player with gray glass pane named " "
  16. format gui slot 6 of player with gray glass pane named " "
  17. format gui slot 7 of player with gray glass pane named " "
  18. format gui slot 8 of player with gray glass pane named " "
  19. format gui slot 9 of player with gray glass pane named " "
  20. format gui slot 10 of player with gray glass pane named " "
  21. format gui slot 11 of player with book named "&8[&4Hacks&8]"
  22. format gui slot 12 of player with gray glass pane named " "
  23. format gui slot 13 of player with gray glass pane named " "
  24. format gui slot 14 of player with gray glass pane named " "
  25. format gui slot 15 of player with book named "&8[&aChat&8]"
  26. format gui slot 16 of player with gray glass pane named " "
  27. format gui slot 17 of player with gray glass pane named " "
  28. format gui slot 18 of player with gray glass pane named " "
  29. format gui slot 19 of player with gray glass pane named " "
  30. format gui slot 20 of player with paper named "&8&l[&4&lHacks of Any Kind&8&l]" with lore "&7Type: &6Warn &8// &6Reports to all staff members" to run player command "/say Test"
  31. format gui slot 21 of player with gray glass pane named " "
  32. format gui slot 22 of player with gray glass pane named " "
  33. format gui slot 23 of player with gray glass pane named " "
  34. format gui slot 24 of player with paper named "&8&l[&4&lChat Abuse of Any Kind&8&l]" with lore "&7Type: &6Warn &8// &6Reports to all staff members" to run player command "/say Test2"
  35. format gui slot 25 of player with gray glass pane named " "
  36. format gui slot 26 of player with barrier named "&4Exit" to close
  37.  
  38.  
  39.  
  40. if player has permission "TC.menu.mod":
  41. open chest with 6 rows named "&b[&cMod Menu&b] &dVictim: &6%arg-1%" to player
  42. wait 3 tick
  43. format gui slot 0 of player with gray glass pane named " "
  44. format gui slot 1 of player with gray glass pane named " "
  45. format gui slot 2 of player with gray glass pane named " "
  46. format gui slot 3 of player with gray glass pane named " "
  47. format gui slot 4 of player with gray glass pane named " "
  48. format gui slot 5 of player with gray glass pane named " "
  49. format gui slot 6 of player with gray glass pane named " "
  50. format gui slot 7 of player with gray glass pane named " "
  51. format gui slot 8 of player with gray glass pane named " "
  52. format gui slot 9 of player with gray glass pane named " "
  53. format gui slot 10 of player with gray glass pane named " "
  54. format gui slot 11 of player with book named "&8[&4Hacks&8]"
  55. format gui slot 12 of player with gray glass pane named " "
  56. format gui slot 13 of player with book named "&8[&aChat&8]"
  57. format gui slot 14 of player with gray glass pane named " "
  58. format gui slot 15 of player with book named "&8[&5Others&8]"
  59. format gui slot 16 of player with gray glass pane named " "
  60. format gui slot 17 of player with gray glass pane named " "
  61. format gui slot 18 of player with gray glass pane named " "
  62. format gui slot 19 of player with gray glass pane named " "
  63. format gui slot 20 of player with paper named "&8&l[&4&lSpeed/BHop&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &63 Days" to run player command "/tempban %arg-1% 3d speed/BHop"
  64. format gui slot 21 of player with gray glass pane named " "
  65. format gui slot 22 of player with paper named "&8&l[&a&lSpam&8&l]" with lore "&7Type: &6TempMute &8// &7Duration: &62 Hours" to run player command "/mute %arg-1% 2h Spam"
  66. format gui slot 23 of player with gray glass pane named " "
  67. format gui slot 24 of player with paper named "&8&l[&5&lToxicity&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &61 Day" to run player command "/tempban %arg-1% 1d Toxicity"
  68. format gui slot 25 of player with gray glass pane named " "
  69. format gui slot 26 of player with gray glass pane named " "
  70. format gui slot 27 of player with diamond block named "&8&l[&4&lCustom Ban&8&l]" with lore "&7Type: &6Ban &8// &7Duration: &6Custom" to run player command "/punishcustomban %arg-1%"
  71. format gui slot 28 of player with gray glass pane named " "
  72. format gui slot 29 of player with paper named "&8&l[&4&lHighJump/Fly&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &67 Days" to run player command "/tempban %arg-1% 7d HighJump/Fly"
  73. format gui slot 30 of player with gray glass pane named " "
  74. format gui slot 31 of player with paper named "&8&l[&a&lAdvertising&8&l]" with lore "&7Type: &6TempMute &8// &7Duration: &612 Days" to run player command "/mute %arg-1% 2d Advertising "
  75. format gui slot 32 of player with gray glass pane named " "
  76. format gui slot 33 of player with paper named "&8&l[&5&lExploit Abuse&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &612 Days" to run player command "/tempmute %arg-1% 2d Exploit Abuse "
  77. format gui slot 34 of player with gray glass pane named " "
  78. format gui slot 35 of player with gray glass pane named " "
  79. format gui slot 36 of player with emerald block named "&8&l[&b&lUn-Mute&8&l]" with lore "&7Type: &6Un-Mute" to run player command "/mute %arg-1%"
  80. format gui slot 37 of player with gray glass pane named " "
  81. format gui slot 38 of player with paper named "&8&l[&4&lExtreme Hacking&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &614 Days" to run player command "/tempban %arg-1% 14d Hacking"
  82. format gui slot 39 of player with gray glass pane named " "
  83. format gui slot 40 of player with paper named "&8&l[&a&lExtreme Chat Abuse&8&l]" with lore "&7Type: &6TempMute &8// &7Duration: &714 Days" to run player command "/mute %arg-1% 14d Chat Abuse"
  84. format gui slot 41 of player with gray glass pane named " "
  85. format gui slot 42 of player with paper named "&8&l[&5&lHibitual Offender&8&l]" with lore "&7Type: &6TempBan &8// &7Duration: &714 Days" to run player command "/tempmute %arg-1% 14d Hibitual Offender"
  86. format gui slot 43 of player with gray glass pane named " "
  87. format gui slot 44 of player with gray glass pane named " "
  88. format gui slot 45 of player with emerald block named "&8&l[&b&lUn-Ban&8&l]" with lore "&7Type: &6Un-Ban" to run player command "/pardon %arg-1%"
  89. format gui slot 46 of player with gray glass pane named " "
  90. format gui slot 47 of player with redstone block named "&8&l[&4&lPermanent Hacking Ban&8&l]" with lore "&7Type: &6Ban &8// &7Duration: &7Permanent" to run player command "/ban %arg-1% Hacking"
  91. format gui slot 48 of player with gray glass pane named " "
  92. format gui slot 49 of player with redstone block named "&8&l[&a&lPermanent Chat Mute&8&l]" with lore "&7Type: &6Mute &8// &7Duration: &7Permanent" to run player command "/mute %arg-1%"
  93. format gui slot 50 of player with gray glass pane named " "
  94. format gui slot 51 of player with redstone block named "&8&l[&5&lPermanent Ban&8&l]" with lore "&7Type: &6Ban &8// &7Duration: &7Permanent" to run player command "/ban %arg-1% Other"
  95. format gui slot 52 of player with gray glass pane named " "
  96. format gui slot 53 of player with barrier named "&4Exit" to close
  97.  
  98. command /punishcustomban [<text>]:
  99. permission: TC.menu.cb
  100. trigger:
  101. open chest with 3 rows named "&4Choose Duration:" to player
  102. format gui slot 0 of player with gray glass pane named " "
  103. format gui slot 1 of player with gray glass pane named " "
  104. format gui slot 2 of player with gray glass pane named " "
  105. format gui slot 3 of player with gray glass pane named " "
  106. format gui slot 4 of player with gray glass pane named " "
  107. format gui slot 5 of player with gray glass pane named " "
  108. format gui slot 6 of player with gray glass pane named " "
  109. format gui slot 7 of player with gray glass pane named " "
  110. format gui slot 8 of player with gray glass pane named " "
  111. format gui slot 9 of player with gray glass pane named " "
  112. format gui slot 10 of player with paper named "&42 Hours" to run player command "/punishcustomban2h %arg-1%"
  113. format gui slot 11 of player with paper named "&46 Hours" to close
  114. format gui slot 12 of player with paper named "&412 Hours" to close
  115. format gui slot 13 of player with paper named "&41 Day" to close
  116. format gui slot 14 of player with paper named "&43 Days" to close
  117. format gui slot 15 of player with paper named "&412 Days" to close
  118. format gui slot 16 of player with paper named "&430 Days" to close
  119. format gui slot 17 of player with gray glass pane named " "
  120. format gui slot 18 of player with gray glass pane named " "
  121. format gui slot 19 of player with gray glass pane named " "
  122. format gui slot 20 of player with gray glass pane named " "
  123. format gui slot 21 of player with gray glass pane named " "
  124. format gui slot 22 of player with redstone block named "&4Permanent"
  125. format gui slot 23 of player with gray glass pane named " "
  126. format gui slot 24 of player with gray glass pane named " "
  127. format gui slot 25 of player with gray glass pane named " "
  128. format gui slot 26 of player with gray glass pane named " "
  129. command /punishcustomban2h [<text>]:
  130. trigger:
  131. wait 3 ticks
  132. send "hi" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement