Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.66 KB | None | 0 0
  1. Options:
  2. {isMuted::%uuid of player%} = false
  3. {isMuted::%uuid of player%} = false
  4.  
  5.  
  6. command /history [<string>] [<offline player>]:
  7. permission: h.use
  8. permission message: No Permission
  9. trigger:
  10. arg 1 or arg 2 is not set:
  11. send "&7Usage: &e/history [mute/ban/kick/reset] (player)"
  12. stop
  13. arg 1 is "mute":
  14. send "&7History:"
  15. loop {history::mutes::%uuid of arg 2%::*}:
  16. send "&e%loop-value%"
  17. arg 1 is "ban":
  18. send "&7History:"
  19. loop {history::bans::%uuid of arg 2%::*}:
  20. send "&e%loop-value%"
  21. arg 1 is "kick":
  22. send "&7History:"
  23. loop {history::kicks::%uuid of arg 2%::*}:
  24. send "&e%loop-value%"
  25. arg 1 is "reset-m":
  26. size of {history::mutes::%uuid of arg 2%::*} is 0:
  27. send "&e%arg 2% &7has no mute history"
  28. stop
  29. delete {history::mutes::%uuid of arg 2%::*}
  30. set {isMuted::%uuid of arg 2%} to false
  31. send "&7Mute history for &e%arg 2% &7has been cleared"
  32. arg 1 is "reset-b":
  33. size of {history::bans::%uuid of arg 2%::*} is 0:
  34. send "&e%arg 2% &7has no ban history"
  35. stop
  36. delete {history::bans::%uuid of arg 2%::*}
  37. set {isBanned::%uuid of arg 2%} to false
  38. send "&7Ban history for &e%arg 2% &7has been cleared"
  39. arg 1 is "reset-k":
  40. size of {history::kicks::%uuid of arg 2%::*} is 0:
  41. send "&e%arg 2% &7has no kick history"
  42. stop
  43. delete {history::kicks::%uuid of arg 2%::*}
  44. send "&7Mute history for &e%arg 2% &7has been cleared"
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. command /tempban [<offline player>] [<string>] [<timespan>]:
  54. permission: tb.use
  55. permission message: No Permission
  56. trigger:
  57. arg 1 or arg 2 or arg 3 is not set:
  58. send "&7Usage: &e/tempban (player) (reason) (duration eg. 4 seconds, 30 days etc)"
  59. stop
  60. {isBanned::%uuid of arg 1%} is true:
  61. send "&e%arg 1% &7is already banned"
  62. stop
  63. kick arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  64. ban arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  65. broadcast "&e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]"
  66. set {isBanned::%uuid of arg 1%} to true
  67. add arg 2 to {history::bans::%uuid of arg 1%::*}
  68. wait arg 3
  69. unban arg 1
  70. set {isBanned::%uuid of arg 1%} to false
  71.  
  72. command /stempban [<offline player>] [<string>] [<timespan>]:
  73. permission: tb.use
  74. permission message: No Permission
  75. trigger:
  76. arg 1 or arg 2 or arg 3 is not set:
  77. send "&7Usage: &e/stempban (player) (reason) (duration eg. 4 seconds, 30 days etc)"
  78. stop
  79. {isBanned::%uuid of arg 1%} is true:
  80. send "&e%arg 1% &7is already banned"
  81. stop
  82. kick arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  83. ban arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  84. loop all players:
  85. loop-player has permission "tb.see":
  86. send "&7[SILENT] &e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]" to loop-player
  87. set {isBanned::%uuid of arg 1%} to true
  88. add arg 2 to {history::bans::%uuid of arg 1%::*}
  89. wait arg 3
  90. unban arg 1
  91. set {isBanned::%uuid of arg 1%} to false
  92.  
  93. command /ban [<offline player>] [<string>]:
  94. permission: b.use
  95. permission message: No Permission
  96. trigger:
  97. arg 1 or arg 2 is not set:
  98. send "&7Usage: &e/ban (player) (reason)"
  99. stop
  100. {isBanned::%uuid of arg 1%} is true:
  101. send "&e%arg 1% &7is already banned"
  102. stop
  103. kick arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  104. ban arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  105. broadcast "&e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]"
  106. set {isBanned::%uuid of arg 1%} to true
  107. add arg 2 to {history::bans::%uuid of arg 1%::*}
  108.  
  109. command /sban [<offline player>] [<string>]:
  110. permission: b.use
  111. permission message: No Permission
  112. trigger:
  113. arg 1 or arg 2 is not set:
  114. send "&7Usage: &e/sban (player) (reason)"
  115. stop
  116. {isBanned::%uuid of arg 1%} is true:
  117. send "&e%arg 1% &7is already banned"
  118. stop
  119. kick arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: %nl%&e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: &e14instapvp.namelesshosting.com"
  120. ban arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
  121. loop all players:
  122. loop-player has permission "b.see":
  123. send "&7[SILENT] &e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]" to loop-player
  124. set {isBanned::%uuid of arg 1%} to true
  125. add arg 2 to {history::bans::%uuid of arg 1%::*}
  126.  
  127.  
  128. command /kick [<player>] [<string>]:
  129. permission: k.use
  130. permission message: No Permission
  131. trigger:
  132. arg 1 or arg 2 is not set:
  133. send "&7Usage: &e/kick (player) (reason)"
  134. stop
  135. kick arg 1 because "&7You have been &ekicked &7from 14InstaPvP! %nl%&7Kicked By: &e%executor% %nl%&7Reason: &e%arg 2%"
  136. broadcast "&e%executor% &akicked &e%arg 1% &7for: &e%arg 2%"
  137. add arg 2 to {history::kicks::%uuid of arg 1%::*}
  138.  
  139. command /skick [<player>] [<string>]:
  140. permission: k.use
  141. permission message: No Permission
  142. trigger:
  143. arg 1 or arg 2 is not set:
  144. send "&7Usage: &e/skick (player) (reason)"
  145. stop
  146. arg 1 is offline:
  147. send "&e%arg 1% &7is offline"
  148. stop
  149. kick arg 1 because "&7You have been &ekicked &7from 14InstaPvP! %nl%&7Kicked By: &e%executor% %nl%&7Reason: &e%arg 2%"
  150. loop all players:
  151. loop-player has permission "k.see":
  152. send "&7[SILENT] &e%executor% &akicked &e%arg 1% &7for: &e%arg 2%" to loop-player
  153. add arg 2 to {history::kicks::%uuid of arg 1%::*}
  154.  
  155. command /unban [<offline player>]:
  156. permission: ub.use
  157. permission message: No Permission
  158. trigger:
  159. arg 1 is not set:
  160. send "&7Usage: &e/unban (player)"
  161. stop
  162. {isBanned::%uuid of arg 1%} is false:
  163. send "&e%arg 1% &7is not banned"
  164. stop
  165. set {isBanned::%uuid of arg 1%} to false
  166. unban arg 1
  167. broadcast "&e%executor% &aunbanned &e%arg 1%"
  168.  
  169. command /sunban [<offline player>]:
  170. permission: ub.use
  171. permission message: No Permission
  172. trigger:
  173. arg 1 is not set:
  174. send "&7Usage: &e/sunban (player)"
  175. stop
  176. {isBanned::%uuid of arg 1%} is false:
  177. send "&e%arg 1% &7is not banned"
  178. stop
  179. set {isBanned::%uuid of arg 1%} to false
  180. unban arg 1
  181. loop all players:
  182. loop-player has permission "ub.see":
  183. send "&7[SILENT] &e%executor% &aunbanned &e%arg 1%" to loop-player
  184.  
  185. command /tempmute [<offline player>] [<string>] [<timespan>]:
  186. permission: tm.use
  187. permission message: No Permission
  188. trigger:
  189. arg 1 or arg 2 or arg 3 is not set:
  190. send "&7Usage: &e/tempmute (player) (reason) (duration eg. 4 seconds, 30 days etc)"
  191. stop
  192. {isMuted::%uuid of arg 1%} is true:
  193. send "&e%arg 1% &7is already muted"
  194. stop
  195. broadcast "&e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]"
  196. set {isMuted::%uuid of arg 1%} to true
  197. add arg 2 to {history::mutes::%uuid of arg 1%::*}
  198. wait arg 3
  199. set {isMuted::%uuid of arg 1%} to false
  200.  
  201. command /stempmute [<offline player>] [<string>] [<timespan>]:
  202. permission: tm.use
  203. permission message: No Permission
  204. trigger:
  205. arg 1 or arg 2 or arg 3 is not set:
  206. send "&7Usage: &e/stempmute (player) (reason) (duration eg. 4 seconds, 30 days etc)"
  207. stop
  208. {isMuted::%uuid of arg 1%} is true:
  209. send "&e%arg 1% &7is already muted"
  210. stop
  211. loop all players:
  212. loop-player has permission "tm.see":
  213. send "&7[SILENT] &e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]" to loop-player
  214. set {isMuted::%uuid of arg 1%} to true
  215. add arg 2 to {history::mutes::%uuid of arg 1%::*}
  216. wait arg 3
  217. set {isMuted::%uuid of arg 1%} to false
  218.  
  219. on chat:
  220. {isMuted::%uuid of player%} is true:
  221. cancel event
  222. send "&7You cannot talk because &eyou are muted"
  223.  
  224. command /unmute [<offline player>]:
  225. permission: um.use
  226. permission message: No Permission
  227. trigger:
  228. arg 1 is not set:
  229. send "&7Usage: &e/unmute (player)"
  230. stop
  231. {isMuted::%uuid of arg 1%} is false:
  232. send "&e%arg 1% &7is not muted"
  233. stop
  234. set {isMuted::%uuid of arg 1%} to false
  235. broadcast "&e%executor% &aunmuted &e%arg 1%"
  236.  
  237. command /sunmute [<offline player>]:
  238. permission: um.use
  239. permission message: No Permission
  240. trigger:
  241. arg 1 is not set:
  242. send "&7Usage: &e/sunmute (player)"
  243. stop
  244. {isMuted::%uuid of arg 1%} is false:
  245. send "&e%arg 1% &7is not muted"
  246. stop
  247. set {isMuted::%uuid of arg 1%} to false
  248. loop all players:
  249. loop-player has permission "um.see":
  250. send "&7[SILENT] &e%executor% &aunmuted &e%arg 1%" to loop-player
  251.  
  252. command /mute [<offline player>] [<string>]:
  253. permission: m.use
  254. permission message: No Permission
  255. trigger:
  256. arg 1 or arg 2 is not set:
  257. send "&7Usage: &e/mute (player) (reason)"
  258. stop
  259. {isMuted::%uuid of arg 1%} is true:
  260. send "&e%arg 1% &7is already muted"
  261. stop
  262. broadcast "&e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]"
  263. set {isMuted::%uuid of arg 1%} to true
  264. add arg 2 to {history::mutes::%uuid of arg 1%::*}
  265.  
  266. command /smute [<offline player>] [<string>]:
  267. permission: m.use
  268. permission message: No Permission
  269. trigger:
  270. arg 1 or arg 2 is not set:
  271. send "&7Usage: &e/smute (player) (reason)"
  272. stop
  273. {isMuted::%uuid of arg 1%} is true:
  274. send "&e%arg 1% &7is already muted"
  275. stop
  276. loop all players:
  277. loop-player has permission "m.see":
  278. send "&7[SILENT] &e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]" to loop-player
  279. set {isMuted::%uuid of arg 1%} to true
  280. add arg 2 to {history::mutes::%uuid of arg 1%::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement