Satoru7135

Untitled

Nov 7th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 230.26 KB | None | 0 0
  1. options:
  2. version: 3.5
  3. #=====================#
  4. # SUPERBANS - HELP #
  5. #=====================#
  6. command /sb:
  7. trigger:
  8. sender is console:
  9. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  10. else:
  11. player has permission "sb.help":
  12. send "&8&m----------------&r &c&lSuperBans &8&m----------------"
  13. send " &e? /punish <player> &b? &7Opens a GUI to punish a player"
  14. send " &e? /check <player> &b? &7Checks punishment status"
  15. send " &e? /bans [page] &b? &7Opens a GUI to view all banned players"
  16. send " &e? /(s)freeze <player> &b? &7Freeze someone"
  17. send " &e? /(s)mute <player> [r:reason] &b? &7Mute forever"
  18. send " &e? /(s)tempmute <player> [r:reason] <timespan> &b? &7Mute for a given time"
  19. send " &e? /(s)warn <player> &b? &7Warn a specified player"
  20. send " &e? /(s)kick <player> [r:reason] &b? &7Kick a specified player"
  21. send " &e? /(s)ban <player> [r:reason] &b? &7Ban forever"
  22. send " &e? /(s)tempban <player> [r:reason] <timespan> &b? &7Ban for a given time"
  23. send " &e? /(s)unfreeze <player> &b? &7Unfreeze frozen players"
  24. send " &e? /(s)unmute <player> &b? &7Unmute muted players"
  25. send " &e? /(s)unban <player> &b? &7Unban banned players"
  26. send " &e? /notify &b? &7Toggle your punishment notifications"
  27. send " &e? /sbreload &b? &7Reload the skript"
  28. send "&8&m--------------------------------------------"
  29. else:
  30. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  31. #=====================#
  32. # PUNISH #
  33. #=====================#
  34. command /punish [<offlineplayer>]:
  35. trigger:
  36. sender is console:
  37. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  38. else:
  39. player has permission "sb.punish":
  40. if arg 1 is not set:
  41. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Who-To-Punish}%" to player
  42. else:
  43. set {_player} to arg 1
  44. open chest with 6 rows named "&0Punish GUI for %arg 1%" to player
  45. set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  46. set slot 1 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  47. set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  48. set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  49. set slot 4 of player's current inventory to {_player}'s skull named "&7Player &8≫ &e%arg 1%" with all removed NBT
  50. set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  51. set slot 6 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  52. set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  53. set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  54. set slot 9 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  55. set slot 10 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  56. set slot 11 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  57. set slot 12 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  58. set slot 13 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  59. set slot 14 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  60. set slot 15 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  61. set slot 16 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  62. set slot 17 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  63. set slot 18 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  64. set slot 19 of player's current inventory to book and quill named "&eMute" with all removed NBT
  65. set slot 20 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  66. set slot 21 of player's current inventory to book and quill named "&eWarn" with all removed NBT
  67. set slot 22 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  68. set slot 23 of player's current inventory to book and quill named "&eKick" with all removed NBT
  69. set slot 24 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  70. set slot 25 of player's current inventory to book and quill named "&eBan" with all removed NBT
  71. set slot 26 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  72. set slot 27 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  73. if {sban.muted.%{uuid::%arg 1%}%} is true:
  74. set slot 28 of player's current inventory to gray dye named "&cMuted" with all removed NBT
  75. else:
  76. set slot 28 of player's current inventory to lime dye named "&aNot muted" with all removed NBT
  77. set slot 29 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  78. if {sban.warns.%{uuid::%arg 1%}%} is not set:
  79. set slot 30 of player's current inventory to lime dye named "&aNot warned" with all removed NBT
  80. else:
  81. if {sban.warns.%{uuid::%arg 1%}%} is 1:
  82. set slot 30 of player's current inventory to lime dye named "&aNot warned" with all removed NBT
  83. else:
  84. set slot 30 of player's current inventory to gray dye named "&cWarned &e%{sban.warns.%{uuid::%arg 1%}%}% &ctimes" with all removed NBT
  85. set slot 31 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  86. set slot 32 of player's current inventory to lime dye named "&aNot Kicked" with all removed NBT
  87. set slot 33 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  88. if {sban.banned.%{uuid::%arg 1%}%} is true:
  89. set slot 34 of player's current inventory to gray dye named "&cBanned" with all removed NBT
  90. else:
  91. set slot 34 of player's current inventory to lime dye named "&aNot banned" with all removed NBT
  92. set slot 35 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  93. set slot 36 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  94. set slot 37 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  95. set slot 38 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  96. set slot 39 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  97. set slot 40 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  98. set slot 41 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  99. set slot 42 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  100. set slot 43 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  101. set slot 44 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  102. set slot 45 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  103. set slot 46 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  104. set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  105. set slot 48 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  106. set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with all removed NBT
  107. set slot 50 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
  108. set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  109. set slot 52 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  110. set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  111. else:
  112. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  113. on inventory click:
  114. if inventory name of player's current inventory contains "&0Punish GUI for":
  115. cancel event
  116. set {_playername} to "%inventory name of player's current inventory%"
  117. replace all "&0Punish GUI for " in {_playername} with ""
  118. if clicked slot is 28:
  119. if clicked item is gray dye:
  120. if {OPTIONS::GUI::Silent} is "false":
  121. make player execute command "/unmute %{_playername}%"
  122. else if {OPTIONS::GUI::Silent} is "true":
  123. make player execute command "/sunmute %{_playername}%"
  124. wait 1 tick
  125. make player execute command "/punish %{_playername}%"
  126. if clicked item is lime dye:
  127. if {OPTIONS::GUI::Silent} is "false":
  128. make player execute command "/mute %{_playername}%"
  129. else if {OPTIONS::GUI::Silent} is "true":
  130. make player execute command "/smute %{_playername}%"
  131. wait 1 tick
  132. make player execute command "/punish %{_playername}%"
  133. if clicked slot is 30:
  134. if clicked item is gray dye:
  135. if {OPTIONS::GUI::Silent} is "false":
  136. make player execute command "/warn %{_playername}%"
  137. else if {OPTIONS::GUI::Silent} is "true":
  138. make player execute command "/swarn %{_playername}%"
  139. wait 1 tick
  140. make player execute command "/punish %{_playername}%"
  141. if clicked item is lime dye:
  142. if {OPTIONS::GUI::Silent} is "false":
  143. make player execute command "/warn %{_playername}%"
  144. else if {OPTIONS::GUI::Silent} is "true":
  145. make player execute command "/swarn %{_playername}%"
  146. wait 1 tick
  147. make player execute command "/punish %{_playername}%"
  148. if clicked slot is 32:
  149. if clicked item is lime dye:
  150. if {OPTIONS::GUI::Silent} is "false":
  151. make player execute command "/kick %{_playername}%"
  152. set slot 32 of player's current inventory to gray dye named "&cKicked" with all removed NBT
  153. else if {OPTIONS::GUI::Silent} is "true":
  154. make player execute command "/skick %{_playername}%"
  155. set slot 32 of player's current inventory to gray dye named "&cKicked" with all removed NBT
  156. wait 1 tick
  157. make player execute command "/punish %{_playername}%"
  158. if clicked slot is 34:
  159. if clicked item is gray dye:
  160. if {OPTIONS::GUI::Silent} is "false":
  161. make player execute command "/unban %{_playername}%"
  162. else if {OPTIONS::GUI::Silent} is "true":
  163. make player execute command "/sunban %{_playername}%"
  164. wait 1 tick
  165. make player execute command "/punish %{_playername}%"
  166. if clicked item is lime dye:
  167. if {OPTIONS::GUI::Silent} is "false":
  168. make player execute command "/ban %{_playername}%"
  169. else if {OPTIONS::GUI::Silent} is "true":
  170. make player execute command "/sban %{_playername}%"
  171. wait 1 tick
  172. make player execute command "/punish %{_playername}%"
  173. if clicked slot is 49:
  174. make player execute command "/punish %{_playername}%"
  175. if clicked slot is 50:
  176. close player's inventory
  177. #=====================#
  178. # CHECK #
  179. #=====================#
  180. command /check [<offlineplayer>]:
  181. trigger:
  182. sender is console:
  183. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  184. else:
  185. player has permission "sb.check":
  186. if arg 1 is set:
  187. if {sban.firstjoin.%{uuid::%arg 1%}%} is not set:
  188. set {sban.firstjoin.%{uuid::%arg 1%}%} to "no"
  189. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Join}%" to player
  190. stop
  191. if {sban.firstjoin.%{uuid::%arg 1%}%} is "no":
  192. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Join}%" to player
  193. stop
  194. else:
  195. send " &8&m-------------------------------"
  196. send " &7You are checking &8≫ &e%arg 1%"
  197. send ""
  198. send " &7Has joined &8≫ &c%{sban.firstjoin.%{uuid::%arg 1%}%}%"
  199. send " &7Banned &8≫ &c%{sban.banned.%{uuid::%arg 1%}%}%"
  200. send " &7Tempbanned &8≫ &c%{sban.tempbanned.%{uuid::%arg 1%}%}%"
  201. send " &7Banned by &8≫ &c%{sban.bannedby.%{uuid::%arg 1%}%}%"
  202. send " &7Ban reason &8≫ &c%{sban.banreason.%{uuid::%arg 1%}%}%"
  203. send " &7Banned on &8≫ &c%{sban.bannedon.%{uuid::%arg 1%}%}%"
  204. send " &7Autounban &8≫ &c%{sban.banexpire.%{uuid::%arg 1%}%}%"
  205. send " &7Muted &8≫ &c%{sban.muted.%{uuid::%arg 1%}%}%"
  206. send " &7Tempmuted &8≫ &c%{sban.tempmuted.%{uuid::%arg 1%}%}%"
  207. send " &7Muted by &8≫ &c%{sban.mutedby.%{uuid::%arg 1%}%}%"
  208. send " &7Mute reason &8≫ &c%{sban.mutereason.%{uuid::%arg 1%}%}%"
  209. send " &7Muted on &8≫ &c%{sban.mutedon.%{uuid::%arg 1%}%}%"
  210. send " &7Autounmute &8≫ &c%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  211. send " &7Has said &8≫ &c%{sweared::%{uuid::%arg 1%}%}% &7bad word(s)."
  212. send " &7Warns &8≫ &c%{sban.warns.%{uuid::%arg 1%}%}%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  213. send " &7UUID &8≫ &c%{uuid::%arg 1%}%"
  214. send " &7IP &8≫ &c%IP address of arg 1%"
  215. send " &8&m-------------------------------"
  216. else:
  217. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/check <player>" to player
  218. else:
  219. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  220. #=====================#
  221. # BANS #
  222. #=====================#
  223. command /bans [<integer=1>]:
  224. trigger:
  225. sender is console:
  226. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  227. else:
  228. player has permission "sb.bans":
  229. set {sizeofbans::*} to size of {bans::*}
  230. set {_page::max} to arg 1 * 45
  231. set {_page::min} to (arg 1 - 1) * 45
  232. set {_page::posts} to 0
  233. set {_page::count} to 0
  234. set {_page::number} to arg 1
  235. set {_pages} to size of {bans::*} / 45
  236. set {_pages} to "%{_pages}%"
  237. set {_pages::*} to {_pages} split at "."
  238. set {_page::total} to {_pages::1}
  239. if {_pages::2} is set:
  240. set {_page::total} to {_page::total} parsed as an integer
  241. add 1 to {_page::total}
  242. if inventory name of player's current inventory does not contain "&0List of banned players":
  243. open chest with 6 rows named "&0List of banned players %{_page::number}%/%{_page::total}%" to player
  244. else:
  245. loop 54 times:
  246. set slot (loop-number - 1) of player's current inventory to air
  247. set inventory name of player's current inventory to "&0List of banned players %{_page::number}%/%{_page::total}%"
  248. if {_page::number} is less than 2:
  249. set slot 45 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  250. set slot 46 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  251. set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  252. set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
  253. set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
  254. set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
  255. set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  256. set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
  257. set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  258. else:
  259. set slot 45 of player's current inventory to arrow named "&ePrevious Page" with all removed NBT
  260. set slot 46 of player's current inventory to book named "&eMain Page" with all removed NBT
  261. set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  262. set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
  263. set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
  264. set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
  265. set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  266. set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
  267. set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  268. loop {bans::*}:
  269. if {_page::posts} is less than {_page::max}:
  270. if {_page::count} is greater than or equal to {_page::min}:
  271. if {sban.warns.%{uuid::%loop-value%}%} is not set:
  272. set {sban.warns.%{uuid::%loop-value%}%} to 1
  273. if {sban.tempbanned.%{uuid::%loop-value%}%} is not set:
  274. set {sban.tempbanned.%{uuid::%loop-value%}%} to "no"
  275. if {sban.firstjoin.%{uuid::%loop-value%}%} is "yes":
  276. set slot {_page::posts} of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%||||&7Do &c/check %loop-value% &7to view||&7more info about this player" with all removed NBT
  277. else:
  278. set {sban.firstjoin.%{uuid::%loop-value%}%} to "no"
  279. set slot {_page::posts} of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%" with all removed NBT
  280. add 1 to {_page::posts}
  281. add 1 to {_page::count}
  282. if {_page::number} is less than {_page::total}:
  283. set slot 45 of player's current inventory to arrow named "&ePrevious Page" with all removed NBT
  284. set slot 46 of player's current inventory to book named "&eMain Page" with all removed NBT
  285. set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  286. set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
  287. set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
  288. set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
  289. set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  290. set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
  291. set slot 53 of player's current inventory to arrow named "&eNext Page" with all removed NBT
  292. if {_page::count} is 0:
  293. open chest with 1 row named "&0There are %{_page::count}% banned players" to player
  294. set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  295. set slot 1 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  296. set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  297. set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  298. set slot 4 of player's current inventory to book named "&eThere aren't banned players" with all removed NBT
  299. set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  300. set slot 6 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  301. set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  302. set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  303. else:
  304. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  305. command /bansconfirm [<offlineplayer>]:
  306. trigger:
  307. sender is console:
  308. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  309. else:
  310. player has permission "sb.bansconfirm":
  311. if arg 1 is not set:
  312. stop
  313. else:
  314. if {bans::*} is not set:
  315. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Bans}%" to player
  316. else:
  317. loop {bans::*}:
  318. if loop-value = arg 1:
  319. if {sban.warns.%{uuid::%loop-value%}%} is not set:
  320. set {sban.warns.%{uuid::%loop-value%}%} to 1
  321. open chest with 1 row named "&0You must confirm to unban him" to player
  322. set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  323. set slot 1 of player's current inventory to book named "&eMain Page" with lore "||&7Click here to go to bans page" with all removed NBT
  324. set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  325. set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  326. if {sban.tempbanned.%{uuid::%loop-value%}%} is not set:
  327. set {sban.tempbanned.%{uuid::%loop-value%}%} to "no"
  328. if {sban.firstjoin.%{uuid::%loop-value%}%} is "yes":
  329. set slot 4 of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oAre you shure to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%||||&7Do &c/check %loop-value% &7to view||&7more info about this player" with all removed NBT
  330. else:
  331. set {sban.firstjoin.%{uuid::%loop-value%}%} to "no"
  332. set slot 4 of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%}" with all removed NBT
  333. set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  334. set slot 6 of player's current inventory to light green stained glass pane named "&7Unban &8≫ &a%loop-value%" with all removed NBT
  335. set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  336. set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
  337. else:
  338. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  339. on chat:
  340. if {bans.chat::%{uuid::%player%}%} is true:
  341. cancel event
  342. set {_search} to "%message%" parsed as offline player
  343. if {_search} is "cancel":
  344. delete {bans.chat::%{uuid::%player%}%}
  345. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Search-Anulated}%" to player
  346. else:
  347. if {sban.banned.%{uuid::%{_search}%}%} is not set:
  348. show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_banned}%" to player
  349. delete {bans.chat::%{uuid::%player%}%}
  350. else:
  351. if {sban.banned.%{uuid::%{_search}%}%} is true:
  352. delete {bans.chat::%{uuid::%player%}%}
  353. execute player command "/bansconfirm %{_search}%"
  354. else:
  355. delete {bans.chat::%{uuid::%player%}%}
  356. show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_banned}%" to player
  357. if {sban.muted.%{uuid::%player%}%} is true:
  358. if {sban.muteexpire.%{uuid::%player%}%} is not "Never":
  359. set {_elapsedtime} to difference between now and {sban.muteexpire.%{uuid::%player%}%}
  360. if {_elapsedtime} is greater than {sban.tempmutelenght.%{uuid::%player%}%}:
  361. execute console command "/sunmute %player%"
  362. #=====================#
  363. # ANTISWEAR #
  364. #=====================#
  365. if {OPTIONS::ANTISWEAR::Enabled} is "true":
  366. player doesn't have permission "sb.antiswear.bypass":
  367. set {_msg} to message
  368. replace all {OPTIONS::ANTISWEAR::WORDS::*} in message with "%colored {OPTIONS::ANTISWEAR::Word-Replacer}%"
  369. add 1 to {sweared::%{uuid::%player%}%}
  370. loop {OPTIONS::ANTISWEAR::WORDS::*}:
  371. if {_msg} contains "%loop-value%":
  372. add "%loop-value%" to {word::%{uuid::%player%}%::*}
  373. if {word::%{uuid::%player%}%::*} is set:
  374. loop all players:
  375. if player has permission "sb.antiswear.notify":
  376. if {notify.%{uuid::%loop-player%}%} is true:
  377. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  378. set {_msg} to join {MESSAGES::ANTISWEAR::SENT-TO-ADMINS::*} by "%nl%"
  379. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  380. replace all "{_PLAYER}" in {_msg} with "%player%"
  381. replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%loop-player%}%::*}%"
  382. replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
  383. send "%colored {_msg}%" to loop-player
  384. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  385. set {_msg} to "%{MESSAGES::ANTISWEAR::Actionbar}%"
  386. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  387. replace all "{_PLAYER}" in {_msg} with "%player%"
  388. replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%loop-player%}%::*}%"
  389. replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
  390. show an action bar from "%colored {_msg}%" to loop-player
  391. set {_msg} to join {MESSAGES::ANTISWEAR::SENT-TO-PLAYER::*} by "%nl%"
  392. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  393. replace all "{_PLAYER}" in {_msg} with "%player%"
  394. replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%player%}%::*}%"
  395. replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
  396. send "%colored {_msg}%" to player
  397. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  398. set {_msg} to "%{MESSAGES::ANTISWEAR::Console}%"
  399. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  400. replace all "{_PLAYER}" in {_msg} with "%player%"
  401. replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%player%}%::*}%"
  402. replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
  403. send "%colored {_msg}%" to console
  404. delete {word::%{uuid::%player%}%::*}
  405.  
  406. on inventory click:
  407. if inventory name of player's current inventory contains "&0There are":
  408. cancel event
  409. if inventory name of player's current inventory contains "&0List of banned players":
  410. cancel event
  411. set {_page} to "%inventory name of player's current inventory%"
  412. replace all "&0List of banned players " in {_page} with ""
  413. set {_pages::*} to {_page} split at "/"
  414. if clicked slot is less than 45:
  415. if clicked item is player head:
  416. if name of item contains "&7Player":
  417. set {_playername} to "%clicked item's name%"
  418. replace all "&7Player &8≫ &e" in {_playername} with ""
  419. execute player command "/bansconfirm %{_playername}%"
  420. if clicked slot is 45:
  421. if clicked item's name is "&ePrevious Page":
  422. if {_pages::1} parsed as an integer is greater than 1:
  423. execute player command "/bans %{_pages::1} parsed as an integer - 1%"
  424. else:
  425. close player's inventory
  426. if clicked slot is 46:
  427. execute player command "/bans"
  428. if clicked slot is 49:
  429. execute player command "/bans %{_pages::1} parsed as an integer%"
  430. if clicked slot is 50:
  431. if clicked item's name is "&eSearch players":
  432. close player's inventory
  433. set {bans.chat::%{uuid::%player%}%} to true
  434. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Search-Player}%" to player
  435. if clicked slot is 52:
  436. close player's inventory
  437. if clicked slot is 53:
  438. if clicked item's name is "&eNext Page":
  439. execute player command "/bans %{_pages::1} parsed as an integer + 1%"
  440. if inventory name of player's current inventory contains "&0You must confirm to unban him":
  441. cancel event
  442. if clicked slot is 1:
  443. execute player command "/bans"
  444. if clicked slot is 6:
  445. set {_playername} to "%clicked item's name%"
  446. replace all "&7Unban &8≫ &a" in {_playername} with ""
  447. if "%{OPTIONS::GUI::Unban-Messages}%" is "true":
  448. execute player command "/unban %{_playername}%"
  449. else if "%{OPTIONS::GUI::Unban-Messages}%" is "false":
  450. execute player command "/sunban %{_playername}%"
  451. if "%{OPTIONS::GUI::Keep-Open}%" is "false":
  452. close player's inventory
  453. else if "%{OPTIONS::GUI::Keep-Open}%" is "true":
  454. execute player command "/bans"
  455. #=====================#
  456. # FREEZE #
  457. #=====================#
  458. command /freeze [<offlineplayer>]:
  459. trigger:
  460. sender is console:
  461. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  462. else:
  463. player has permission "sb.freeze":
  464. if arg 1 is set:
  465. if arg 1 is online:
  466. if {sban.frozen.%{uuid::%arg 1%}%} is true:
  467. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Already}%" to player
  468. else:
  469. if arg 1 has permission "sb.freeze.exempt":
  470. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Cannot}%" to player
  471. else:
  472. set {sban.frozen.%{uuid::%arg 1%}%} to true
  473. set {sban.frozenby.%{uuid::%arg 1%}%} to "%sender%"
  474. set {sban.lastloc.%{uuid::%arg 1%}%} to player's location
  475. add arg 1 to {frozen::*}
  476. loop all players:
  477. if loop-player has permission "sb.freeze.notify":
  478. if {notify.%{uuid::%loop-player%}%} is true:
  479. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  480. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-1::*} by "%nl%"
  481. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  482. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  483. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  484. send "%colored {_msg}%" to loop-player
  485. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  486. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-1}%"
  487. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  488. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  489. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  490. show an action bar from "%colored {_msg}%" to loop-player
  491. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} by "%nl%"
  492. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  493. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  494. send "%colored {_msg}%" to arg 1
  495. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  496. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1}%"
  497. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  498. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  499. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  500. send "%colored {_msg}%" to console
  501. else:
  502. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  503. else:
  504. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)freeze <player>" to player
  505. else:
  506. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  507. command /sfreeze [<offlineplayer>]:
  508. trigger:
  509. sender is console:
  510. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  511. else:
  512. player has permission "sb.silentfreeze":
  513. if arg 1 is set:
  514. if arg 1 is online:
  515. if {sban.frozen.%{uuid::%arg 1%}%} is true:
  516. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Already}%" to player
  517. else:
  518. if arg 1 has permission "sb.freeze.exempt":
  519. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Cannot}%" to player
  520. else:
  521. set {sban.frozen.%{uuid::%arg 1%}%} to true
  522. set {sban.frozenby.%{uuid::%arg 1%}%} to "%sender%"
  523. set {sban.lastloc.%{uuid::%arg 1%}%} to player's location
  524. add arg 1 to {frozen::*}
  525. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} by "%nl%"
  526. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  527. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  528. send "%colored {_msg}%" to arg 1
  529. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  530. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1}%"
  531. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  532. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  533. replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
  534. send "%colored {_msg}%" to console
  535. else:
  536. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  537. else:
  538. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)freeze <player>" to player
  539. else:
  540. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  541. on any movement:
  542. if {sban.frozen.%{uuid::%player%}%} is true:
  543. set player's walk speed to 0
  544. set {sban.newloc.%{uuid::%player%}%} to player's location
  545. if distance between {sban.lastloc.%{uuid::%player%}%} and {sban.newloc.%{uuid::%player%}%} is more than 0.1:
  546. teleport player to {sban.lastloc.%{uuid::%player%}%}
  547. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Move}%" to player
  548. stop
  549. on command:
  550. if {sban.frozen.%{uuid::%player%}%} is true:
  551. set {_cmd} to command
  552. if "%{OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*}%" contains {_cmd}:
  553. cancel event
  554. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Command}%"
  555. #=====================#
  556. # MUTE #
  557. #=====================#
  558. command /mute [<offlineplayer>] [<text>]:
  559. trigger:
  560. sender is console:
  561. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  562. else:
  563. player has permission "sb.mute":
  564. if arg 1 is set:
  565. if arg 1 is online:
  566. if arg 2 is "r:":
  567. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  568. stop
  569. if arg 2 contains "r:":
  570. if {sban.muted.%{uuid::%arg 1%}%} is true:
  571. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
  572. else:
  573. if arg 1 has permission "sb.mute.exempt":
  574. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
  575. else:
  576. set {sban.muted.%{uuid::%arg 1%}%} to true
  577. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  578. set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
  579. replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
  580. set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
  581. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  582. add arg 1 to {mutes::*}
  583. loop all players:
  584. if loop-player has permission "sb.mute.notify":
  585. if {notify.%{uuid::%loop-player%}%} is true:
  586. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  587. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} by "%nl%"
  588. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  589. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  590. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  591. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  592. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  593. send "%colored {_msg}%" to loop-player
  594. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  595. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1}%"
  596. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  597. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  598. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  599. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  600. show an action bar from "%colored {_msg}%" to loop-player
  601. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
  602. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  603. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  604. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  605. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  606. send "%colored {_msg}%" to arg 1
  607. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  608. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
  609. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  610. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  611. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  612. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  613. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  614. send "%colored {_msg}%" to console
  615. else:
  616. if {sban.muted.%{uuid::%arg 1%}%} is true:
  617. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
  618. else:
  619. if arg 1 has permission "sb.mute.exempt":
  620. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
  621. else:
  622. set {sban.muted.%{uuid::%arg 1%}%} to true
  623. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  624. set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Mute}%"
  625. set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
  626. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  627. add arg 1 to {mutes::*}
  628. loop all players:
  629. if loop-player has permission "sb.mute.notify":
  630. if {notify.%{uuid::%loop-player%}%} is true:
  631. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  632. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} by "%nl%"
  633. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  634. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  635. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  636. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  637. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  638. send "%colored {_msg}%" to loop-player
  639. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  640. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1}%"
  641. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  642. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  643. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  644. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  645. show an action bar from "%colored {_msg}%" to loop-player
  646. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
  647. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  648. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  649. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  650. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  651. send "%colored {_msg}%" to arg 1
  652. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  653. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
  654. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  655. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  656. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  657. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  658. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  659. send "%colored {_msg}%" to console
  660. else:
  661. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  662. else:
  663. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)mute <player> [r:reason]" to player
  664. else:
  665. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  666. command /smute [<offlineplayer>] [<text>]:
  667. trigger:
  668. sender is console:
  669. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  670. else:
  671. player has permission "sb.silentmute":
  672. if arg 1 is set:
  673. if arg 1 is online:
  674. if arg 2 is "r:":
  675. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  676. stop
  677. if arg 2 contains "r:":
  678. if {sban.muted.%{uuid::%arg 1%}%} is true:
  679. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
  680. else:
  681. if arg 1 has permission "sb.mute.exempt":
  682. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
  683. else:
  684. set {sban.muted.%{uuid::%arg 1%}%} to true
  685. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  686. set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
  687. replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
  688. set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
  689. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  690. add arg 1 to {mutes::*}
  691. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
  692. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  693. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  694. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  695. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  696. send "%colored {_msg}%" to arg 1
  697. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  698. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
  699. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  700. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  701. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  702. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  703. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  704. send "%colored {_msg}%" to console
  705. else:
  706. if {sban.muted.%{uuid::%arg 1%}%} is true:
  707. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
  708. else:
  709. if arg 1 has permission "sb.mute.exempt":
  710. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
  711. else:
  712. set {sban.muted.%{uuid::%arg 1%}%} to true
  713. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  714. set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Mute}%"
  715. set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
  716. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  717. add arg 1 to {mutes::*}
  718. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
  719. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  720. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  721. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  722. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  723. send "%colored {_msg}%" to arg 1
  724. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  725. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
  726. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  727. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  728. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  729. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  730. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  731. send "%colored {_msg}%" to console
  732. else:
  733. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  734. else:
  735. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)mute <player> [r:reason]" to player
  736. else:
  737. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  738. #=====================#
  739. # TEMPMUTE #
  740. #=====================#
  741. command /tempmute [<offlineplayer>] [<text>] [<timespan>]:
  742. trigger:
  743. sender is console:
  744. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  745. else:
  746. player has permission "sb.tempmute":
  747. if arg 1 is set:
  748. if arg 1 is online:
  749. if arg 2 is "r:":
  750. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  751. stop
  752. if arg 2 contains "r:":
  753. if arg 3 is set:
  754. if {sban.muted.%{uuid::%arg 1%}%} is true:
  755. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
  756. else:
  757. if arg 1 has permission "sb.tempmute.exempt":
  758. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
  759. else:
  760. set {_now} to now
  761. set {_timespan} to arg 3
  762. add {_timespan} to {_now}
  763. set {_remaining} to {_now}
  764. add arg 1 to {tempmutes::*}
  765. set {sban.muted.%{uuid::%arg 1%}%} to true
  766. set {sban.tempmuted.%{uuid::%arg 1%}%} to true
  767. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  768. set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
  769. replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
  770. set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
  771. set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
  772. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  773. add arg 1 to {mutes::*}
  774. loop all players:
  775. if loop-player has permission "sb.tempmute.notify":
  776. if {notify.%{uuid::%loop-player%}%} is true:
  777. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  778. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} by "%nl%"
  779. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  780. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  781. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  782. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  783. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  784. send "%colored {_msg}%" to loop-player
  785. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  786. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2}%"
  787. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  788. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  789. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  790. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  791. show an action bar from "%colored {_msg}%" to loop-player
  792. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
  793. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  794. replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
  795. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  796. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  797. send "%colored {_msg}%" to arg 1
  798. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  799. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
  800. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  801. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  802. replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
  803. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  804. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  805. send "%colored {_msg}%" to console
  806. else:
  807. if arg 3 is set:
  808. if {sban.muted.%{uuid::%arg 1%}%} is true:
  809. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
  810. else:
  811. if arg 1 has permission "sb.tempmute.exempt":
  812. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
  813. else:
  814. set {_now} to now
  815. set {_timespan} to arg 3
  816. add {_timespan} to {_now}
  817. set {_remaining} to {_now}
  818. add arg 1 to {tempmutes::*}
  819. set {sban.muted.%{uuid::%arg 1%}%} to true
  820. set {sban.tempmuted.%{uuid::%arg 1%}%} to true
  821. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  822. set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempmute}%"
  823. set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
  824. set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
  825. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  826. add arg 1 to {mutes::*}
  827. loop all players:
  828. if loop-player has permission "sb.tempmute.notify":
  829. if {notify.%{uuid::%loop-player%}%} is true:
  830. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  831. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} by "%nl%"
  832. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  833. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  834. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  835. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  836. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  837. send "%colored {_msg}%" to loop-player
  838. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  839. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2}%"
  840. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  841. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  842. replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
  843. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  844. show an action bar from "%colored {_msg}%" to loop-player
  845. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
  846. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  847. replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
  848. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  849. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  850. send "%colored {_msg}%" to arg 1
  851. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  852. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
  853. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  854. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  855. replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
  856. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  857. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  858. send "%colored {_msg}%" to console
  859. else:
  860. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  861. else:
  862. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempmute <player> [r:reason] <timespan>" to player
  863. else:
  864. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  865. command /stempmute [<offlineplayer>] [<text>] [<timespan>]:
  866. trigger:
  867. sender is console:
  868. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  869. else:
  870. player has permission "sb.silenttempmute":
  871. if arg 1 is set:
  872. if arg 1 is online:
  873. if arg 2 is "r:":
  874. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  875. stop
  876. if arg 2 contains "r:":
  877. if arg 3 is set:
  878. if {sban.muted.%{uuid::%arg 1%}%} is true:
  879. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
  880. else:
  881. if arg 1 has permission "sb.tempmute.exempt":
  882. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
  883. else:
  884. set {_now} to now
  885. set {_timespan} to arg 3
  886. add {_timespan} to {_now}
  887. set {_remaining} to {_now}
  888. add arg 1 to {tempmutes::*}
  889. set {sban.muted.%{uuid::%arg 1%}%} to true
  890. set {sban.tempmuted.%{uuid::%arg 1%}%} to true
  891. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  892. set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
  893. replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
  894. set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
  895. set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
  896. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  897. add arg 1 to {mutes::*}
  898. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
  899. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  900. replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
  901. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  902. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  903. send "%colored {_msg}%" to arg 1
  904. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  905. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
  906. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  907. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  908. replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
  909. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  910. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  911. send "%colored {_msg}%" to console
  912. else:
  913. if arg 3 is set:
  914. if {sban.muted.%{uuid::%arg 1%}%} is true:
  915. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
  916. else:
  917. if arg 1 has permission "sb.tempmute.exempt":
  918. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
  919. else:
  920. set {_now} to now
  921. set {_timespan} to arg 3
  922. add {_timespan} to {_now}
  923. set {_remaining} to {_now}
  924. add arg 1 to {tempmutes::*}
  925. set {sban.muted.%{uuid::%arg 1%}%} to true
  926. set {sban.tempmuted.%{uuid::%arg 1%}%} to true
  927. set {sban.mutedon.%{uuid::%arg 1%}%} to now
  928. set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempmute}%"
  929. set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
  930. set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
  931. set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
  932. add arg 1 to {mutes::*}
  933. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
  934. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  935. replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
  936. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  937. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  938. send "%colored {_msg}%" to arg 1
  939. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  940. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
  941. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  942. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  943. replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
  944. replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
  945. replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
  946. send "%colored {_msg}%" to console
  947. else:
  948. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  949. else:
  950. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempmute <player> [r:reason] <timespan>" to player
  951. else:
  952. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  953. #=====================#
  954. # WARN #
  955. #=====================#
  956. command /warn [<offlineplayer>]:
  957. trigger:
  958. sender is console:
  959. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  960. else:
  961. player has permission "sb.warn":
  962. if arg 1 is set:
  963. if arg 1 is online:
  964. if arg 1 has permission "sb.warn.exempt":
  965. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::WARN::Cannot}%" to player
  966. else:
  967. if "%{sban.warns.%{uuid::%arg 1%}%}%" = "%{OPTIONS::PUNISHMENTS::Max-Warns}%":
  968. set {sban.warnedby.%{uuid::%arg 1%}%} to "%sender%"
  969. set {sban.kicked.%{uuid::%arg 1%}%} to true
  970. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  971. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  972. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  973. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  974. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  975. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  976. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  977. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  978. kick arg 1 due to "%colored {_msg}%"
  979. loop all players:
  980. if loop-player has permission "sb.maxwarn.notify":
  981. if {notify.%{uuid::%loop-player%}%} is true:
  982. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  983. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} by "%nl%"
  984. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  985. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  986. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  987. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  988. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  989. send "%colored {_msg}%" to loop-player
  990. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  991. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar}%"
  992. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  993. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  994. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  995. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  996. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  997. show an actionbar from "%colored {_msg}%" to loop-player
  998. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  999. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
  1000. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1001. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1002. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1003. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1004. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1005. send "%colored {_msg}%" to console
  1006. set {sban.warns.%{uuid::%arg 1%}%} to 0
  1007. set {sban.warnedby.%{uuid::%arg 1%}%} to "-"
  1008. else:
  1009. set {sban.warns.%{uuid::%arg 1%}%} to {sban.warns.%{uuid::%arg 1%}%} + 1
  1010. set {sban.warnedby.%{uuid::%arg 1%}%} to "%player%"
  1011. loop all players:
  1012. if loop-player has permission "sb.warn.notify":
  1013. if {notify.%{uuid::%loop-player%}%} is true:
  1014. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1015. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} by "%nl%"
  1016. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1017. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1018. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1019. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1020. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1021. send "%colored {_msg}%" to loop-player
  1022. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1023. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar}%"
  1024. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1025. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1026. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1027. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1028. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1029. show an actionbar from "%colored {_msg}%" to loop-player
  1030. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} by "%nl%"
  1031. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1032. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1033. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1034. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1035. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1036. send "%colored {_msg}%" to arg 1
  1037. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1038. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
  1039. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1040. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1041. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1042. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1043. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1044. send "%colored {_msg}%" to console
  1045. else:
  1046. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  1047. else:
  1048. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)warn <player>" to player
  1049. else:
  1050. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1051. command /swarn [<offlineplayer>]:
  1052. trigger:
  1053. sender is console:
  1054. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1055. else:
  1056. player has permission "sb.silentwarn":
  1057. if arg 1 is set:
  1058. if arg 1 is online:
  1059. if arg 1 has permission "sb.warn.exempt":
  1060. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::WARN::Cannot}%" to player
  1061. else:
  1062. if "%{sban.warns.%{uuid::%arg 1%}%}%" = "%{OPTIONS::PUNISHMENTS::Max-Warns}%":
  1063. set {sban.warnedby.%{uuid::%arg 1%}%} to "%sender%"
  1064. set {sban.kicked.%{uuid::%arg 1%}%} to true
  1065. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  1066. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1067. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1068. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1069. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1070. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1071. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1072. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1073. kick arg 1 due to "%colored {_msg}%"
  1074. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1075. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
  1076. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1077. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1078. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1079. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1080. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1081. send "%colored {_msg}%" to console
  1082. set {sban.warns.%{uuid::%arg 1%}%} to 0
  1083. set {sban.warnedby.%{uuid::%arg 1%}%} to "-"
  1084. else:
  1085. set {sban.warns.%{uuid::%arg 1%}%} to {sban.warns.%{uuid::%arg 1%}%} + 1
  1086. set {sban.warnedby.%{uuid::%arg 1%}%} to "%player%"
  1087. set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} by "%nl%"
  1088. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1089. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1090. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1091. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1092. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1093. send "%colored {_msg}%" to arg 1
  1094. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1095. set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
  1096. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1097. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1098. replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
  1099. replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
  1100. replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
  1101. send "%colored {_msg}%" to console
  1102. else:
  1103. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  1104. else:
  1105. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)warn <player>" to player
  1106. else:
  1107. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1108. #=====================#
  1109. # KICK #
  1110. #=====================#
  1111. command /kick [<offlineplayer>] [<text>]:
  1112. trigger:
  1113. sender is console:
  1114. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1115. else:
  1116. player has permission "sb.kick":
  1117. if arg 1 is set:
  1118. if arg 1 is online:
  1119. if arg 2 is "r:":
  1120. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1121. stop
  1122. if arg 2 contains "r:":
  1123. if arg 1 has permission "sb.kick.exempt":
  1124. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
  1125. else:
  1126. set {sban.kicked.%{uuid::%arg 1%}%} to true
  1127. set {sban.kickreason.%{uuid::%arg 1%}%} to arg 2
  1128. replace all "r:" in {sban.kickreason.%{uuid::%arg 1%}%} with ""
  1129. set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
  1130. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
  1131. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1132. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1133. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1134. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1135. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1136. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1137. kick arg 1 due to "%colored {_msg}%"
  1138. loop all players:
  1139. if loop-player has permission "sb.kick.notify":
  1140. if {notify.%{uuid::%loop-value%}%} is true:
  1141. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1142. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} by "%nl%"
  1143. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1144. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1145. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1146. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1147. send "%colored {_msg}%" to loop-player
  1148. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1149. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar}%"
  1150. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1151. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1152. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1153. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1154. show an action bar from "%colored {_msg}%" to loop-player
  1155. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1156. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
  1157. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1158. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1159. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1160. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1161. send "%colored {_msg}%" to console
  1162. else:
  1163. if arg 1 has permission "sb.kick.exempt":
  1164. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
  1165. else:
  1166. set {sban.kicked.%{uuid::%arg 1%}%} to true
  1167. set {sban.kickreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Kick}%"
  1168. set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
  1169. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
  1170. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1171. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1172. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1173. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1174. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1175. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1176. kick arg 1 due to "%colored {_msg}%"
  1177. loop all players:
  1178. if loop-player has permission "sb.kick.notify":
  1179. if {notify.%{uuid::%loop-value%}%} is true:
  1180. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1181. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} by "%nl%"
  1182. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1183. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1184. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1185. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1186. send "%colored {_msg}%" to loop-player
  1187. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1188. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar}%"
  1189. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1190. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1191. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1192. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1193. show an action bar from "%colored {_msg}%" to loop-player
  1194. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1195. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
  1196. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1197. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1198. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1199. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1200. send "%colored {_msg}%" to console
  1201. else:
  1202. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  1203. else:
  1204. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)kick <player> [r:reason]" to player
  1205. else:
  1206. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1207. command /skick [<offlineplayer>] [<text>]:
  1208. trigger:
  1209. sender is console:
  1210. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1211. else:
  1212. player has permission "sb.silentkick":
  1213. if arg 1 is set:
  1214. if arg 1 is online:
  1215. if arg 2 is "r:":
  1216. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1217. stop
  1218. if arg 2 contains "r:":
  1219. if arg 1 has permission "sb.kick.exempt":
  1220. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
  1221. else:
  1222. set {sban.kicked.%{uuid::%arg 1%}%} to true
  1223. set {sban.kickreason.%{uuid::%arg 1%}%} to arg 2
  1224. replace all "r:" in {sban.kickreason.%{uuid::%arg 1%}%} with ""
  1225. set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
  1226. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
  1227. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1228. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1229. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1230. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1231. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1232. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1233. kick arg 1 due to "%colored {_msg}%"
  1234. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1235. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
  1236. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1237. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1238. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1239. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1240. send "%colored {_msg}%" to console
  1241. else:
  1242. if arg 1 has permission "sb.kick.exempt":
  1243. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
  1244. else:
  1245. set {sban.kicked.%{uuid::%arg 1%}%} to true
  1246. set {sban.kickreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Kick}%"
  1247. set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
  1248. set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
  1249. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1250. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1251. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1252. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1253. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1254. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1255. kick arg 1 due to "%colored {_msg}%"
  1256. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1257. set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
  1258. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1259. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1260. replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
  1261. replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
  1262. send "%colored {_msg}%" to console
  1263. else:
  1264. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
  1265. else:
  1266. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)kick <player> [r:reason]" to player
  1267. else:
  1268. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1269. #=====================#
  1270. # BAN #
  1271. #=====================#
  1272. command /ban [<offlineplayer>] [<text>]:
  1273. trigger:
  1274. sender is console:
  1275. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1276. else:
  1277. player has permission "sb.ban":
  1278. if arg 1 is set:
  1279. if arg 2 is "r:":
  1280. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1281. stop
  1282. if arg 2 contains "r:":
  1283. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1284. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
  1285. else:
  1286. if arg 1 has permission "sb.ban.exempt":
  1287. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
  1288. else:
  1289. set {sban.banned.%{uuid::%arg 1%}%} to true
  1290. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1291. set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
  1292. replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
  1293. set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
  1294. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1295. add arg 1 to {bans::*}
  1296. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  1297. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1298. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1299. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1300. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1301. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1302. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1303. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1304. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1305. kick arg 1 due to "%colored {_msg}%"
  1306. loop all players:
  1307. if loop-player has permission "sb.ban.notify":
  1308. if {notify.%loop-player%} is true:
  1309. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1310. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} by "%nl%"
  1311. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1312. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1313. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1314. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1315. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1316. send "%colored {_msg}%" to loop-player
  1317. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1318. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1}%"
  1319. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1320. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1321. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1322. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1323. show an action bar from "%colored {_msg}%" to loop-player
  1324. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1325. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
  1326. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1327. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1328. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1329. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1330. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1331. send "%colored {_msg}%" to console
  1332. else:
  1333. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1334. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
  1335. else:
  1336. if arg 1 has permission "sb.ban.exempt":
  1337. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
  1338. else:
  1339. set {sban.banned.%{uuid::%arg 1%}%} to true
  1340. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1341. set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Ban}%"
  1342. set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
  1343. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1344. add arg 1 to {bans::*}
  1345. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  1346. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1347. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1348. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1349. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1350. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1351. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1352. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1353. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1354. kick arg 1 due to "%colored {_msg}%"
  1355. loop all players:
  1356. if loop-player has permission "sb.ban.notify":
  1357. if {notify.%loop-player%} is true:
  1358. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1359. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} by "%nl%"
  1360. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1361. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1362. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1363. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1364. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1365. send "%colored {_msg}%" to loop-player
  1366. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1367. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1}%"
  1368. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1369. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1370. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1371. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1372. show an action bar from "%colored {_msg}%" to loop-player
  1373. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1374. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
  1375. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1376. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1377. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1378. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1379. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1380. send "%colored {_msg}%" to console
  1381. else:
  1382. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)ban <player> [r:reason]" to player
  1383. else:
  1384. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1385. command /sban [<offlineplayer>] [<text>]:
  1386. trigger:
  1387. sender is console:
  1388. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1389. else:
  1390. player has permission "sb.silentban":
  1391. if arg 1 is set:
  1392. if arg 2 is "r:":
  1393. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1394. stop
  1395. if arg 2 contains "r:":
  1396. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1397. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
  1398. else:
  1399. if arg 1 has permission "sb.ban.exempt":
  1400. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
  1401. else:
  1402. set {sban.banned.%{uuid::%arg 1%}%} to true
  1403. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1404. set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
  1405. replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
  1406. set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
  1407. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1408. add arg 1 to {bans::*}
  1409. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  1410. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1411. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1412. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1413. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1414. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1415. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1416. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1417. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1418. kick arg 1 due to "%colored {_msg}%"
  1419. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1420. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
  1421. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1422. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1423. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1424. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1425. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1426. send "%colored {_msg}%" to console
  1427. else:
  1428. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1429. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
  1430. else:
  1431. if arg 1 has permission "sb.ban.exempt":
  1432. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
  1433. else:
  1434. set {sban.banned.%{uuid::%arg 1%}%} to true
  1435. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1436. set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Ban}%"
  1437. set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
  1438. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1439. add arg 1 to {bans::*}
  1440. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
  1441. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1442. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1443. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1444. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1445. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1446. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1447. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1448. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1449. kick arg 1 due to "%colored {_msg}%"
  1450. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1451. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
  1452. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1453. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1454. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1455. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1456. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1457. send "%colored {_msg}%" to console
  1458. else:
  1459. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)ban <player> [r:reason]" to player
  1460. else:
  1461. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1462. #=====================#
  1463. # TEMPBAN #
  1464. #=====================#
  1465. command /tempban [<offlineplayer>] [<text>] [<timespan>]:
  1466. trigger:
  1467. sender is console:
  1468. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1469. else:
  1470. player has permission "sb.tempban":
  1471. if arg 1 is set:
  1472. if arg 2 is "r:":
  1473. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1474. stop
  1475. if arg 2 contains "r:":
  1476. if arg 3 is set:
  1477. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1478. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
  1479. else:
  1480. if arg 1 has permission "sb.tempban.exempt":
  1481. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
  1482. else:
  1483. set {_now} to now
  1484. set {_timespan} to arg 3
  1485. add {_timespan} to {_now}
  1486. set {_remaining} to {_now}
  1487. set {sban.banned.%{uuid::%arg 1%}%} to true
  1488. set {sban.tempbanned.%{uuid::%arg 1%}%} to true
  1489. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1490. set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
  1491. replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
  1492. set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
  1493. set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
  1494. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1495. add arg 1 to {bans::*}
  1496. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
  1497. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1498. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1499. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1500. replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
  1501. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1502. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1503. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1504. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1505. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1506. kick arg 1 due to "%colored {_msg}%"
  1507. loop all players:
  1508. if loop-player has permission "sb.tempban.notify":
  1509. if {notify.%{uuid::%loop-player%}%} is true:
  1510. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1511. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} by "%nl%"
  1512. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1513. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1514. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1515. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1516. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1517. send "%colored {_msg}%" to loop-player
  1518. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1519. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2}%"
  1520. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1521. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1522. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1523. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1524. show an action bar from "%colored {_msg}%" to loop-player
  1525. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1526. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
  1527. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1528. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1529. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1530. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1531. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1532. send "%colored {_msg}%" to console
  1533. else:
  1534. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1535. else:
  1536. if arg 3 is set:
  1537. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1538. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
  1539. else:
  1540. if arg 1 has permission "sb.tempban.exempt":
  1541. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
  1542. else:
  1543. set {_now} to now
  1544. set {_timespan} to arg 3
  1545. add {_timespan} to {_now}
  1546. set {_remaining} to {_now}
  1547. set {sban.banned.%{uuid::%arg 1%}%} to true
  1548. set {sban.tempbanned.%{uuid::%arg 1%}%} to true
  1549. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1550. set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempban}%"
  1551. set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
  1552. set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
  1553. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1554. add arg 1 to {bans::*}
  1555. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
  1556. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1557. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1558. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1559. replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
  1560. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1561. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1562. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1563. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1564. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1565. kick arg 1 due to "%colored {_msg}%"
  1566. loop all players:
  1567. if loop-player has permission "sb.tempban.notify":
  1568. if {notify.%{uuid::%loop-player%}%} is true:
  1569. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1570. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} by "%nl%"
  1571. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1572. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1573. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1574. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1575. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1576. send "%colored {_msg}%" to loop-player
  1577. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1578. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2}%"
  1579. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1580. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1581. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1582. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1583. show an action bar from "%colored {_msg}%" to loop-player
  1584. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1585. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
  1586. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1587. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1588. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1589. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1590. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1591. send "%colored {_msg}%" to console
  1592. else:
  1593. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1594. else:
  1595. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1596. else:
  1597. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1598. command /stempban [<offlineplayer>] [<text>] [<timespan>]:
  1599. trigger:
  1600. sender is console:
  1601. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1602. else:
  1603. player has permission "sb.silenttempban":
  1604. if arg 1 is set:
  1605. if arg 2 is "r:":
  1606. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
  1607. stop
  1608. if arg 2 contains "r:":
  1609. if arg 3 is set:
  1610. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1611. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
  1612. else:
  1613. if arg 1 has permission "sb.tempban.exempt":
  1614. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
  1615. else:
  1616. set {_now} to now
  1617. set {_timespan} to arg 3
  1618. add {_timespan} to {_now}
  1619. set {_remaining} to {_now}
  1620. set {sban.banned.%{uuid::%arg 1%}%} to true
  1621. set {sban.tempbanned.%{uuid::%arg 1%}%} to true
  1622. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1623. set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
  1624. replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
  1625. set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
  1626. set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
  1627. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1628. add arg 1 to {bans::*}
  1629. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
  1630. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1631. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1632. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1633. replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
  1634. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1635. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1636. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1637. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1638. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1639. kick arg 1 due to "%colored {_msg}%"
  1640. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1641. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
  1642. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1643. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1644. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1645. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1646. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1647. send "%colored {_msg}%" to console
  1648. else:
  1649. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1650. else:
  1651. if arg 3 is set:
  1652. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1653. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
  1654. else:
  1655. if arg 1 has permission "sb.tempban.exempt":
  1656. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
  1657. else:
  1658. set {_now} to now
  1659. set {_timespan} to arg 3
  1660. add {_timespan} to {_now}
  1661. set {_remaining} to {_now}
  1662. set {sban.banned.%{uuid::%arg 1%}%} to true
  1663. set {sban.tempbanned.%{uuid::%arg 1%}%} to true
  1664. set {sban.bannedon.%{uuid::%arg 1%}%} to now
  1665. set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempban}%"
  1666. set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
  1667. set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
  1668. set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
  1669. add arg 1 to {bans::*}
  1670. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
  1671. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1672. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1673. replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
  1674. replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
  1675. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1676. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1677. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  1678. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  1679. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  1680. kick arg 1 due to "%colored {_msg}%"
  1681. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1682. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
  1683. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1684. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1685. replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
  1686. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
  1687. replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
  1688. send "%colored {_msg}%" to console
  1689. else:
  1690. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1691. else:
  1692. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
  1693. else:
  1694. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1695. #=====================#
  1696. # RELOAD CMD #
  1697. #=====================#
  1698. command /sbreload:
  1699. trigger:
  1700. sender is console:
  1701. make console execute command "/sk reload %{OPTIONS::MAIN::File-Name}%.sk"
  1702. else:
  1703. player has permission "sb.reload":
  1704. make console execute command "/sk reload %{OPTIONS::MAIN::File-Name}%.sk"
  1705. show an action bar from "%colored {MESSAGES::Prefix}%&7SuperBans code and files have been reloaded" to player
  1706. else:
  1707. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1708. #=====================#
  1709. # NOTIFY #
  1710. #=====================#
  1711. command /notify:
  1712. trigger:
  1713. sender is console:
  1714. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1715. else:
  1716. player has permission "sb.notify":
  1717. if {notify.%{uuid::%player%}%} is not set:
  1718. set {notify.%{uuid::%player%}%} to true
  1719. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-On}%" to player
  1720. if {notify.%{uuid::%player%}%} is true:
  1721. set {notify.%{uuid::%player%}%} to false
  1722. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-Off}%" to player
  1723. else if {notify.%{uuid::%player%}%} is false:
  1724. set {notify.%{uuid::%player%}%} to true
  1725. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-On}%" to player
  1726. else:
  1727. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1728. #=====================#
  1729. # UNFREEZE #
  1730. #=====================#
  1731. command /unfreeze [<offlineplayer>]:
  1732. trigger:
  1733. sender is console:
  1734. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1735. else:
  1736. player has permission "sb.unfreeze":
  1737. if arg 1 is set:
  1738. if {sban.frozen.%{uuid::%player%}%} is true:
  1739. set {sban.frozen.%{uuid::%player%}%} to false
  1740. set {sban.frozenby.%{uuid::%arg 1%}%} to "-"
  1741. delete {sban.newloc.%{uuid::%player%}%}
  1742. delete {sban.lastloc.%{uuid::%player%}%}
  1743. reset player's walk speed
  1744. remove arg 1 from {frozen::*}
  1745. loop all players:
  1746. if loop-player has permission "sb.unfreeze.notify":
  1747. if {notify.%{uuid::%loop-value%}%} is true:
  1748. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1749. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} by "%nl%"
  1750. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1751. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1752. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1753. send "%colored {_msg}%" to loop-player
  1754. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1755. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2}%"
  1756. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1757. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1758. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1759. show an action bar from "%colored {_msg}%" to loop-player
  1760. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} by "%nl%"
  1761. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1762. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1763. send "%colored {_msg}%" to arg 1
  1764. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1765. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2}%"
  1766. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1767. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1768. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1769. send "%colored {_msg}%" to console
  1770. else:
  1771. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::No}%" to player
  1772. else:
  1773. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unfreeze <player>" to player
  1774. else:
  1775. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1776. command /sunfreeze [<offlineplayer>]:
  1777. trigger:
  1778. sender is console:
  1779. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1780. else:
  1781. player has permission "sb.silentunfreeze":
  1782. if arg 1 is set:
  1783. if {sban.frozen.%{uuid::%player%}%} is true:
  1784. set {sban.frozen.%{uuid::%player%}%} to false
  1785. set {sban.frozenby.%{uuid::%arg 1%}%} to "-"
  1786. delete {sban.newloc.%{uuid::%player%}%}
  1787. delete {sban.lastloc.%{uuid::%player%}%}
  1788. reset player's walk speed
  1789. remove arg 1 from {frozen::*}
  1790. loop all players:
  1791. if loop-player has permission "sb.unfreeze.notify":
  1792. if {notify.%{uuid::%loop-value%}%} is true:
  1793. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1794. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} by "%nl%"
  1795. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1796. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1797. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1798. send "%colored {_msg}%" to loop-player
  1799. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1800. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2}%"
  1801. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1802. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1803. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1804. show an action bar from "%colored {_msg}%" to loop-player
  1805. set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} by "%nl%"
  1806. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1807. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1808. send "%colored {_msg}%" to arg 1
  1809. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1810. set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2}%"
  1811. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1812. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1813. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1814. send "%colored {_msg}%" to console
  1815. else:
  1816. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::No}%" to player
  1817. else:
  1818. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unfreeze <player>" to player
  1819. else:
  1820. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1821. on tab completer for "/freeze":
  1822. loop {frozen::*}:
  1823. add "%loop-value%" to completions
  1824. on tab completer for "/sunfreeze":
  1825. loop {frozen::*}:
  1826. add "%loop-value%" to completions
  1827. #=====================#
  1828. # UNMUTE #
  1829. #=====================#
  1830. command /unmute [<offlineplayer>]:
  1831. trigger:
  1832. sender is console:
  1833. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1834. else:
  1835. player has permission "sb.unmute":
  1836. if arg 1 is set:
  1837. if {sban.muted.%{uuid::%arg 1%}%} is true:
  1838. remove arg 1 from {mutes::*}
  1839. remove arg 1 from {tempmutes::*}
  1840. set {sban.muted.%{uuid::%arg 1%}%} to false
  1841. set {sban.tempmuted.%{uuid::%arg 1%}%} to false
  1842. set {sban.mutedon.%{uuid::%arg 1%}%} to "-"
  1843. set {sban.mutereason.%{uuid::%arg 1%}%} to "-"
  1844. set {sban.muteexpire.%{uuid::%arg 1%}%} to "-"
  1845. set {sban.mutedby.%{uuid::%arg 1%}%} to "-"
  1846. loop all players:
  1847. if loop-player has permission "sb.unmute.notify":
  1848. if {notify.%{uuid::%loop-value%}%} is true:
  1849. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1850. set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-3::*} by "%nl%"
  1851. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1852. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1853. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1854. send "%colored {_msg}%" to loop-player
  1855. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1856. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-3}%"
  1857. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1858. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1859. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1860. show an action bar from "%colored {_msg}%" to loop-player
  1861. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*}%"
  1862. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1863. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1864. send "%colored {_msg}%" to arg 1
  1865. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1866. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3}%"
  1867. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1868. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1869. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1870. send "%colored {_msg}%" to console
  1871. else:
  1872. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::No}%" to player
  1873. else:
  1874. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unmute <player>" to player
  1875. else:
  1876. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1877. command /sunmute [<offlineplayer>]:
  1878. trigger:
  1879. sender is console:
  1880. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1881. else:
  1882. player has permission "sb.silentunmute":
  1883. if arg 1 is set:
  1884. if {sban.muted.%{uuid::%arg 1%}%} is true:
  1885. remove arg 1 from {mutes::*}
  1886. remove arg 1 from {tempmutes::*}
  1887. set {sban.muted.%{uuid::%arg 1%}%} to false
  1888. set {sban.tempmuted.%{uuid::%arg 1%}%} to false
  1889. set {sban.mutedon.%{uuid::%arg 1%}%} to "-"
  1890. set {sban.mutereason.%{uuid::%arg 1%}%} to "-"
  1891. set {sban.muteexpire.%{uuid::%arg 1%}%} to "-"
  1892. set {sban.mutedby.%{uuid::%arg 1%}%} to "-"
  1893. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*}%"
  1894. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1895. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1896. send "%colored {_msg}%" to arg 1
  1897. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1898. set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3}%"
  1899. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1900. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1901. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1902. send "%colored {_msg}%" to console
  1903. else:
  1904. show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_muted}%" to player
  1905. else:
  1906. show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unmute <player>" to player
  1907. else:
  1908. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1909. on tab completer for "/unmute":
  1910. loop {mutes::*}:
  1911. add "%loop-value%" to completions
  1912. on tab completer for "/sunmute":
  1913. loop {mutes::*}:
  1914. add "%loop-value%" to completions
  1915. #=====================#
  1916. # UNBAN #
  1917. #=====================#
  1918. command /unban [<offlineplayer>]:
  1919. trigger:
  1920. sender is console:
  1921. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1922. else:
  1923. player has permission "sb.unban":
  1924. if arg 1 is set:
  1925. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1926. set {sban.banned.%{uuid::%arg 1%}%} to false
  1927. set {sban.tempbanned.%{uuid::%arg 1%}%} to false
  1928. set {sban.bannedon.%{uuid::%arg 1%}%} to "-"
  1929. set {sban.banreason.%{uuid::%arg 1%}%} to "-"
  1930. set {sban.banexpire.%{uuid::%arg 1%}%} to "-"
  1931. set {sban.bannedby.%{uuid::%arg 1%}%} to "-"
  1932. set {sban.banip.%{uuid::%arg 1%}%} to false
  1933. remove arg 1 from {bans::*}
  1934. loop all players:
  1935. if loop-player has permission "sb.unban.notify":
  1936. if {notify.%{uuid::%loop-player%}%} is true:
  1937. if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
  1938. set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-3::*} by "%nl%"
  1939. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1940. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1941. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1942. send "%colored {_msg}%" to loop-player
  1943. else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
  1944. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-3}%"
  1945. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1946. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1947. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1948. show an action bar from "%colored {_msg}%" to loop-player
  1949. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1950. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3}%"
  1951. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1952. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1953. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1954. send "%colored {_msg}%" to console
  1955. else:
  1956. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::No}%" to player
  1957. else:
  1958. show an action bar from "%colored {MESSAGES::Prefix}%}&7You must use &c/(s)unban <player>" to player
  1959. else:
  1960. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1961. command /sunban [<offlineplayer>]:
  1962. trigger:
  1963. sender is console:
  1964. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
  1965. else:
  1966. player has permission "sb.silentunban":
  1967. if arg 1 is set:
  1968. if {sban.banned.%{uuid::%arg 1%}%} is true:
  1969. set {sban.banned.%{uuid::%arg 1%}%} to false
  1970. set {sban.tempbanned.%{uuid::%arg 1%}%} to false
  1971. set {sban.bannedon.%{uuid::%arg 1%}%} to "-"
  1972. set {sban.banreason.%{uuid::%arg 1%}%} to "-"
  1973. set {sban.banexpire.%{uuid::%arg 1%}%} to "-"
  1974. set {sban.bannedby.%{uuid::%arg 1%}%} to "-"
  1975. set {sban.banip.%{uuid::%arg 1%}%} to false
  1976. remove arg 1 from {bans::*}
  1977. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  1978. set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3}%"
  1979. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  1980. replace all "{_PLAYER}" in {_msg} with "%arg 1%"
  1981. replace all "{_SORCERER}" in {_msg} with "%sender%"
  1982. send "%colored {_msg}%" to console
  1983. else:
  1984. show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::No}%" to player
  1985. else:
  1986. show an action bar from "%colored {MESSAGES::Prefix}%}&7You must use &c/(s)unban <player>" to player
  1987. else:
  1988. send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
  1989. on tab completer for "/unban":
  1990. loop {bans::*}:
  1991. add "%loop-value%" to completions
  1992. on tab completer for "/sunban":
  1993. loop {bans::*}:
  1994. add "%loop-value%" to completions
  1995. #=====================#
  1996. # REMOVED COMMANDS #
  1997. #=====================#
  1998. command /banlist:
  1999. trigger:
  2000. send "%colored {MESSAGES::Command-Removed}%"
  2001. command /ban-ip [<text>]:
  2002. trigger:
  2003. send "%colored {MESSAGES::Command-Removed}%"
  2004. command /pardon [<text>]:
  2005. trigger:
  2006. send "%colored {MESSAGES::Command-Removed}%"
  2007. command /pardon-ip [<text>]:
  2008. trigger:
  2009. send "%colored {MESSAGES::Command-Removed}%"
  2010. #=====================#
  2011. # EVENTS #
  2012. #=====================#
  2013. on connect:
  2014. if {sban.banned.%{uuid::%player%}%} is true:
  2015. set {_p} to player
  2016. if {sban.banexpire.%{uuid::%player%}%} is "Never":
  2017. set {_msg} to join {superbans::messages::ban_screen_message::*} by "%nl%"
  2018. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2019. replace all "{_BANNER}" in {_msg} with "%{sban.bannedby.%{uuid::%player%}%}%"
  2020. replace all "{_BANTIME}" in {_msg} with "%{sban.bannedon.%{uuid::%player%}%}%"
  2021. replace all "{_BANEXPIRE}" in {_msg} with "%{sban.banexpire.%{uuid::%player%}%}%"
  2022. replace all "{_IPBANNED}" in {_msg} with "%{sban.banip.%{uuid::%player%}%}%"
  2023. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%player%}%}%"
  2024. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  2025. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  2026. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  2027. kick player due to "%{_msg}%"
  2028. loop all players:
  2029. if loop-player has permission "sb.banned-joining":
  2030. set {_msg} to "%colored {MESSAGES::Ban-Join}%"
  2031. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2032. replace all "{_PLAYER}" in {_msg} with "%player%"
  2033. show an action bar from "%{_msg}%" to loop-player
  2034. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  2035. set {_msg} to "%colored {MESSAGES::Ban-Join}%"
  2036. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2037. replace all "{_PLAYER}" in {_msg} with "%player%"
  2038. send "%{_msg}%" to console
  2039. else:
  2040. set {_elapsedtime} to difference between now and {sban.banexpire.%{uuid::%player%}%}
  2041. if {_elapsedtime} is greater than {sban.tempbanlenght.%{uuid::%player%}%}:
  2042. execute console command "/sunban %player%"
  2043. else:
  2044. set {_msg} to join {superbans::messages::tempban_screen_message::*} by "%nl%"
  2045. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2046. replace all "{_BANNER}" in {_msg} with "%{sban.bannedby.%{uuid::%player%}%}%"
  2047. replace all "{_BANTIME}" in {_msg} with "%{sban.bannedon.%{uuid::%player%}%}%"
  2048. replace all "{_BANNEDFOR}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%player%}%}%"
  2049. replace all "{_BANEXPIRE}" in {_msg} with "%{sban.banexpire.%{uuid::%player%}%}%"
  2050. replace all "{_IPBANNED}" in {_msg} with "%{sban.banip.%{uuid::%player%}%}%"
  2051. replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%player%}%}%"
  2052. replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
  2053. replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
  2054. replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
  2055. kick player due to "%{_msg}%"
  2056. loop all players:
  2057. if loop-player has permission "sb.banned-joining":
  2058. set {_msg} to "%colored {MESSAGES::Ban-Join}%"
  2059. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2060. replace all "{_PLAYER}" in {_msg} with "%player%"
  2061. show an action bar from "%{_msg}%" to loop-player
  2062. if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
  2063. set {_msg} to "%colored {MESSAGES::Ban-Join}%"
  2064. replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
  2065. replace all "{_PLAYER}" in {_msg} with "%player%"
  2066. send "%{_msg}%" to console
  2067. on join:
  2068. if {uuid::%player%} is not set:
  2069. set {uuid::%player%} to player's uuid
  2070. else:
  2071. if {uuid::%player%} is not player's uuid:
  2072. set {uuid::%player%} to player's uuid
  2073. player has permission "sb.notify":
  2074. if {notify.%{uuid::%player%}%} is not set:
  2075. set {notify.%{uuid::%player%}%} to true
  2076. if {sban.firstjoin.%{uuid::%player%}%} is not set:
  2077. set {sban.firstjoin.%{uuid::%player%}%} to "yes"
  2078. if {sban.banned.%{uuid::%player%}%} is not set:
  2079. set {sban.banned.%{uuid::%player%}%} to false
  2080. if {sban.tempbanned.%{uuid::%player%}%} is not set:
  2081. set {sban.tempbanned.%{uuid::%player%}%} to false
  2082. if {sban.banip.%{uuid::%player%}%} is not set:
  2083. set {sban.banip.%{uuid::%player%}%} to false
  2084. if {sban.bannedby.%{uuid::%player%}%} is not set:
  2085. set {sban.bannedby.%{uuid::%player%}%} to "-"
  2086. if {sban.banreason.%{uuid::%player%}%} is not set:
  2087. set {sban.banreason.%{uuid::%player%}%} to "-"
  2088. if {sban.bannedon.%{uuid::%player%}%} is not set:
  2089. set {sban.bannedon.%{uuid::%player%}%} to "-"
  2090. if {sban.banexpire.%{uuid::%player%}%} is not set:
  2091. set {sban.banexpire.%{uuid::%player%}%} to "-"
  2092. if {sban.frozen.%{uuid::%player%}%} is not set:
  2093. set {sban.frozen.%{uuid::%player%}%} to false
  2094. if {sban.muted.%{uuid::%player%}%} is not set:
  2095. set {sban.muted.%{uuid::%player%}%} to false
  2096. if {sban.tempmuted.%{uuid::%player%}%} is not set:
  2097. set {sban.tempmuted.%{uuid::%player%}%} to false
  2098. if {sban.mutedby.%{uuid::%player%}%} is not set:
  2099. set {sban.mutedby.%{uuid::%player%}%} to "-"
  2100. if {sban.mutereason.%{uuid::%player%}%} is not set:
  2101. set {sban.mutereason.%{uuid::%player%}%} to "-"
  2102. if {sban.muteexpire.%{uuid::%player%}%} is not set:
  2103. set {sban.muteexpire.%{uuid::%player%}%} to "-"
  2104. if {sban.mutedon.%{uuid::%player%}%} is not set:
  2105. set {sban.mutedon.%{uuid::%player%}%} to "-"
  2106. if {sban.warns.%{uuid::%player%}%} is not set:
  2107. set {sban.warns.%{uuid::%player%}%} to 0
  2108. if {sban.warnedby.%{uuid::%player%}%} is not set:
  2109. set {sban.warnedby.%{uuid::%player%}%} to "-"
  2110.  
  2111. on quit:
  2112. if {sban.banned.%{uuid::%player%}%} is true:
  2113. if {OPTIONS::PUNISHMENTS::Show-Leave-Message} is "false":
  2114. set leave message to ""
  2115. if {sban.kicked.%{uuid::%player%}%} is true:
  2116. delete {sban.kicked.%{uuid::%player%}%}
  2117. if {OPTIONS::PUNISHMENTS::Show-Leave-Message} is "false":
  2118. set leave message to ""
  2119.  
  2120. on load:
  2121. file "plugins\SuperBans\config.yml" doesn't exist:
  2122. create file "plugins\SuperBans\config.yml"
  2123. set skutil yaml value "PUNISHMENTS.Notification-Type" from file "plugins\SuperBans\config.yml" to "1"
  2124. set skutil yaml value "PUNISHMENTS.Console-Notifications" from file "plugins\SuperBans\config.yml" to "true"
  2125. set skutil yaml value "PUNISHMENTS.Show-Leave-Message" from file "plugins\SuperBans\config.yml" to "false"
  2126. set skutil yaml value "PUNISHMENTS.Max-Warns" from file "plugins\SuperBans\config.yml" to "4"
  2127. set skutil yaml value "GUI.Unban-Messages" from file "plugins\SuperBans\config.yml" to "true"
  2128. set skutil yaml value "GUI.Keep-Open" from file "plugins\SuperBans\config.yml" to "true"
  2129. set skutil yaml value "GUI.Silent" from file "plugins\SuperBans\config.yml" to "false"
  2130. set skutil yaml value "SERVER.Name" from file "plugins\SuperBans\config.yml" to "Server Name"
  2131. set skutil yaml value "SERVER.Shop" from file "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/shop"
  2132. set skutil yaml value "SERVER.Web" from file "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/formum"
  2133. set skutil yaml value "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml" to ""
  2134. add "spawn" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
  2135. add "warp" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
  2136. add "home" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
  2137. add "tpa" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
  2138. set skutil yaml value "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml" to ""
  2139. add "tell" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
  2140. add "msg" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
  2141. add "me" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
  2142. set skutil yaml value "ANTISWEAR.Enabled" from file "plugins\SuperBans\config.yml" to "true"
  2143. set skutil yaml value "ANTISWEAR.Word-Replacer" from file "plugins\SuperBans\config.yml" to "*"
  2144. set skutil yaml value "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml" to ""
  2145. add "fuck" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
  2146. add "dick" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
  2147. add "cunt" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
  2148. set skutil yaml value "MAIN.File-Name" from file "plugins\SuperBans\config.yml" to "SuperBans"
  2149. set skutil yaml value "MAIN.Check-For-Updates" from file "plugins\SuperBans\config.yml" to "true"
  2150.  
  2151. write "## This will be the type of notification sent on new punishments. Valid values are: '1' for messages, '2' for actionbars." at line 2 to file "plugins\SuperBans\config.yml"
  2152. write "" at line 7 to file "plugins\SuperBans\config.yml"
  2153. write "" at line 12 to file "plugins\SuperBans\config.yml"
  2154. write "" at line 17 to file "plugins\SuperBans\config.yml"
  2155. write "" at line 29 to file "plugins\SuperBans\config.yml"
  2156. write "" at line 37 to file "plugins\SuperBans\config.yml"
  2157.  
  2158. file "plugins\SuperBans\customization.yml" doesn't exist:
  2159. set {&} to "&"
  2160. create file "plugins\SuperBans\customization.yml"
  2161.  
  2162. set skutil yaml value "MESSAGES.Prefix" from file "plugins\SuperBans\customization.yml" to "%{&}%c%{&}%lSuperBans %{&}%8≫ "
  2163. set skutil yaml value "MESSAGES.No-Permission" from file "plugins\SuperBans\customization.yml" to "%{&}%cYou are not allowed to perform this command"
  2164. set skutil yaml value "MESSAGES.No-Console" from file "plugins\SuperBans\customization.yml" to "%{&}%7This command is only available for players"
  2165. set skutil yaml value "MESSAGES.Command-Removed" from file "plugins\SuperBans\customization.yml" to "%{&}%fUnknown command. Type ""/help"" for help."
  2166. set skutil yaml value "MESSAGES.Notifications-On" from file "plugins\SuperBans\customization.yml" to "%{&}%7You will receive new punishments"
  2167. set skutil yaml value "MESSAGES.Notifications-Off" from file "plugins\SuperBans\customization.yml" to "%{&}%7You will not receive new punishments"
  2168. set skutil yaml value "MESSAGES.Search-Player" from file "plugins\SuperBans\customization.yml" to "%{&}%7Type player name or ""%{&}%ccancel%{&}%7"" to cancel the search."
  2169. set skutil yaml value "MESSAGES.Search-Anulated" from file "plugins\SuperBans\customization.yml" to "%{&}%7You have successfully annulated the search"
  2170. set skutil yaml value "MESSAGES.Who-To-Punish" from file "plugins\SuperBans\customization.yml" to "%{&}%7Who do you want to punish?"
  2171. set skutil yaml value "MESSAGES.No-Online" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not online"
  2172. set skutil yaml value "MESSAGES.No-Join" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player hasn not joined"
  2173. set skutil yaml value "MESSAGES.No-Bans" from file "plugins\SuperBans\customization.yml" to "%{&}%7There are not banned players"
  2174. set skutil yaml value "MESSAGES.Ban-Join" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_PLAYER} %{&}%7is banned and tried to join"
  2175.  
  2176. set skutil yaml value "REASONS.No-Reason" from file "plugins\SuperBans\customization.yml" to "%{&}%7Write a reason after ""r:"""
  2177. set skutil yaml value "REASONS.DEFAULT-REASONS" from file "plugins\SuperBans\customization.yml" to ""
  2178. set skutil yaml value "REASONS.DEFAULT-REASONS.Mute" from file "plugins\SuperBans\customization.yml" to "Be careful what you say!"
  2179. set skutil yaml value "REASONS.DEFAULT-REASONS.Tempmute" from file "plugins\SuperBans\customization.yml" to "Be careful what you say!"
  2180. set skutil yaml value "REASONS.DEFAULT-REASONS.Kick" from file "plugins\SuperBans\customization.yml" to "Be careful of your behavior. Enter again, but take it right!"
  2181. set skutil yaml value "REASONS.DEFAULT-REASONS.Ban" from file "plugins\SuperBans\customization.yml" to "You have a disastrous behavior, you will not be able to enter any more!"
  2182. set skutil yaml value "REASONS.DEFAULT-REASONS.Tempban" from file "plugins\SuperBans\customization.yml" to "You have a disastrous behavior. Even so, we give you another opportunity"
  2183.  
  2184. set skutil yaml value "PUNISHMENTS.FROZEN" from file "plugins\SuperBans\customization.yml" to ""
  2185. set skutil yaml value "PUNISHMENTS.FROZEN.Already" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already frozen"
  2186. set skutil yaml value "PUNISHMENTS.FROZEN.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be frozen"
  2187. set skutil yaml value "PUNISHMENTS.FROZEN.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not frozen"
  2188. set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED" from file "plugins\SuperBans\customization.yml" to ""
  2189. set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED.Move" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot move while you are frozen. Do not fight against physics!"
  2190. set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED.Command" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot execute this command while you are frozen"
  2191. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN" from file "plugins\SuperBans\customization.yml" to ""
  2192. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lFROZEN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
  2193. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lDEFROSTED %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
  2194. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7frozen %{&}%e{_PLAYER}"
  2195. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7defrosted %{&}%e{_PLAYER}"
  2196. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
  2197. add "{_PREFIX}%{&}%7I have %{&}%a§lFROZEN%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2198. add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2199. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2200. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2201. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
  2202. add "{_PREFIX}%{&}%7I have %{&}%a§lDEFROSTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2203. add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2204. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2205. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2206. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
  2207. add "{_PREFIX}%{&}%7You are now %{&}%a§lFROZEN%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2208. add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2209. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2210. set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml" to ""
  2211. add "{_PREFIX}%{&}%7You are now %{&}%a§lDEFROSTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2212. add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2213. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2214.  
  2215. set skutil yaml value "PUNISHMENTS.MUTE" from file "plugins\SuperBans\customization.yml" to ""
  2216. set skutil yaml value "PUNISHMENTS.MUTE.Already-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already muted"
  2217. set skutil yaml value "PUNISHMENTS.MUTE.Already-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already tempmuted"
  2218. set skutil yaml value "PUNISHMENTS.MUTE.Cannot-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be muted"
  2219. set skutil yaml value "PUNISHMENTS.MUTE.Cannot-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be tempmuted"
  2220. set skutil yaml value "PUNISHMENTS.MUTE.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not muted"
  2221. set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED" from file "plugins\SuperBans\customization.yml" to ""
  2222. set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED.Talk" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot talk while you are muted"
  2223. set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED.Command" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot execute this command while you are muted"
  2224. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE" from file "plugins\SuperBans\customization.yml" to ""
  2225. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
  2226. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
  2227. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lUNMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
  2228. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7muted %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
  2229. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7muted %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
  2230. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7unmuted %{&}%e{_PLAYER}"
  2231. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
  2232. add "{_PREFIX}%{&}%7I have %{&}%a§lMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2233. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2234. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2235. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2236. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2237. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2238. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
  2239. add "{_PREFIX}%{&}%7I have %{&}%a§lMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2240. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2241. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2242. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2243. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2244. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2245. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml" to ""
  2246. add "{_PREFIX}%{&}%7I have %{&}%a§lUNMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2247. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2248. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2249. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2250. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
  2251. add "{_PREFIX}%{&}%7You are now %{&}%a§lMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2252. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2253. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2254. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2255. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2256. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml" to ""
  2257. add "{_PREFIX}%{&}%7You are now %{&}%a§lMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2258. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2259. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2260. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2261. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
  2262. set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml" to ""
  2263. add "{_PREFIX}%{&}%7You are now %{&}%a§lUNMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
  2264. add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
  2265. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
  2266.  
  2267. set skutil yaml value "PUNISHMENTS.WARN" from file "plugins\SuperBans\customization.yml" to ""
  2268. set skutil yaml value "PUNISHMENTS.WARN.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be warned"
  2269. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN" from file "plugins\SuperBans\customization.yml" to ""
  2270. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lWARN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_WARNS} %{&}%7- %{&}%a{_MAXWARNS}%{&}%7)"
  2271. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7warned %{&}%e{_PLAYER} %{&}%7(%{&}%a{_WARNS} %{&}%7- %{&}%a{_MAXWARNS}%{&}%7)"
  2272. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
  2273. add "{_PREFIX}%{&}%7I have %{&}%a§lWARNED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2274. add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2275. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2276. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2277. add " %{&}%7Status %{&}%8≫ %{&}%e{_WARNS} %{&}%7- %{&}%e{_MAXWARNS}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2278. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
  2279. add "{_PREFIX}%{&}%7You have been %{&}%a§lWARNED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2280. add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2281. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2282. add " %{&}%7Status %{&}%8≫ %{&}%e{_WARNS} %{&}%7- %{&}%e{_MAXWARNS}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
  2283. set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
  2284. add "%{&}%7You have received lots of warnings and because of this you have been expelled from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2285. add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2286. add "%{&}%7You were warned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2287. add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2288. add "%{&}%7You have reached %{&}%8≫ %{&}%e{_WARNS} %{&}%7of a maxium of %{&}%e{_MAXWARNS} %{&}%7warns." to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2289. add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2290. add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2291. add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2292.  
  2293. set skutil yaml value "PUNISHMENTS.KICK" from file "plugins\SuperBans\customization.yml" to ""
  2294. set skutil yaml value "PUNISHMENTS.KICK.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be kicked"
  2295. set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK" from file "plugins\SuperBans\customization.yml" to ""
  2296. set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lKICK %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
  2297. set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7kicked %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7')"
  2298. set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
  2299. add "{_PREFIX}%{&}%7I have %{&}%a§lKICKED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2300. add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2301. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2302. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2303. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2304. set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
  2305. add "%{&}%7Your behavior is not right for us, so we have decided to expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2306. add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2307. add "%{&}%7You were kicked by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2308. add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2309. add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2310. add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2311. add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2312. add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2313.  
  2314. set skutil yaml value "PUNISHMENTS.BAN" from file "plugins\SuperBans\customization.yml" to ""
  2315. set skutil yaml value "PUNISHMENTS.BAN.Already-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already banned"
  2316. set skutil yaml value "PUNISHMENTS.BAN.Already-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already tempbanned"
  2317. set skutil yaml value "PUNISHMENTS.BAN.Cannot-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be banned"
  2318. set skutil yaml value "PUNISHMENTS.BAN.Cannot-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be tempbanned"
  2319. set skutil yaml value "PUNISHMENTS.BAN.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not banned"
  2320. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN" from file "plugins\SuperBans\customization.yml" to ""
  2321. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
  2322. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
  2323. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lUNBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
  2324. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7banned %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
  2325. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7banned %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
  2326. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7unbanned %{&}%e{_PLAYER}"
  2327. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
  2328. add "{_PREFIX}%{&}%7I have %{&}%a§lBANED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2329. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2330. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2331. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2332. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2333. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
  2334. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
  2335. add "{_PREFIX}%{&}%7I have %{&}%a§lBANED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2336. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2337. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2338. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2339. add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2340. add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
  2341. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml" to ""
  2342. add "{_PREFIX}%{&}%7I have %{&}%a§lUNBANNED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2343. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2344. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2345. add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
  2346. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
  2347. add "%{&}%7Your behavior is not right for us, so we have decided to completly expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2348. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2349. add "%{&}%7You were banned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2350. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2351. add "%{&}%7Banned on %{&}%8≫ %{&}%c{_PUNISHEDON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2352. add "%{&}%7Expiration %{&}%8≫ %{&}%c{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2353. add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2354. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2355. add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2356. add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
  2357. set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml" to ""
  2358. add "%{&}%7Your behavior is not right for us, so we have decided to completly expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2359. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2360. add "%{&}%7You were banned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2361. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2362. add "%{&}%7Banned on %{&}%8≫ %{&}%c{_PUNISHEDON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2363. add "%{&}%7Expiration %{&}%8≫ %{&}%7(%{&}%c{_DURATION}%{&}%7) - %{&}%c{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2364. add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2365. add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2366. add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2367. add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
  2368.  
  2369. set skutil yaml value "ANTISWEAR.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lSWEAR %{&}%8| %{&}%e{_PLAYER} %{&}%8≫ %{&}%7(%{&}%a{_WORD}%{&}%7) %{&}%7- %{&}%a{_TIMES} %{&}%7times"
  2370. set skutil yaml value "ANTISWEAR.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%e{_PLAYER} %{&}%7has said a blocked word! (%{&}%a{_WORD}%{&}%7) %{&}%7- %{&}%a{_TIMES} %{&}%7times"
  2371. set skutil yaml value "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml" to ""
  2372. add "{_PREFIX}%{&}%7I have detected a player %{&}%a§lSWEARING&7!" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
  2373. add " " to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
  2374. add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
  2375. add " %{&}%7Said %{&}%8≫ %{&}%7(%{&}%a{_WORD}%{&}%7)" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
  2376. add " %{&}%7You have said %{&}%8≫ %{&}%a{_TIMES} %{&}%7bad word(s)" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
  2377. set skutil yaml value "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml" to ""
  2378. add "{_PREFIX}%{&}%7You are %{&}%a§lSWEARING%{&}%7!" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
  2379. add " " to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
  2380. add " %{&}%7You have said %{&}%8≫ %{&}%a{_TIMES} %{&}%7bad word(s)" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
  2381. add " " to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
  2382. add " %{&}%7I have notified admins. You will be processed soon!" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
  2383.  
  2384. write "## To completely reset this file, you must delete it. A new one with the default values will be created ??in a couple of seconds." at line 1 to file "plugins\SuperBans\customization.yml"
  2385. write "## The actionbar and console messages will be automatically chosen depending on your configuration options." at line 2 to file "plugins\SuperBans\customization.yml"
  2386. write "## You can use either of these two color code symbols: '&' or '§'." at line 3 to file "plugins\SuperBans\customization.yml"
  2387. write "" at line 4 to file "plugins\SuperBans\customization.yml"
  2388. write "" at line 5 to file "plugins\SuperBans\customization.yml"
  2389. write "" at line 6 to file "plugins\SuperBans\customization.yml"
  2390. write "" at line 21 to file "plugins\SuperBans\customization.yml"
  2391. write "" at line 30 to file "plugins\SuperBans\customization.yml"
  2392. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 40 to file "plugins\SuperBans\customization.yml"
  2393. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 46 to file "plugins\SuperBans\customization.yml"
  2394. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 52 to file "plugins\SuperBans\customization.yml"
  2395. write "##{_PREFIX}, {_SORCERER}" at line 58 to file "plugins\SuperBans\customization.yml"
  2396. write "##{_PREFIX}, {_SORCERER}" at line 63 to file "plugins\SuperBans\customization.yml"
  2397. write "" at line 67 to file "plugins\SuperBans\customization.yml"
  2398. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 78 to file "plugins\SuperBans\customization.yml"
  2399. write "## This is the mute message sent to players who have the permission to view mutes." at line 86 to file "plugins\SuperBans\customization.yml"
  2400. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 87 to file "plugins\SuperBans\customization.yml"
  2401. write "## This is the tempmute message sent to players who have the permission to view mutes." at line 95 to file "plugins\SuperBans\customization.yml"
  2402. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 96 to file "plugins\SuperBans\customization.yml"
  2403. write "## This is the unmute message sent to players who have the permission to view unmutes." at line 104 to file "plugins\SuperBans\customization.yml"
  2404. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 105 to file "plugins\SuperBans\customization.yml"
  2405. write "## This is the mute message sent to the muted player." at line 111 to file "plugins\SuperBans\customization.yml"
  2406. write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 112 to file "plugins\SuperBans\customization.yml"
  2407. write "## This is the tempmute message sent to the tempmuted player." at line 119 to file "plugins\SuperBans\customization.yml"
  2408. write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 120 to file "plugins\SuperBans\customization.yml"
  2409. write "## This is the unmute message sent to the unmute player." at line 127 to file "plugins\SuperBans\customization.yml"
  2410. write "##{_PREFIX}, {_SORCERER}" at line 128 to file "plugins\SuperBans\customization.yml"
  2411. write "" at line 132 to file "plugins\SuperBans\customization.yml"
  2412. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 136 to file "plugins\SuperBans\customization.yml"
  2413. write "## This is the warn message sent to players who have the permission to view warns." at line 140 to file "plugins\SuperBans\customization.yml"
  2414. write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 141 to file "plugins\SuperBans\customization.yml"
  2415. write "## This is the warn message sent to the warned player." at line 148 to file "plugins\SuperBans\customization.yml"
  2416. write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 149 to file "plugins\SuperBans\customization.yml"
  2417. write "## This is the warn message sent to the screen of the warned player when he is kicked for reaching the max of warns." at line 155 to file "plugins\SuperBans\customization.yml"
  2418. write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 156 to file "plugins\SuperBans\customization.yml"
  2419. write "" at line 166 to file "plugins\SuperBans\customization.yml"
  2420. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}" at line 170 to file "plugins\SuperBans\customization.yml"
  2421. write "## This is the kick message sent to players who have the permission to view kicks." at line 174 to file "plugins\SuperBans\customization.yml"
  2422. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}" at line 175 to file "plugins\SuperBans\customization.yml"
  2423. write "## This is the kick message sent to the screen of the kicked player." at line 182 to file "plugins\SuperBans\customization.yml"
  2424. write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 183 to file "plugins\SuperBans\customization.yml"
  2425. write "" at line 193 to file "plugins\SuperBans\customization.yml"
  2426. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 201 to file "plugins\SuperBans\customization.yml"
  2427. write "## This is the ban message sent to players who have the permission to view bans." at line 209 to file "plugins\SuperBans\customization.yml"
  2428. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 210 to file "plugins\SuperBans\customization.yml"
  2429. write "## This is the tempban message sent to players who have the permission to view tempbans." at line 218 to file "plugins\SuperBans\customization.yml"
  2430. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 219 to file "plugins\SuperBans\customization.yml"
  2431. write "## This is the unban message sent to players who have the permission to view unbans." at line 227 to file "plugins\SuperBans\customization.yml"
  2432. write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 228 to file "plugins\SuperBans\customization.yml"
  2433. write "## This is the ban message sent to the screen of the banned player." at line 234 to file "plugins\SuperBans\customization.yml"
  2434. write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_PUNISHEDON}, {_EXPIRATION}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 235 to file "plugins\SuperBans\customization.yml"
  2435. write "## This is the tempban message sent to the screen of the tempbanned player." at line 248 to file "plugins\SuperBans\customization.yml"
  2436. write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_PUNISHEDON}, {_DURATION}, {_EXPIRATION}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 249 to file "plugins\SuperBans\customization.yml"
  2437. write "" at line 261 to file "plugins\SuperBans\customization.yml"
  2438. write "##{_PREFIX}, {_PLAYER}, {_WORD}" at line 263 to file "plugins\SuperBans\customization.yml"
  2439.  
  2440. set {MESSAGES::Prefix} to yml value "MESSAGES.Prefix" of file "plugins\SuperBans\customization.yml"
  2441. set {MESSAGES::No-Permission} to yml value "MESSAGES.No-Permission" of file "plugins\SuperBans\customization.yml"
  2442. set {MESSAGES::No-Console} to yml value "MESSAGES.No-Console" of file "plugins\SuperBans\customization.yml"
  2443. set {MESSAGES::Command-Removed} to yml value "MESSAGES.Command-Removed" of file "plugins\SuperBans\customization.yml"
  2444. set {MESSAGES::Notifications-On} to yml value "MESSAGES.Notifications-On" of file "plugins\SuperBans\customization.yml"
  2445. set {MESSAGES::Notifications-Off} to yml value "MESSAGES.Notifications-Off" of file "plugins\SuperBans\customization.yml"
  2446. set {MESSAGES::Search-Player} to yml value "MESSAGES.Search-Player" of file "plugins\SuperBans\customization.yml"
  2447. set {MESSAGES::Search-Anulated} to yml value "MESSAGES.Search-Anulated" of file "plugins\SuperBans\customization.yml"
  2448. set {MESSAGES::Who-To-Punish} to yml value "MESSAGES.Who-To-Punish" of file "plugins\SuperBans\customization.yml"
  2449. set {MESSAGES::No-Online} to yml value "MESSAGES.No-Online" of file "plugins\SuperBans\customization.yml"
  2450. set {MESSAGES::No-Join} to yml value "MESSAGES.No-Join" of file "plugins\SuperBans\customization.yml"
  2451. set {MESSAGES::No-Bans} to yml value "MESSAGES.No-Bans" of file "plugins\SuperBans\customization.yml"
  2452. set {MESSAGES::Ban-Join} to yml value "MESSAGES.Ban-Join" of file "plugins\SuperBans\customization.yml"
  2453. set {MESSAGES::REASONS::No-Reason} to yml value "REASONS.No-Reason" of file "plugins\SuperBans\customization.yml"
  2454. set {MESSAGES::REASONS::DEFAULT-REASONS::Mute} to yml value "REASONS.DEFAULT-REASONS.Mute" of file "plugins\SuperBans\customization.yml"
  2455. set {MESSAGES::REASONS::DEFAULT-REASONS::TempMute} to yml value "REASONS.DEFAULT-REASONS.Tempmute" of file "plugins\SuperBans\customization.yml"
  2456. set {MESSAGES::REASONS::DEFAULT-REASONS::Kick} to yml value "REASONS.DEFAULT-REASONS.Kick" of file "plugins\SuperBans\customization.yml"
  2457. set {MESSAGES::REASONS::DEFAULT-REASONS::Ban} to yml value "REASONS.DEFAULT-REASONS.Ban" of file "plugins\SuperBans\customization.yml"
  2458. set {MESSAGES::REASONS::DEFAULT-REASONS::Tempban} to yml value "REASONS.DEFAULT-REASONS.Tempban" of file "plugins\SuperBans\customization.yml"
  2459. set {MESSAGES::PUNISHMENTS::FROZEN::Already} to yml value "PUNISHMENTS.FROZEN.Already" of file "plugins\SuperBans\customization.yml"
  2460. set {MESSAGES::PUNISHMENTS::FROZEN::Cannot} to yml value "PUNISHMENTS.FROZEN.Cannot" of file "plugins\SuperBans\customization.yml"
  2461. set {MESSAGES::PUNISHMENTS::FROZEN::No} to yml value "PUNISHMENTS.FROZEN.No" of file "plugins\SuperBans\customization.yml"
  2462. set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Move} to yml value "PUNISHMENTS.FROZEN.BLOCKED.Move" of file "plugins\SuperBans\customization.yml"
  2463. set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Command} to yml value "PUNISHMENTS.FROZEN.BLOCKED.Command" of file "plugins\SuperBans\customization.yml"
  2464. set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-1} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-1" of file "plugins\SuperBans\customization.yml"
  2465. set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-2" of file "plugins\SuperBans\customization.yml"
  2466. set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-1" of file "plugins\SuperBans\customization.yml"
  2467. set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-2" of file "plugins\SuperBans\customization.yml"
  2468. set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
  2469. set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
  2470. set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
  2471. set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" of file "plugins\SuperBans\customization.yml"
  2472. set {MESSAGES::PUNISHMENTS::MUTE::Already-1} to yml value "PUNISHMENTS.MUTE.Already-1" of file "plugins\SuperBans\customization.yml"
  2473. set {MESSAGES::PUNISHMENTS::MUTE::Already-2} to yml value "PUNISHMENTS.MUTE.Already-2" of file "plugins\SuperBans\customization.yml"
  2474. set {MESSAGES::PUNISHMENTS::MUTE::Cannot-1} to yml value "PUNISHMENTS.MUTE.Cannot-1" of file "plugins\SuperBans\customization.yml"
  2475. set {MESSAGES::PUNISHMENTS::MUTE::Cannot-2} to yml value "PUNISHMENTS.MUTE.Cannot-2" of file "plugins\SuperBans\customization.yml"
  2476. set {MESSAGES::PUNISHMENTS::MUTE::No} to yml value "PUNISHMENTS.MUTE.No" of file "plugins\SuperBans\customization.yml"
  2477. set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Talk} to yml value "PUNISHMENTS.MUTE.BLOCKED.Talk" of file "plugins\SuperBans\customization.yml"
  2478. set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Command} to yml value "PUNISHMENTS.MUTE.BLOCKED.Command" of file "plugins\SuperBans\customization.yml"
  2479. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" of file "plugins\SuperBans\customization.yml"
  2480. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" of file "plugins\SuperBans\customization.yml"
  2481. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-3} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" of file "plugins\SuperBans\customization.yml"
  2482. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" of file "plugins\SuperBans\customization.yml"
  2483. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" of file "plugins\SuperBans\customization.yml"
  2484. set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" of file "plugins\SuperBans\customization.yml"
  2485. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
  2486. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
  2487. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-3::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" of file "plugins\SuperBans\customization.yml"
  2488. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
  2489. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" of file "plugins\SuperBans\customization.yml"
  2490. set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" of file "plugins\SuperBans\customization.yml"
  2491. set {MESSAGES::PUNISHMENTS::WARN::Cannot} to yml value "PUNISHMENTS.WARN.Cannot" of file "plugins\SuperBans\customization.yml"
  2492. set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar} to yml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" of file "plugins\SuperBans\customization.yml"
  2493. set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console} to yml value "PUNISHMENTS.WARN.NEW-WARN.Console" of file "plugins\SuperBans\customization.yml"
  2494. set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
  2495. set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
  2496. set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
  2497. set {MESSAGES::PUNISHMENTS::KICK::Cannot} to yml value "PUNISHMENTS.KICK.Cannot" of file "plugins\SuperBans\customization.yml"
  2498. set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar} to yml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" of file "plugins\SuperBans\customization.yml"
  2499. set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console} to yml value "PUNISHMENTS.KICK.NEW-KICK.Console" of file "plugins\SuperBans\customization.yml"
  2500. set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
  2501. set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
  2502. set {MESSAGES::PUNISHMENTS::BAN::Already-1} to yml value "PUNISHMENTS.BAN.Already-1" of file "plugins\SuperBans\customization.yml"
  2503. set {MESSAGES::PUNISHMENTS::BAN::Already-2} to yml value "PUNISHMENTS.BAN.Already-2" of file "plugins\SuperBans\customization.yml"
  2504. set {MESSAGES::PUNISHMENTS::BAN::Cannot-1} to yml value "PUNISHMENTS.BAN.Cannot-1" of file "plugins\SuperBans\customization.yml"
  2505. set {MESSAGES::PUNISHMENTS::BAN::Cannot-2} to yml value "PUNISHMENTS.BAN.Cannot-2" of file "plugins\SuperBans\customization.yml"
  2506. set {MESSAGES::PUNISHMENTS::BAN::No} to yml value "PUNISHMENTS.BAN.No" of file "plugins\SuperBans\customization.yml"
  2507. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" of file "plugins\SuperBans\customization.yml"
  2508. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" of file "plugins\SuperBans\customization.yml"
  2509. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-3} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" of file "plugins\SuperBans\customization.yml"
  2510. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" of file "plugins\SuperBans\customization.yml"
  2511. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" of file "plugins\SuperBans\customization.yml"
  2512. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" of file "plugins\SuperBans\customization.yml"
  2513. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
  2514. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
  2515. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-3::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" of file "plugins\SuperBans\customization.yml"
  2516. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
  2517. set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" of file "plugins\SuperBans\customization.yml"
  2518. set {MESSAGES::ANTISWEAR::Actionbar} to yml value "ANTISWEAR.Actionbar" of file "plugins\SuperBans\customization.yml"
  2519. set {MESSAGES::ANTISWEAR::Console} to yml value "ANTISWEAR.Console" of file "plugins\SuperBans\customization.yml"
  2520. set {MESSAGES::ANTISWEAR::SENT-TO-ADMINS::*} to yml list "ANTISWEAR.SENT-TO-ADMINS" of file "plugins\SuperBans\customization.yml"
  2521. set {MESSAGES::ANTISWEAR::SENT-TO-PLAYER::*} to yml list "ANTISWEAR.SENT-TO-PLAYER" of file "plugins\SuperBans\customization.yml"
  2522.  
  2523. set {OPTIONS::PUNISHMENTS::Notification-Type} to yml value "PUNISHMENTS.Notification-Type" of file "plugins\SuperBans\config.yml"
  2524. set {OPTIONS::PUNISHMENTS::Console-Notifications} to yml value "PUNISHMENTS.Console-Notifications" of file "plugins\SuperBans\config.yml"
  2525. set {OPTIONS::PUNISHMENTS::Show-Leave-Message} to yml value "PUNISHMENTS.Show-Leave-Message" of file "plugins\SuperBans\config.yml"
  2526. set {OPTIONS::PUNISHMENTS::Max-Warns} to yml value "PUNISHMENTS.Max-Warns" of file "plugins\SuperBans\config.yml"
  2527. set {OPTIONS::GUI::Unban-Messages} to yml value "GUI.Unban-Messages" of file "plugins\SuperBans\config.yml"
  2528. set {OPTIONS::GUI::Keep-Open} to yml value "GUI.Keep-Open" of file "plugins\SuperBans\config.yml"
  2529. set {OPTIONS::GUI::Silent} to yml value "GUI.Silent" of file "plugins\SuperBans\config.yml"
  2530. set {OPTIONS::SERVER::Name} to yml value "SERVER.Name" of file "plugins\SuperBans\config.yml"
  2531. set {OPTIONS::SERVER::Shop} to yml value "SERVER.Shop" of file "plugins\SuperBans\config.yml"
  2532. set {OPTIONS::SERVER::Web} to yml value "SERVER.Web" of file "plugins\SuperBans\config.yml"
  2533. set {OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*} to yml list "DISALLOWED.COMMANDS.While-Frozen" of file "plugins\SuperBans\config.yml"
  2534. set {OPTIONS::DISALLOWED::COMMANDS::While-Muted::*} to yml list "DISALLOWED.COMMANDS.While-Muted" of file "plugins\SuperBans\config.yml"
  2535. set {OPTIONS::ANTISWEAR::Enabled} to yml value "ANTISWEAR.Enabled" of file "plugins\SuperBans\config.yml"
  2536. set {OPTIONS::ANTISWEAR::Word-Replacer} to yml value "ANTISWEAR.Word-Replacer" of file "plugins\SuperBans\config.yml"
  2537. set {OPTIONS::ANTISWEAR::WORDS::*} to yml list "ANTISWEAR.WORDS" of file "plugins\SuperBans\config.yml"
  2538. set {OPTIONS::MAIN::File-Name} to yml value "MAIN.File-Name" of file "plugins\SuperBans\config.yml"
  2539. set {OPTIONS::MAIN::Check-For-Updates} to yml value "MAIN.Check-For-Updates" of file "plugins\SuperBans\config.yml"
  2540.  
  2541. on skript load:
  2542. set {_sizeofbans} to size of {bans::*}
  2543. set {_size-of-warned-blocked-commands} to size of {OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*}
  2544. set {_size-of-muted-blocked-commands} to size of {OPTIONS::DISALLOWED::COMMANDS::While-Muted::*}
  2545. set {_size-of-blocked-words} to size of {OPTIONS::ANTISWEAR::WORDS::*}
  2546. send "" to console
  2547. send "&e _____ &e_____" to console
  2548. send "&e / ___| &e| __ \" to console
  2549. send "&e \ `--. &6_ _ _ __ ___ _ __&e| |_/ / &6__ _ _ __ ___" to console
  2550. send "&e `--. \&6 | | | '_ \ / _ \ '__&e| __ \&6/ _` | '_ \/ __|" to console
  2551. send "&e /\__/ /&6 |_| | |_) | __/ | &e| |_/ /&6 (_| | | | \__ \" to console
  2552. send "&e \____/ &6\__,_| .__/ \___|_| &e\____/ &6\__,_|_| |_|___/ (v.&e{@version}&6)" to console
  2553. send "&e &6 | | &e""Just the way you want it.""" to console
  2554. send "&e &6 |_|" to console
  2555. send "&8 ________________________________________________________" to console
  2556. send "&8 | |" to console
  2557. send "&8 | &bThe skript and all related yml files have been loaded. &8|" to console
  2558. send "&8 | |" to console
  2559. send "&8 | &bThere are a total of &e%{_sizeofbans}% &bbanned accounts. &8|" to console
  2560. send "&8 | |" to console
  2561. send "&8 | &bLoaded &e%{_size-of-warned-blocked-commands}% &bblocked command(s) while frozen. &8|" to console
  2562. send "&8 | &bLoaded &e%{_size-of-muted-blocked-commands}% &bblocked command(s) while muted. &8|" to console
  2563. send "&8 | |" to console
  2564. send "&8 | &bLoaded &e%{_size-of-blocked-words}% &bblocked word(s). &8|" to console
  2565. if {OPTIONS::MAIN::Check-For-Updates} is "true":
  2566. if text from "https://api.spigotmc.org/legacy/update.php?resource=43663" is not "{@version}":
  2567. set {_version} to text from "https://api.spigotmc.org/legacy/update.php?resource=43663"
  2568. send "&8 | |" to console
  2569. send "&8 | &dThere's a new version available: &b%{_version}% &d(running &b{@version}&d) &8|" to console
  2570. send "&8 | &dDownload it from: &ahttps://goo.gl/jNKgkk &8|" to console
  2571. send "&8 |________________________________________________________|" to console
  2572. send "" to console
Advertisement
Add Comment
Please, Sign In to add comment