· 7 years ago · Jan 12, 2019, 09:42 AM
1# ******************************************************
2# * Chatty (version 2.7)
3# Universal chat-system for Bukkit-server.
4# Creator: MrBrikster.
5# * Optional dependencies:
6# Vault, PlaceholderAPI.
7# ******************************************************
8# * General settings section.
9# Common settings and small features.
10general:
11 # Plugin localization.
12 # Possible values:
13 # en - English.
14 # ru - Russian.
15 # de - German.
16 locale: en
17 # Chat listener priority.
18 # Possible values:
19 # lowest, low, normal, high, highest.
20 priority: low
21 # Chat logging in "Chatty/logs".
22 log: true
23 # Completely cancels chat events,
24 # if it cancels by moderation method
25 # (instead of clearing recipients).
26 completely-cancel: false
27 # Spy-mode.
28 # Permission:
29 # chatty.spy.<chat>
30 # or chatty.spy.
31 #
32 # Permission for /spy:
33 # chatty.command.spy
34 spy:
35 # On/off spy-mode.
36 enable: true
37 # Spy-mode message format.
38 format: '&6[Spy] &r{format}'
39 # PM spy-mode message format.
40 # Permission: chatty.spy
41 # or chatty.spy.pm
42 pm-format: '&6[Spy] &7{sender} &6-> &7{recipient}: &f{message}'
43 prefix-command:
44 enable: true
45 # Automatically adds a string after prefix.
46 after-prefix: ' '
47 suffix-command:
48 enable: true
49 # Automatically adds a string before suffix.
50 before-suffix: ' '
51 # Private messages.
52 # Permissions:
53 # chatty.command.message
54 # chatty.command.reply
55 pm: true
56# * Chats.
57# There
58# On the server there can be different chats with different settings,
59# whether it's donate-chat, admin-chat, or the usual local and global.
60#
61# Permissions:
62# chatty.chat.<chat> - permission for both writing and seeing messages.
63# chatty.chat.<chat>.write - permission for writing messages.
64# chatty.chat.<chat>.see - permission for seeing messages.
65#
66# Chat has the following options:
67# enable - on/off chat.
68# format - chat formatting string.
69# range - chat range. -1 to world-wide chat, -2 to server-wide chat.
70# symbol - the character from which the messages begin.
71# cooldown - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
72# money - message price (depends on Vault).
73# permission - should this chat use permissions? Default value is true.
74chats:
75 local:
76 enable: true
77 format: '[Local] {prefix}{player}{suffix}: {message}'
78 range: 100
79 cooldown: -1
80 global:
81 enable: true
82 format: '[Global] {prefix}{player}{suffix}: {message}'
83 range: -1
84 symbol: '!'
85 cooldown: -1
86# * JSON.
87# Formatting chat messages with JSON.
88# 1.7.10+.
89json:
90 # 1.7.10+
91 enable: false
92 # Command that executes (by player) when you click on the player's name.
93 # Supports PlaceholderAPI.
94 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
95 #
96 # You can use "{player}" variable here.
97 command: /home
98 # Command that suggests when you click on the player's name.
99 # Supports PlaceholderAPI.
100 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
101 #
102 # You can use "{player}" variable here.
103 suggest_command: '/msg {player} '
104 # URL that opens when when you click on the player's name.
105 # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
106 #
107 # Supports PlaceholderAPI.
108 #
109 # You can use "{player}" variable here.
110 link: 'http://google.com'
111 # Hover tooltip for the player's name.
112 # Supports PlaceholderAPI.
113 #
114 # You can use "{player}" variable here.
115 tooltip:
116 - '&fPlayer &e{player}'
117 - '&fThis tooltip supports'
118 - '&fPlaceholderAPI placeholders!'
119 # Swears hovers.
120 #
121 # Permission: chatty.swears.see
122 swears:
123 enable: true
124 tooltip:
125 - '&o{word}'
126 - ''
127 - '&eClick here to add word to whitelist.'
128 suggest_command: /swears add {word}
129 # Replacements for chat formats
130 #
131 # You can replace plain text with JSON-pieces
132 # to make chat more interactive.
133 #
134 # Available properties:
135 # text, tooltip, command, suggest_command, link.
136 replacements:
137 'Admin':
138 # Original text.
139 original: '&cAdmin'
140 # Text to replace.
141 #
142 # Supports PlaceholderAPI.
143 # You can use "{player}" variable here.
144 #
145 # You can remove this line, if you need original text.
146 text: '&cAdmin'
147 # Hover tooltip for the text.
148 #
149 # Supports PlaceholderAPI.
150 #
151 # You can use "{player}" variable here.
152 tooltip:
153 - '&cThis is admin.'
154 - '&4&lBe afraid of him!'
155 - ''
156 - '&eClick here to see the server rules.'
157 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
158 # Command that executes when you click on the text.
159 #
160 # Supports PlaceholderAPI.
161 #
162 # You can use "{player}" variable here.
163 command: /rules
164# * Notifications.
165# There are three types of notifications:
166# via Chat, ActionBar (1.8+) and Advancements (1.12+).
167notifications:
168 # Chat notifications..
169 chat:
170 # On/off chat notifications.
171 enable: true
172 # Notification lists.
173 lists:
174 # List "default".
175 # Permission: chatty.notification.chat.default
176 default:
177 # Messages interval.
178 time: 60
179 # Messages prefix.
180 prefix: ''
181 # List of messages.
182 messages:
183 - '&cThe server is using Chatty!'
184 - '&aThe server is using Chatty!'
185 # Disable permission checking.
186 # Delete the line, if you need this.
187 permission: false
188 # ActionBar notifications.
189 # It's static notifications,
190 # which changes the message with interval.
191 #
192 # Permission: chatty.notification.actionbar
193 actionbar:
194 # On/off ActionBar notifications.
195 # Only 1.8+.
196 enable: false
197 # One message time.
198 time: 60
199 # Messages prefix.
200 prefix: ''
201 # List of messages.
202 messages:
203 - '&cThe server is using Chatty!'
204 - '&aThe server is using Chatty!'
205 # Disable permission checking.
206 # Delete the line, if you need this.
207 permission: false
208 # Advancements (Achievements) notifications.
209 advancements:
210 # Advancements notifications.
211 # Only 1.12+.
212 enable: false
213 # Notification lists.
214 lists:
215 # List "default".
216 # Permission: chatty.notification.advancements.default
217 default:
218 # Messages interval.
219 time: 60
220 # List of messages.
221 messages:
222 - icon: 'minecraft:diamond'
223 header: '&bChatty v.2.7'
224 footer: '&fThank you for using!'
225 - icon: 'minecraft:gold_ingot'
226 header: '&eChatty v.2.7'
227 footer: '&fThank you for using!'
228 # Disable permission checking.
229 # Delete the line, if you need this.
230 permission: false
231# * Moderation.
232# Automatic chat moderation tools.
233moderation:
234 caps:
235 # On/off caps protection.
236 # Bypass permission: chatty.moderation.caps
237 enable: true
238 # Minimal length of message to caps checking.
239 length: 6
240 # Minimal upper case procent for caps.
241 procent: 80
242 # On/off caps message blocking.
243 # When false, message will be sent in lower case.
244 block: true
245 advertisement:
246 # On/off advertisement protection.
247 # Bypass permission: chatty.moderation.advertisement
248 enable: true
249 # Regular expressions for IP-addresses and sites.
250 patterns:
251 ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
252 web: '[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+~#?&//=]*)?'
253 # On/off caps message blocking.
254 # When false, advertisements will be replaced.
255 block: true
256 # Replacement for advertisement.
257 replacement: '<ads>'
258 # Whitelisted IP-addresses and sites.
259 whitelist:
260 - 'example.com'
261 - 'vk.com'
262 - 'google.com'
263 - 'yandex.ru'
264 - '192.168.1.1'
265 - '127.0.0.1'
266 swear:
267 # On/off swear protection.
268 # Bypass permission: chatty.moderation.swear
269 enable: true
270 # On/off caps message blocking.
271 # When false, swears will be replaced.
272 block: true
273 # Replacement for swears.
274 replacement: '<swear>'
275 # Swear-list configuration: "Chatty/swears"
276# * Misc.
277# Change default Minecraft messages.
278misc:
279 join:
280 # Set '' to disable.
281 message: '&e{prefix}{player}{suffix} &ejoined the server.'
282 # If player doesn't have permission, message won't send.
283 #
284 # Permission: chatty.misc.joinmessage
285 permission: false
286 quit:
287 # Set '' to disable.
288 message: '&e{prefix}{player}{suffix} &eleft the server.'
289 # If player doesn't have permission, message won't send.
290 #
291 # Permission: chatty.misc.quitmessage
292 permission: false
293 death:
294 # Set '' to disable.
295 message: '&e{prefix}{player}{suffix} &edied.'
296 # If player doesn't have permission, message won't send.
297 #
298 # Permission: chatty.misc.deathmessage
299 permission: fal
300