Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.6 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING#
- on chat:
- if message contains "com":
- player doesn't have permission "frostchat.admin"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to type links!"
- on chat:
- if message contains "eu":
- player doesn't have permission "frostchat.admin"
- cancel event
- message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
- message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to type links!"
- on chat:
- if message contains "co":
- player doesn't have permission "frostchat.admin"
- 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 type links!"
- 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/frostaa reload"
- send "&8- &7/frostaa help"
- send "&8- &7/chat help"
- send "&8- &7More Features Coming Soon!"
- send "&7"
- send "&7&m--------------------------"
- if arg 1 is "reload":
- broadcast "{@prefix} &4FrostChat Skript is being prepared for reload&8!"
- wait 3 seconds
- console command "/sk reload FrostChat.sk"
- send "{@prefix} &aFrostChat Skript has been reloaded successfully"
- 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 "version":
- send "&8- &7Version&8: {@Version}"
- send "&8- &7FrostChat Skript By &aFrostedWeFall"
- send "&8- &7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/"
- send "&8- &7Report Any Issues Here: http://bit.ly/2h7ab7V"
- 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 "{@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
Advertisement