Advertisement
FrostedWeFall

ChatCore2.1

Dec 26th, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.75 KB | None | 0 0
  1. # Do not touch the following piece of code, Thanks. #
  2. options:
  3. Version: V 2.1
  4.  
  5. # ~~~~~~~~~~~~~ONLY Change below if you have used skript before! We don't provide support for changed features! | Only change for personal use ~~~~~~~~~~~~~
  6. # Put any words you wish to block below.
  7. options:
  8. BlockedWords: ".com" or ".net" or ".co" or ".us" or ".uk" or ".ws" or ".tk" or ".org" or ".to" or "dot." or "dot," or "(dot)" or ".192" or "dot" or ".aternos" or ".tech" or ".edu" or "DOT" or " , " or ".de" or ".tl" or ".nl" or ".be" or ".me" or ".info" or ".ly" or ".onion" or ".bit" or ".pl" or ".gl" or ".tv" or ".gs" or ".myserver" or ".club" or ".space" or ".design" or ".rent" or ".bid" or ".trade" or ".webcam" or ".press" or ".io" or ".ca" or ".college" or ".host" or ".es" or ".yoga" or ".financial" or ".flights" or ".guitars" or ".xyz" or ".dj" or ".is" or ".hub" or ".server" or ".webcam" or ".ninja" or ".financial" or ".ca" or ".eu" or ".esy"
  9. LowLevelCurses: "fuck" or "shit" or "asshole" or "ass" or "cunt" or "bitch" or "shit" or "kys" or "kill yourself" # Add More words if you wish to #
  10. HighLevelCurses: "fuck" or "shit" or "asshole" or "ass" or "cunt" or "bitch" or "shit" or "wtf" or "anus" or "trash" or "kys" or "fuck you" or "f u" or "beach" # Default Level set to Low in config, go down to Line 15 the code and change {@LowLevelCurses} to {@HighLevelCurses}
  11. Warning: &7Clearing Entities In
  12. NoPermissionMsg: &cYou currently do not have the required permissions to execute this command. Please contact a server administrator if this is wrong!
  13. PunishmentCommand: /mute %player% 1m # You can set this to mute or ban a player. The placeholder for the player is %player%
  14.  
  15. on chat:
  16. if message contains {@LowLevelCurses}:
  17. cancel event
  18. make console execute command "{@PunishmentCommand}"
  19. send "&7&m-------------------------"
  20. send "&cPlease do not swear!"
  21. send "&7&m-------------------------"
  22.  
  23. command /clearchat:
  24. description: Clears the chat of everybody on the server at that current time!
  25. aliases: /clearc, /chatclear, /chatcore:clearchat, /chatcore:chatclear
  26. permission: chatcore.admin.clearchat
  27. permission message: {@NoPermissionMsg}
  28. trigger:
  29. broadcast "&7"
  30. loop 150 times:
  31. broadcast ""
  32. broadcast ""
  33. broadcast "&4Chat has been cleared by an administrator"
  34. stop
  35. command /cc [<Text>] [<Integer>]:
  36. description: The help menu for the skript!
  37. permission: chatcore.admin.help
  38. permission message: {@NoPermissionMsg}
  39. trigger:
  40. if arg 1 is not set:
  41. send "&cIncorrect usage. Try, /cc help"
  42. if arg 1 is "help":
  43. if arg 2 is 1:
  44. send "&7&m----------&7[&9ChatCore {@Version} Help &7&k|&e Page 1 &7]&m----------"
  45. send "&8- &7/cc clearchat"
  46. send "&8- &7/cc disable"
  47. send "&8- &7/cc enable"
  48. send "&8- &7/cc reload"
  49. send "&8- &7/chatcore"
  50. send "&8- &7/antiswear"
  51. send "&8- &7/cc help 2"
  52. send "&7&m---------------&7[&9ChatCore {@Version} Help &7&k|&e Page 1 &7]&m----------"
  53. if arg 2 is 2:
  54. send "&7&m----------&7[ &9ChatCore {@Version} Help &7&k|&e Page 2 &7]&m----------"
  55. send "&8- &7/cc ping"
  56. send "&8- &7/cc help"
  57. send "&8- &7/cc permissions"
  58. send "&8- &7/blockedwords &aNew"
  59. send "&8- &7/cc help 3"
  60. send "&8- &7/cc &aNew"
  61. send "&8- &7/clearmychat &aNew"
  62. send "&7&m----------&7[ &9ChatCore {@Version} Help &7&k|&e Page 2 &7]&m----------"
  63. if arg 2 is 3:
  64. send "&7&m----------&7[ &9ChatCore {@Version} Help &7&k|&e Page 3 &7]&m----------"
  65. send "&8- &7/chatcoreupdater &cDisabled for development!"
  66. send "&7&m----------&7[ &9ChatCore {@Version} Help &7&k|&e Page 3 &7]&m----------"
  67. if arg 1 is "permissions":
  68. send "&7 &6&k;;&r &e&lC H A T C O R E {@Version} &6&k;;"
  69. send "&8- &7ChatCore.Bypass"
  70. send "&8- &7ChatCore.Admin"
  71. send "&8- &7ChatCore.Bypass"
  72. send "&8- &7ChatCore.Admin.Help"
  73. send "&8- &7ChatCore.Clearchat"
  74. send "&8- &7ChatCore.Clearmychat &aNew"
  75. send "&8- &7ChatCore.Clearentities &aNew"
  76. if arg 1 is "disable":
  77. set {chat} to false
  78. broadcast "&7Chat has been disabled by &c%player%&7! ."
  79. if arg 1 is "enable":
  80. set {chat} to true
  81. broadcast "&7Chat has been enabled by &c%player%&7!r."
  82. if arg 1 is "reload":
  83. broadcast "&cChatCore {@Version} is reloading.."
  84. make player execute command "/sk reload ChatCore"
  85. wait 7 seconds
  86. broadcast "&aChatCore {@Version} has succesfully reloaded!"
  87. broadcast "&aPlease report any issues on the Github page!"
  88. if arg 1 is "ping":
  89. send "&cThis feature has been temporarily disabled by the developer"
  90. if arg 1 is "clearchat":
  91. make player execute command "/clearchat"
  92. stop
  93. command /chatcore:
  94. trigger:
  95. send "&7 &6&k;;&r &e&lC H A T C O R E {@Version} &6&k;;"
  96. send "&7"
  97. send "&7ChatCore ( Free ) is a all in one chat control skript developed entirely by &6FrostedWeFall&7!"
  98. send "&7This server is running ChatCore {@Version}"
  99. send "&7"
  100. command /blockedwords:
  101. trigger:
  102. send "&7 &6&k;;&r &e&lB l o c k e d A d W o r d s &6&k;;"
  103. send ""
  104. send "&9.com, .net, .co, .us, .uk, .ws, .tk, .org, .to, dot., dot, (dot), .192, dot, .aternos, .tech, .edu, DOT, .de, .tl, .nl, .be, .me, .info, .ly, .onion, .bit, .pl, .gl, .tv, .gs, .myserver, .club, .space, .design, .rent, .bid, .trade, .webcam, .press, .io, .ca, .college, .host, .es, .yoga, .financial, .flights, .guitars, .xyz, .dj , .is, .hub, .server, .webcam, .ninja, .financial, .ca, .eu, .esy"
  105. send ""
  106. on command:
  107. if command is "pl":
  108. if player doesn't have permission "chatcore.admin":
  109. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  110. cancel event
  111. if command is "bukkit:pl":
  112. if player doesn't have permission "chatcore.admin":
  113. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  114. cancel event
  115. if command is "plugins":
  116. if player doesn't have permission "chatcore.admin":
  117. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  118. cancel event
  119. if command is "version":
  120. if player doesn't have permission "chatcore.admin":
  121. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  122. cancel event
  123. if command is "icanhasbukkit":
  124. if player doesn't have permission "chatcore.admin":
  125. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  126. cancel event
  127. if command is "help":
  128. if player doesn't have permission "chatcore.admin":
  129. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  130. cancel event
  131. if command is "bukkit:help":
  132. if player doesn't have permission "chatcore.admin":
  133. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  134. cancel event
  135. if command is "?":
  136. if player doesn't have permission "chatcore.admin":
  137. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  138. cancel event
  139. if command is "bukkit:?":
  140. if player doesn't have permission "chatcore.admin":
  141. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  142. cancel event
  143. on chat:
  144. if message contains {@BlockedWords}:
  145. cancel event
  146. make console execute command "/mute %player% 5m"
  147. send "&7&m-------------------------"
  148. send "&cPlease do not attempt to advertise"
  149. send "&7&m-------------------------"
  150. on chat:
  151. if {chat} is false:
  152. if player has permission "chatcore.admin.bypass":
  153. cancel event
  154. broadcast "&9%player's displayname%&8: &f%message%"
  155. else:
  156. cancel event
  157. send "&cChat has been disabled by an administrator&8!"
  158. else:
  159. cancel event
  160. broadcast "&9%player's displayname%&8: &f%message%"
  161.  
  162.  
  163. # Experimental Commands + Disabled commands will go below here ( Idea from SimpleChat Skript ) #
  164.  
  165. command /clearmychat:
  166. permission: chatcore.clearmychat
  167. trigger:
  168. message "&7"
  169. loop 150 times:
  170. message ""
  171. message ""
  172. message "&4Your chat has been cleared!"
  173. stop
  174.  
  175.  
  176. command /chatcoreupdater:
  177. permission: chatcore.admin.updater
  178. trigger:
  179. send "&cThis feature has been temporarily disabled by the developer"
  180.  
  181.  
  182. # Find that here https://www.spigotmc.org/resources/simplechat-chat-formatter-antiswear-and-more-skript-1-7-1-12.9998/ #
  183.  
  184. #Thank you for using my ChatCore V2.10 1.12.2 Skript#
  185. #This has been recently updated for 1.12.2 compatibility#
  186. #Be sure to check out my other Skripts and Plugins below#
  187. #Just copy and paste the following links into your browser or search engine#
  188. #https://www.spigotmc.org/resources/%E2%98%85-basicbackpacks-%E2%98%85-the-best-working-backpacks-plugin-%E2%96%BA-constant-updates-%E2%97%84.47339/#
  189. #https://www.spigotmc.org/resources/playervaults-duplication-protect.45711/
  190. #https://www.spigotmc.org/resources/frostclearlag.46239/#
  191. #https://www.spigotmc.org/resources/%E2%9C%B1-combat-log-%E2%9C%B1-skript-%E2%9C%B1-1-8-x-1-12-2-%E2%9C%B1-fully-customizable-%E2%9C%B1-new-%E2%9C%B1.49866/#
  192. #https://www.spigotmc.org/resources/consolecommands.50744/#
  193. #More plugins coming soon including a paid version of chatcore!#
  194. #Thanks for reading, I hope you enjoy my plugin!#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement