ArtzifyHD

Skript FrostChat 1.2.1 TEST BUILD

Jul 27th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. #FROSTCHAT ( CUSTOM CHAT CONTROL SKRIPT MADE BY FROSTEDWEFALL )#
  2. #INTENDED FOR USE AT MC.MINEHUT.COM AND TNTSPLEEF.MINEHUT.ME )#
  3. options:
  4. prefix: &7[&bFrostCHAT&7]
  5. AdminPerm: &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!
  6. ModPerm: &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!
  7. OwnerPerm: &8» &7You require the rank &7[&4OWNER&7] to execute that command!
  8. AdminCmdPerm: frostchat.admin
  9. ModCmdPerm: frostchat.mod
  10. OwnerCmdPerm: frostchat.owner
  11. MainCmdAliases: /frostaa /aa /antiad
  12. Version: &e1.2.1 - &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING#
  13. on chat:
  14. if message contains "www":
  15. player doesn't have permission "frostchat.bypass"
  16. cancel event
  17. message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
  18. message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
  19. on chat:
  20. if message contains ".com":
  21. player doesn't have permission "frostchat.bypass"
  22. cancel event
  23. message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
  24. message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
  25. on chat:
  26. if message contains ".eu":
  27. player doesn't have permission "frostchat.bypass"
  28. cancel event
  29. message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
  30. message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
  31. on chat:
  32. if message contains ".co":
  33. player doesn't have permission "frostchat.bypass"
  34. cancel event
  35. message "{@prefix} &8» &7Please do not advertise unverified links in chat, doing so will result in a punishment!"
  36. message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
  37. on chat:
  38. if message contains ".us":
  39. player doesn't have permission "frostchat.bypass"
  40. cancel event
  41. message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
  42. message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
  43.  
  44. command /frostaa [<offlineplayer>] [<text>] [<text>]:
  45. aliases: {@MainCmdAliases}
  46. permission: {@ModCmdPerm}
  47. permission message: {@ModPerm}
  48. trigger:
  49. if arg 1 is not set:
  50. send "&7&m--------------------------"
  51. send " {@prefix} &b&lCommands&8:"
  52. send "&f"
  53. send "&8- &7/frostchat reload"
  54. send "&8- &7/frostchat help"
  55. send "&8- &7/frostchat version"
  56. send "&8- &7/frostchat reload"
  57. send "&8- &7/frostaa help"
  58. send "&8- &7/frostaa [<offlineplayer>] [<text>] [<text>]:"
  59. send "&8- &7/frostaar reset"
  60. send "&8- &7/chat help"
  61. send "&8- &7/frostaa set"
  62. send "&8- &7More Features Coming Soon!"
  63. send "&7"
  64. send "&7&m--------------------------"
  65. stop
  66.  
  67. command /frostchat [<text>]:
  68. aliases: /fchat, /frostc
  69. permission: {@OwnerCmdPerm}
  70. permission message: {@OwnerPerm}
  71. trigger:
  72. if arg 1 is "reload":
  73. send "{@prefix} &aSkript has been reloaded&8!"
  74. console command "/sk reload FrostChat.sk"
  75. if arg 1 is "help":
  76. send "{@prefix} &6&lCommands&8:"
  77. send "&8- &7/frostchat reload"
  78. send "&8- &7/frostchat help"
  79. send "&8- &7/frostchat version"
  80. if arg 1 is not set:
  81. send "{@prefix} &6&lHelp&8:"
  82. send "&8- &7FrostChat Skript By &aFrostedWeFall"
  83. send "&8- &7Version&8: {@Version}"
  84. send "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh"
  85. send "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
  86. if arg 1 is "version":
  87. send "&8- &7Version&8: {@Version}"
  88. send "&8- &7FrostChat Skript By &aFrostedWeFall"
  89. send "&8- &7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
  90. command /chat [<text>]:
  91. permission: {@OwnerCmdPerm}
  92. permission message:{@OwnerPerm}
  93. trigger:
  94. if arg 1 is "help":
  95. send "{@prefix} &b&lCommands&8:"
  96. send "&8- &7/chat clear"
  97. send "&8- &7/chat disable"
  98. send "&8- &7/chat enable"
  99. if arg 1 is "clear":
  100. loop 300 times:
  101. broadcast ""
  102. broadcast ""
  103. broadcast "{@prefix} &2Chat has been cleared by &a%player%"
  104. if arg 1 is "disable":
  105. set {chat} to false
  106. broadcast "{@prefix} &c%player% &7Has Muted The Chat!&8."
  107. if arg 1 is "enable":
  108. set {chat} to true
  109. broadcast "{@prefix} &c%player% &7Has Unmuted The Chat!&8."
  110.  
  111. on chat:
  112. if {chat} is false:
  113. if player has permission "frostchat.allowchat":
  114. cancel event
  115. broadcast "&9%player's displayname%&8: &f%message%"
  116. else:
  117. cancel event
  118. send "{@prefix} &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!"
  119. else:
  120. cancel event
  121. broadcast "&9%player's displayname%&8: &f%message%"
Add Comment
Please, Sign In to add comment