ArtzifyHD

Skript FrostChat 1.2.6 TEST BUILD

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