Advertisement
FrostedWeFall

ChatCore 2.0.4

Oct 27th, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. #Thank you for using my ChatCore V2.0.4 1.12.2 Skript#
  2. #This has been recently updated for 1.12.2 compatibility#
  3. #Be sure to check out my other Skripts and Plugins below#
  4. #Just copy and paste the following links into your browser or search engine#
  5. #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/#
  6. #https://www.spigotmc.org/resources/playervaults-duplication-protect.45711/
  7. #https://www.spigotmc.org/resources/frostclearlag.46239/#
  8. #Thanks for reading, I hope you enjoy my plugin!#
  9.  
  10. options:
  11. 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"
  12. Version: V 2.0.4
  13. command /clearchat:
  14. permission: chatcore.clearchat
  15. trigger:
  16. broadcast "&7"
  17. loop 300 times:
  18. broadcast ""
  19. broadcast ""
  20. broadcast "&4Chat has been cleared by an administrator"
  21. stop
  22. command /cc [<text>]:
  23. permission: chatcore.admin.help
  24. permission message: &cYou currently do not have the required permissions to execute this command. Please contact a server administrator if this is wrong! ChatCore.Admin.Help
  25. trigger:
  26. if arg 1 is "help":
  27. send "&6Chat&7Core Mini Help 1:"
  28. send "&8- &7/clearchat"
  29. send "&8- &7/cc disable"
  30. send "&8- &7/cc enable"
  31. send "&8- &7/cc reload"
  32. send "&8- &7/chatcore"
  33. send "&8- &7/antiswear"
  34. send "&8- &7/cc help2"
  35. if arg 1 is "help2":
  36. send "&6Chat&7Core Mini Help 2:"
  37. send "&8- &7/cc ping"
  38. send "&8- &7/cc help"
  39. send "&8- &7/cc permissions"
  40. send "&8- &7/antiad &aNew"
  41. if arg 1 is "permissions":
  42. send "&7 &6&k;;&r &e&lC H A T C O R E {@Version} &6&k;;"
  43. send "&8- &7ChatCore.Bypass"
  44. send "&8- &7ChatCore.Admin"
  45. send "&8- &7ChatCore.Bypass"
  46. send "&8- &7ChatCore.Admin.Help"
  47. send "&8- &7ChatCore.Clearchat"
  48. if arg 1 is "disable":
  49. set {chat} to false
  50. broadcast "&cChat has been disabled by an administrator."
  51. if arg 1 is "enable":
  52. set {chat} to true
  53. broadcast "&aChat has been enabled by an administator."
  54. if arg 1 is "reload":
  55. broadcast "&cChatCore {@Version} is reloading.."
  56. make player execute command "/sk reload ChatCore"
  57. wait 7 seconds
  58. broadcast "&aChatCore {@Version} has succesfully reloaded!"
  59. broadcast "&aPlease report any issues on the Spigot page!"
  60. if arg 1 is "ping":
  61. send "&cThis feature has been temporarily disabled by the developer"
  62. command /chatcore:
  63. trigger:
  64. send "&7 &6&k;;&r &e&lC H A T C O R E {@Version} &6&k;;"
  65. send "&7"
  66. send "&7ChatCore ( Free ) is a feature heavy all in one chat control alternative skript developed entirely by &6FrostedWeFall&7!"
  67. send "&7This server is running ChatCore {@Version}"
  68. send "&7"
  69. command /antiswear:
  70. trigger:
  71. send "&cThis feature has been temporarily disabled by the developer"
  72. command /antiad:
  73. trigger:
  74. send "&7 &6&k;;&r &e&lB l o c k e d A d W o r d s &6&k;;"
  75. send ""
  76. 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"
  77. send ""
  78. on command:
  79. if command is "pl":
  80. if player doesn't have permission "chatcore.admin":
  81. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  82. cancel event
  83. if command is "bukkit:pl":
  84. if player doesn't have permission "chatcore.admin":
  85. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  86. cancel event
  87. if command is "plugins":
  88. if player doesn't have permission "chatcore.admin":
  89. send "&cYou do not have the permission chatcore.admin and therefore cannot perform this operation. Please contact your server administrator if this is wrong."
  90. cancel event
  91. on chat:
  92. if message contains {@BlockedWords}:
  93. cancel event
  94. make console execute command "/mute %player% 5m"
  95. send "&7&m-------------------------"
  96. send "&cPlease do not attempt to advertise"
  97. send "&7&m-------------------------"
  98. on chat:
  99. if {chat} is false:
  100. if player has permission "chatcore.bypass":
  101. cancel event
  102. broadcast "&7ยป &9%player's displayname%&8: &7%message%"
  103. else:
  104. cancel event
  105. send "&cChat has been disabled&8!"
  106. else:
  107. cancel event
  108. broadcast "&7ยป &9%player's displayname%&8: &7%message%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement