SHOW:
|
|
- or go back to the newest paste.
| 1 | options: | |
| 2 | prefix: &7[&bFrostCHAT&7] | |
| 3 | MainCmdAliases: /frostaa /aa /antiad | |
| 4 | - | Version: &c1.2.6 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING# |
| 4 | + | Version: &c1.2.8 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING# |
| 5 | #What it broadcasts to the server when someone mutes the chat. | |
| 6 | chat-mute-message : &7[&bFrostCHAT&7] &aChat was muted by&2 %player%&a. | |
| 7 | #What it broadcasts to the server when someone un mutes the chat. | |
| 8 | chat-unmute-message : &7[&bFrostCHAT&7] &aChat was un-muted by&2 %player% | |
| 9 | #what it says when someone trys to talk when the chat is muted | |
| 10 | chat-muted-message : &7[&bFrostCHAT&7] &aChat is muted right now. &2Try again later | |
| 11 | #If people with the permission can talk (false means that no one can talk, true means that ppl with the permission can talk, when chat is muted) | |
| 12 | - | chat-bypass-allow : true |
| 12 | + | chat-bypass-allow : false |
| 13 | #The permission needed to use /gmute | |
| 14 | chat-gmute-perm : chat.mute | |
| 15 | #The message when someone bypasses global mute | |
| 16 | chat-bypass : &7[&bFrost&cADMIN&7] &aYou bypassed Frost Chat Mute! | |
| 17 | #Permission to bypass the global mute | |
| 18 | bypass-perm : mute.global.bypass | |
| 19 | ||
| 20 | ||
| 21 | command /gmute: | |
| 22 | description: Will mute the chat | |
| 23 | permission: {@chat-gmute-perm}
| |
| 24 | trigger: | |
| 25 | if {gmute} is false:
| |
| 26 | set {gmute} to true
| |
| 27 | broadcast "{@chat-mute-message}"
| |
| 28 | else: | |
| 29 | set {gmute} to false
| |
| 30 | broadcast "{@chat-unmute-message}"
| |
| 31 | on chat: | |
| 32 | if {gmute} is true:
| |
| 33 | if {@chat-bypass-allow} is true:
| |
| 34 | if player has permission "{@bypass-perm}":
| |
| 35 | message "{@chat-bypass}"
| |
| 36 | else: | |
| 37 | cancel event | |
| 38 | message "{@chat-muted-message}"
| |
| 39 | ||
| 40 | command /frostaa [<text>]: | |
| 41 | trigger: | |
| 42 | if arg is not set: | |
| 43 | send "&7&m--------------------------" | |
| 44 | send " ✪{@prefix} &b&lCommands&8✪"
| |
| 45 | send "&f" | |
| 46 | send "&8- &7/frostchat reload" | |
| 47 | send "&8- &7/frostchat help" | |
| 48 | send "&8- &7/frostchat version" | |
| 49 | send "&8- &7/frostaa reload" | |
| 50 | send "&8- &7/frostaa help" | |
| 51 | send "&8- &7/chat help" | |
| 52 | send "&8- &7More Features Coming Soon!" | |
| 53 | send "&7" | |
| 54 | send "&7&m--------------------------" | |
| 55 | - | if arg 1 is reload |
| 55 | + | |
| 56 | - | send "{@prefix} &aFrostChat Skript has been reloaded successfully"
|
| 56 | + | |
| 57 | aliases: /fchat, /frostc | |
| 58 | permission: frostchat.owner | |
| 59 | trigger: | |
| 60 | if arg 1 is "help": | |
| 61 | send "{@prefix} &b&lCommands&8:"
| |
| 62 | - | if arg 1 is help: |
| 62 | + | |
| 63 | send "&8- &7/frostchat version" | |
| 64 | if arg 1 is "version": | |
| 65 | send "&8- &7✪Version&8: {@Version}✪"
| |
| 66 | - | if arg 1 is version: |
| 66 | + | |
| 67 | send "&8- &✪7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/✪" | |
| 68 | send "&8- &7✪Report Any Issues Here: http://bit.ly/2h7ab7V✪" | |
| 69 | ||
| 70 | command /chat [<text>]: | |
| 71 | aliases: /c | |
| 72 | permission: frostchat.owner | |
| 73 | trigger: | |
| 74 | if arg 1 is "help": | |
| 75 | send "{@prefix} &b&lCommands&8:"
| |
| 76 | - | if arg 1 is help: |
| 76 | + | |
| 77 | send "&8- &7/chat disable" | |
| 78 | send "&8- &7/chat enable" | |
| 79 | if arg 1 is "clear": | |
| 80 | loop 300 times: | |
| 81 | broadcast "" | |
| 82 | broadcast "{@prefix} &2Chat has been cleared by &a%player%" |