SHOW:
|
|
- or go back to the newest paste.
| 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# |
| 12 | + | Version: &c1.2.2 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING# |
| 13 | on join: | |
| 14 | broadcast "{@prefix} &4FrostChat Skript is being prepared for startup&8!"
| |
| 15 | wait 2 seconds | |
| 16 | broadcast "{@prefix} &6FrostChat is ready for startup&8!
| |
| 17 | wait 4 seconds | |
| 18 | console command "/sk reload FrostChat.sk" | |
| 19 | broadcast "{@prefix} &aFrostChat Skript has loaded successfully&8!"
| |
| 20 | broadcast "{@prefix} &4Report Any Issues Here : http://bit.ly/2h7ab7V
| |
| 21 | wait 3 seconds | |
| 22 | broadcast "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 23 | broadcast "&8- &7Version&8: {@Version}"
| |
| 24 | broadcast "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh" | |
| 25 | broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" | |
| 26 | on chat: | |
| 27 | if message contains "www": | |
| 28 | player doesn't have permission "frostchat.bypass" | |
| 29 | cancel event | |
| 30 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 31 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 32 | on chat: | |
| 33 | if message contains ".com": | |
| 34 | player doesn't have permission "frostchat.bypass" | |
| 35 | cancel event | |
| 36 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 37 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 38 | on chat: | |
| 39 | if message contains ".eu": | |
| 40 | player doesn't have permission "frostchat.bypass" | |
| 41 | cancel event | |
| 42 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 43 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 44 | - | command /frostaa [<offlineplayer>] [<text>] [<text>]: |
| 44 | + | |
| 45 | if message contains ".co": | |
| 46 | player doesn't have permission "frostchat.bypass" | |
| 47 | cancel event | |
| 48 | message "{@prefix} &8» &7Please do not advertise unverified links in chat, doing so will result in a punishment!"
| |
| 49 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 50 | on chat: | |
| 51 | if message contains ".us": | |
| 52 | player doesn't have permission "frostchat.bypass" | |
| 53 | cancel event | |
| 54 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 55 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 56 | ||
| 57 | command /frostaa [<text>]: | |
| 58 | - | send "&8- &7/frostaa [<offlineplayer>] [<text>] [<text>]:" |
| 58 | + | |
| 59 | permission: {@ModCmdPerm}
| |
| 60 | permission message: {@ModPerm}
| |
| 61 | - | send "&8- &7/frostaa set" |
| 61 | + | |
| 62 | if arg 1 is help: | |
| 63 | send "&7&m--------------------------" | |
| 64 | send " {@prefix} &b&lCommands&8:"
| |
| 65 | - | stop |
| 65 | + | |
| 66 | send "&8- &7/frostchat reload" | |
| 67 | send "&8- &7/frostchat help" | |
| 68 | send "&8- &7/frostchat version" | |
| 69 | send "&8- &7/frostchat reload" | |
| 70 | send "&8- &7/frostaa help" | |
| 71 | send "&8- &7/frostaar reset" | |
| 72 | send "&8- &7/chat help" | |
| 73 | - | send "{@prefix} &aSkript has been reloaded&8!"
|
| 73 | + | |
| 74 | send "&7" | |
| 75 | send "&7&m--------------------------" | |
| 76 | - | send "{@prefix} &6&lCommands&8:"
|
| 76 | + | |
| 77 | send "{@prefix} &aFrostChat Skript is being reloaded&8!"
| |
| 78 | wait 4 seconds | |
| 79 | console command "/sk reload FrostChat.sk" | |
| 80 | send "{@prefix} &aFrostChat Skript has been reloaded successfully"
| |
| 81 | wait 3 seconds | |
| 82 | broadcast "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 83 | broadcast "&8- &7Version&8: {@Version}"
| |
| 84 | broadcast "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh" | |
| 85 | broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" | |
| 86 | ||
| 87 | command /frostchat [<text>]: | |
| 88 | aliases: /fchat, /frostc | |
| 89 | permission: {@OwnerCmdPerm}
| |
| 90 | permission message: {@OwnerPerm}
| |
| 91 | trigger: | |
| 92 | if arg 1 is "help": | |
| 93 | send "{@prefix} &b&lCommands&8:"
| |
| 94 | send "&8- &7/frostchat help" | |
| 95 | send "&8- &7/frostchat version" | |
| 96 | if arg 1 is not set: | |
| 97 | send "{@prefix} &6&lHelp&8:"
| |
| 98 | send "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 99 | send "&8- &7Version&8: {@Version}"
| |
| 100 | send "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh" | |
| 101 | send "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" | |
| 102 | if arg 1 is "version": | |
| 103 | send "&8- &7Version&8: {@Version}"
| |
| 104 | send "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 105 | send "&8- &7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" | |
| 106 | command /chat [<text>]: | |
| 107 | permission: {@OwnerCmdPerm}
| |
| 108 | permission message:{@OwnerPerm}
| |
| 109 | trigger: | |
| 110 | if arg 1 is "help": | |
| 111 | send "{@prefix} &b&lCommands&8:"
| |
| 112 | send "&8- &7/chat clear" | |
| 113 | send "&8- &7/chat disable" | |
| 114 | send "&8- &7/chat enable" | |
| 115 | if arg 1 is "clear": | |
| 116 | loop 300 times: | |
| 117 | broadcast "" | |
| 118 | broadcast "" | |
| 119 | broadcast "{@prefix} &2Chat has been cleared by &a%player%"
| |
| 120 | if arg 1 is "disable": | |
| 121 | - | broadcast "&9%player's displayname%&8: &f%message%" |
| 121 | + | |
| 122 | broadcast "{@prefix} &c%player% &7Has Muted The Chat!&8."
| |
| 123 | if arg 1 is "enable": | |
| 124 | set {chat} to true
| |
| 125 | broadcast "{@prefix} &c%player% &7Has Unmuted The Chat!&8."
| |
| 126 | ||
| 127 | on chat: | |
| 128 | if {chat} is false:
| |
| 129 | if player has permission "frostchat.allowchat": | |
| 130 | cancel event | |
| 131 | broadcast "&9%player's displayname%&8: &f%message%" | |
| 132 | else: | |
| 133 | cancel event | |
| 134 | send "{@prefix} &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!"
| |
| 135 | else: | |
| 136 | cancel event | |
| 137 | broadcast "&9%player's displayname%&8: &f%message%" |