· 6 years ago · Dec 27, 2019, 05:56 PM
1# DO NOT DELETE THIS LINE
2config-version: '2.0'
3
4# ******************************************************
5# * Chatty (version 2.16.1)
6# Universal chat-system for Bukkit-server.
7#
8# Creator: MrBrikster
9#
10# * Optional dependencies:
11# Vault, PlaceholderAPI, NameTagEdit.
12# ******************************************************
13
14# * GENERAL
15general:
16 # Plugin localization.
17 #
18 # en - English.
19 # ru - Russian.
20 # de - German.
21 locale: en
22
23 # Chat listener priority.
24 # Possible values:
25 # lowest, low, normal, high, highest.
26 priority: low
27
28 # Chat logging in "plugins/Chatty/logs/".
29 log: true
30
31 # Completely cancels chat events,
32 # if it cancels by moderation method
33 # (instead of clearing recipients).
34 completely-cancel: false
35
36 # Storage player data mode.
37 # true - data will store by UUIDs.
38 # false - data will store by nicknames.
39 uuid: false
40
41 # Enables support for "-3" chat range.
42 # Messages from that chats will be sent to all BungeeCord servers with Chatty.
43 #
44 # Notes:
45 # * Console logs will not prints on empty BungeeCord servers (non-fixable)
46 # * So Chatty send message to another server, there must be chat with the same name and range -3.
47 #
48 # !!! Chatty must be also installed in BungeeCord !!!
49 bungeecord: false
50
51# * CHATS
52#
53# On the server there can be different chats with different settings,
54# whether it's donate-chat, admin-chat, or the usual local and global.
55#
56# Permissions:
57# chatty.chat.<chat> - permission for both writing and seeing messages.
58# chatty.chat.<chat>.write - permission for writing messages.
59# chatty.chat.<chat>.see - permission for seeing messages.
60#
61# Chat has the following options:
62# *enable* - on/off chat.
63# *format* - chat format string.
64# *range* - chat range. -1 to world-wide chat, -2 to server-wide, -3 to BungeeCord-wide chat.
65# *symbol* - character from which message should begin.
66# *cooldown* - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
67# *money* - message price (depends on Vault).
68# *permission* - check permissions for this chat? Default: true.
69chats:
70 local:
71 enable: true
72 format: ' {prefix}{player}{suffix}: {message}'
73 range: 100
74 cooldown: -1
75
76 global:
77 enable: true
78 format: '[ORP] {prefix}{player}{suffix}: {message}'
79 range: -1
80 symbol: '!'
81 cooldown: -1
82
83# * PRIVATE MESSAGING
84pm:
85 # Enables private messaging function.
86 enable: true
87
88 # Allows console to messaging players
89 # and messaging players to console.
90 allow-console: false
91
92 # Format of messages
93 #
94 # Variables:
95 # {sender-name}, {recipient-name} - nicknames of sender and recipient.
96 # {sender-prefix}, {recipient-prefix} - prefixes of sender and recipient.
97 # {sender-suffix}, {recipient-suffix} - suffixes of sender and recipient.
98 # {message} - private message.
99 format:
100 recipient: '&7{sender-prefix}{sender-name} &6-> &7{recipient-prefix}{recipient-name}: &f{message}'
101 sender: '&7{sender-prefix}{sender-name} &6-> &7{recipient-prefix}{recipient-name}: &f{message}'
102
103 commands:
104 msg:
105 # Enables "/msg" command.
106 # Permission: chatty.command.msg
107 enable: true
108 # Aliases for "/msg" command.
109 aliases: ['message', 'pm', 'm', 'w']
110
111 reply:
112 # Enables "/reply" command.
113 # Permission: chatty.command.reply
114 enable: true
115 # Aliases for "/reply" command.
116 aliases: ['r']
117
118 ignore:
119 # Enables "/ignore" command.
120 # Permission: chatty.command.ignore
121 enable: true
122 # Aliases for "/ignore" command.
123 aliases: []
124
125# * SPY
126#
127# Mode for spying for chat and private messages.
128spy:
129 enable: true
130
131 # Spy-mode message format.
132 format:
133 # Permission: chatty.spy.<chat
134 chat: '&6[Spy] &r{format}'
135
136 # Permission: chatty.spy.pm
137 #
138 # Uses sender format of PM.
139 pm: '&6[Spy] &r{format}'
140
141# * JSON
142#
143# Chat formatting with additional interactive features.
144#
145# 1.7.10 and newer.
146json:
147 enable: false
148
149 # Command or text that executes (by player) when you click on the player's name.
150 #
151 # *** You can use EITHER "command" OR "suggest" OR "link".
152 #
153 # Supports PlaceholderAPI.
154 # You can use "{player}" variable here.
155 command: /home
156
157 # Command or text that suggests when you click on the player's name.
158 #
159 # *** You can use EITHER "command" OR "suggest" OR "link".
160 #
161 # Supports PlaceholderAPI.
162 # You can use "{player}" variable here.
163 suggest: '/msg {player} '
164
165 # URL that opens when when you click on the player's name.
166 #
167 # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
168 #
169 # *** You can use EITHER "command" OR "suggest" OR "link".
170 #
171 # Supports PlaceholderAPI.
172 # You can use "{player}" variable here.
173 link: 'http://google.com'
174
175 # Hover tooltip for the player's name.
176 # Supports PlaceholderAPI.
177 #
178 # You can use "{player}" variable here.
179 tooltip:
180 - '&fPlayer &e{player}'
181 - '&fThis tooltip supports'
182 - '&fPlaceholderAPI placeholders!'
183
184 # Swears hovers.
185 #
186 # Available properties:
187 # tooltip, suggest
188 - #
189 # Permission: chatty.swears.see
190 swears:
191 enable: true
192 tooltip:
193 - '&o{word}'
194 - ''
195 - '&eClick here to add word to whitelist.'
196 suggest: /swears add {word}
197
198 # Replacements for chat formats.
199 #
200 # You can replace some plain text with clickable parts
201 # to make chat more interactive.
202 #
203 # Available properties:
204 # text, tooltip, command, suggest, link.
205 replacements:
206 'Admin':
207 # Original text.
208 original: '&cAdmin'
209
210 # New text.
211 #
212 # Supports PlaceholderAPI.
213 # You can use "{player}" variable here.
214 #
215 # Remove this line, if you need original text.
216 text: '&cAdmin'
217
218 # Hover tooltip for the text.
219 #
220 # Supports PlaceholderAPI.
221 #
222 # You can use "{player}" variable here.
223 tooltip:
224 - '&cThis is admin.'
225 - '&4&lBe afraid of him!'
226 - ''
227 - '&eClick here to see the server rules.'
228
229 # *** You should use "command" OR "suggest-command" OR "link" and cannot combine.
230 # Command that executes when you click on the text.
231 #
232 # Supports PlaceholderAPI.
233 #
234 # You can use "{player}" variable here.
235 command: /rules
236
237# * NOTIFICATIONS
238#
239# There are four types of notifications:
240# via Chat, Title (1.8 and newer), ActionBar (1.8 and newer) and Advancements (1.12 and newer).
241notifications:
242 # Chat notifications.
243 chat:
244 # On/off chat notifications.
245 enable: true
246
247 # Notification lists.
248 lists:
249 # List "default".
250 # Permission: chatty.notification.chat.default
251 default:
252 # Messages interval.
253 time: 60
254
255 # Messages prefix.
256 prefix: ''
257
258 # List of messages.
259 messages:
260 - '&cThe server is using Chatty!\n&aOur address: 127.0.0.1\n&aVisit out site: example.com'
261 - '&aThe server is using Chatty!'
262
263 # Permission for seeing notification.
264 # Default: true
265 permission: false
266
267 # ActionBar notifications.
268 # It's static notifications,
269 # which changes the message with interval.
270 #
271 # Permission: chatty.notification.actionbar
272 actionbar:
273 # On/off ActionBar notifications.
274 # Only 1.8+.
275 enable: false
276
277 # One message time.
278 time: 60
279
280 # Messages prefix.
281 prefix: ''
282
283 # List of messages.
284 messages:
285 - '&cThe server is using Chatty!'
286 - '&aThe server is using Chatty!'
287
288 # Permission for seeing notification.
289 # Default: true
290 permission: false
291
292 # Title notifications.
293 title:
294 # On/off title notifications.
295 enable: true
296
297 # Notification lists.
298 lists:
299 # List "default".
300 # Permission: chatty.notification.title.default
301 default:
302 # Messages interval.
303 time: 60
304
305 # List of messages.
306 messages:
307 - '&cThe server is using Chatty!\n&eOur address: 127.0.0.1'
308 - '&aThe server is using Chatty!'
309
310 # Permission for seeing notification.
311 # Default: true
312 permission: false
313
314 # Advancements (Achievements) notifications.
315 advancements:
316 # Advancements notifications.
317 # Only 1.12 and newer.
318 enable: false
319 # Notification lists.
320 lists:
321 # List "default".
322 # Permission: chatty.notification.advancements.default
323 default:
324 # Messages interval.
325 time: 60
326
327 # List of messages.
328 messages:
329 - icon: 'minecraft:diamond'
330 header: '&bChatty v.2.16.1'
331 footer: '&fThank you for using!'
332 - icon: 'minecraft:gold_ingot'
333 header: '&eChatty v.2.16.1'
334 footer: '&fThank you for using!'
335
336 # Permission for seeing notification.
337 # Default: true
338 permission: false
339
340# * MODERATION
341#
342# Automatic chat moderation tools.
343# Works with private messages.
344moderation:
345 caps:
346 # On/off caps protection.
347 # Bypass permission: chatty.moderation.caps
348 enable: true
349
350 # Minimal length of message to caps checking.
351 length: 6
352
353 # Minimal upper case percent for caps.
354 percent: 80
355
356 # On/off caps message blocking.
357 # When false, message will be sent in lower case.
358 block: true
359
360 advertisement:
361 # On/off advertisement protection.
362 # Bypass permission: chatty.moderation.advertisement
363 enable: true
364
365 # Regular expressions for IP-addresses and websites.
366 patterns:
367 ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
368 web: '[-a-zA-Zа-яА-Я0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Zа-яА-Я0-9@:%_\+~#?&//=]*)?'
369
370 # On/off caps message blocking.
371 # When false, advertisement will be replaced.
372 block: true
373
374 # Replacement for advertisement.
375 replacement: '<advertisement>'
376
377 # Whitelisted IP-addresses and sites.
378 whitelist:
379 - 'example.com'
380 - 'vk.com'
381 - 'google.com'
382 - 'youtube.com'
383 - 'yandex.ru'
384 - '192.168.1.1'
385 - '127.0.0.1'
386
387 swear:
388 # On/off swear protection.
389 # Bypass permission: chatty.moderation.swear
390 enable: false
391
392 # On/off swear message blocking.
393 # When false, swears will be replaced.
394 block: true
395
396 # Replacement for swears.
397 replacement: '<swear>'
398 # Files with swears is located at "Chatty/swears"
399
400# * MISCELLANEOUS
401miscellaneous:
402 commands:
403 # Permission: chatty.command.clearchat
404 clearchat:
405 enable: true
406 aliases: ['chatclear']
407
408 # Permission: chatty.command.prefix
409 prefix:
410 enable: true
411
412 # Automatically appends a substring after prefix.
413 after-prefix: ' '
414
415 # Limits prefix length (inclusive "after-prefix")
416 length-limit:
417 min: 3
418 max: 16
419
420 # Auto-applying in NametagEdit.
421 # (Requires NameTagEdit plugin).
422 auto-nte: false
423
424 # Permission: chatty.command.suffix
425 suffix:
426 enable: true
427
428 # Automatically appends a substring before suffix.
429 before-suffix: ' '
430
431 # Limits suffix length (inclusive "before-suffix")
432 length-limit:
433 min: 3
434 max: 16
435
436 # Auto-applying in NametagEdit.
437 # (Requires NameTagEdit plugin).
438 auto-nte: false
439
440 # Change vanilla Minecraft messages.
441 vanilla:
442 join:
443 enable: true
444
445 # Set to '' if you want to make it hidden.
446 message: '&e{prefix}{player}{suffix} &ejoined the server.'
447
448 # Permission: chatty.misc.joinmessage
449 # Default: true
450 permission: false
451 quit:
452 enable: true
453
454 # Set to '' if you want to make it hidden.
455 message: '&e{prefix}{player}{suffix} &eleft the server.'
456
457 # Permission: chatty.misc.quitmessage
458 # Default: true
459 permission: false
460 death:
461 enable: true
462
463 # Set to '' if you want to make it hidden.
464 message: '&e{prefix}{player}{suffix} &edied.'
465
466 # Permission: chatty.misc.deathmessage
467 # Default: true
468 permission: false