Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #FROSTCHAT ( CUSTOM CHAT CONTROL SKRIPT MADE BY FROSTEDWEFALL )#
- #INTENDED FOR USE AT MC.MINEHUT.COM AND TNTSPLEEF.MINEHUT.ME )#
- options:
- prefix: &7[&bFrostCHAT&7]
- AdminPerm: &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!
- ModPerm: &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!
- OwnerPerm: &8» &7You require the rank &7[&4OWNER&7] to execute that command!
- AdminCmdPerm: frostchat.admin
- ModCmdPerm: frostchat.mod
- OwnerCmdPerm: frostchat.owner
- MainCmdAliases: /frostaa /aa /antiad
- Version: &c1.2.2 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING#
- on join:
- broadcast "{@prefix} &4FrostChat Skript is being prepared for startup&8!"
- wait 2 seconds
- broadcast "{@prefix} &6FrostChat is ready for startup&8!
- wait 4 seconds
- console command "/sk reload FrostChat.sk"
- broadcast "{@prefix} &aFrostChat Skript has loaded successfully&8!"
- broadcast "{@prefix} &4Report Any Issues Here : http://bit.ly/2h7ab7V
- wait 3 seconds
- broadcast "&8- &7FrostChat Skript By &aFrostedWeFall"
- broadcast "&8- &7Version&8: {@Version}"
- broadcast "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh"
- broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
- on chat:
- if message contains "www":
- player doesn't have permission "frostchat.bypass"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
- on chat:
- if message contains ".com":
- player doesn't have permission "frostchat.bypass"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
- on chat:
- if message contains ".eu":
- player doesn't have permission "frostchat.bypass"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
- on chat:
- if message contains ".co":
- player doesn't have permission "frostchat.bypass"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat, doing so will result in a punishment!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
- on chat:
- if message contains ".us":
- player doesn't have permission "frostchat.bypass"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
- command /frostaa [<text>]:
- aliases: {@MainCmdAliases}
- permission: {@ModCmdPerm}
- permission message: {@ModPerm}
- trigger:
- if arg 1 is help:
- send "&7&m--------------------------"
- send " {@prefix} &b&lCommands&8:"
- send "&f"
- send "&8- &7/frostchat reload"
- send "&8- &7/frostchat help"
- send "&8- &7/frostchat version"
- send "&8- &7/frostchat reload"
- send "&8- &7/frostaa help"
- send "&8- &7/frostaar reset"
- send "&8- &7/chat help"
- send "&8- &7More Features Coming Soon!"
- send "&7"
- send "&7&m--------------------------"
- if arg 1 is "reload":
- send "{@prefix} &aFrostChat Skript is being reloaded&8!"
- wait 4 seconds
- console command "/sk reload FrostChat.sk"
- send "{@prefix} &aFrostChat Skript has been reloaded successfully"
- wait 3 seconds
- broadcast "&8- &7FrostChat Skript By &aFrostedWeFall"
- broadcast "&8- &7Version&8: {@Version}"
- broadcast "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh"
- broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
- command /frostchat [<text>]:
- aliases: /fchat, /frostc
- permission: {@OwnerCmdPerm}
- permission message: {@OwnerPerm}
- trigger:
- if arg 1 is "help":
- send "{@prefix} &b&lCommands&8:"
- send "&8- &7/frostchat help"
- send "&8- &7/frostchat version"
- if arg 1 is not set:
- send "{@prefix} &6&lHelp&8:"
- send "&8- &7FrostChat Skript By &aFrostedWeFall"
- send "&8- &7Version&8: {@Version}"
- send "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh"
- send "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
- if arg 1 is "version":
- send "&8- &7Version&8: {@Version}"
- send "&8- &7FrostChat Skript By &aFrostedWeFall"
- send "&8- &7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
- command /chat [<text>]:
- permission: {@OwnerCmdPerm}
- permission message:{@OwnerPerm}
- trigger:
- if arg 1 is "help":
- send "{@prefix} &b&lCommands&8:"
- send "&8- &7/chat clear"
- send "&8- &7/chat disable"
- send "&8- &7/chat enable"
- if arg 1 is "clear":
- loop 300 times:
- broadcast ""
- broadcast ""
- broadcast "{@prefix} &2Chat has been cleared by &a%player%"
- if arg 1 is "disable":
- set {chat} to false
- broadcast "{@prefix} &c%player% &7Has Muted The Chat!&8."
- if arg 1 is "enable":
- set {chat} to true
- broadcast "{@prefix} &c%player% &7Has Unmuted The Chat!&8."
- on chat:
- if {chat} is false:
- if player has permission "frostchat.allowchat":
- cancel event
- broadcast "&9%player's displayname%&8: &f%message%"
- else:
- cancel event
- send "{@prefix} &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!"
- else:
- cancel event
- broadcast "&9%player's displayname%&8: &f%message%"
Advertisement
Add Comment
Please, Sign In to add comment