1 | # DO NOT DELETE THIS LINE
|
2 | config-version: '2.0'
|
3 |
|
4 | # ******************************************************
|
5 | # * Chatty
|
6 | # Universal chat-system for Bukkit-server.
|
7 | #
|
8 | # Creator: MrBrikster
|
9 | #
|
10 | # * Optional dependencies:
|
11 | # Vault, PlaceholderAPI, NameTagEdit.
|
12 | # ******************************************************
|
13 |
|
14 | # * GENERAL
|
15 | general:
|
16 | # Plugin localization.
|
17 | #
|
18 | # en - English.
|
19 | # ru - Russian.
|
20 | # de - German.
|
21 | # zh_CN - Simplified Chinese
|
22 | # es - Spanish.
|
23 | locale: ru
|
24 |
|
25 | # Chat listener priority.
|
26 | # Possible values:
|
27 | # lowest, low, normal, high, highest.
|
28 | priority: low
|
29 |
|
30 | # Chat logging in "plugins/Chatty/logs/".
|
31 | log: true
|
32 |
|
33 | # Completely cancels chat events,
|
34 | # if it cancelled by moderation method
|
35 | # (instead of clearing recipients).
|
36 | completely-cancel: false
|
37 |
|
38 | # Keep recipients list from previous listeners.
|
39 | # Useful if you have some plugins, that changes recipients list, and Chatty ignores it
|
40 | # (for example, Chatty may corrupt "/ignore" command of EssentialsX).
|
41 | #
|
42 | # Default: true
|
43 | keep-old-recipients: true
|
44 |
|
45 | # Hides vanished players from recipients (and sends "no-recipients" message when all recipients are vanished)
|
46 | # Supports EssentialsX, SuperVanish, PremiumVanish, VanishNoPacket etc.
|
47 | # Default: false
|
48 | hide-vanished-recipients: true
|
49 |
|
50 | # Storage player data mode.
|
51 | # true - data will store by UUIDs.
|
52 | # false - data will store by nicknames.
|
53 | uuid: false
|
54 |
|
55 | # Enables support for "-3" chat range.
|
56 | # Messages from that chats will be sent to all BungeeCord servers with Chatty.
|
57 | #
|
58 | # Notes:
|
59 | # * Console logs will not prints on empty BungeeCord servers (non-fixable)
|
60 | # * So Chatty send message to another server, there must be chat with the same name and range -3.
|
61 | bungeecord: false
|
62 |
|
63 | # * CHATS
|
64 | #
|
65 | # On the server there can be different chats with different settings,
|
66 | # whether it's donate-chat, admin-chat, or the usual local and global.
|
67 | #
|
68 | # Permissions:
|
69 | # chatty.chat.<chat> - permission for both writing and seeing messages.
|
70 | # chatty.chat.<chat>.write - permission for writing messages.
|
71 | # chatty.chat.<chat>.see - permission for seeing messages.
|
72 | #
|
73 | # Chat has the following options:
|
74 | # *enable* - on/off chat.
|
75 | # *display-name* - name of chat, displaying in placeholders and locale messages. Default: regular name of chat.
|
76 | # *format* - chat format string.
|
77 | # *range* - chat range. -1 to world-wide chat, -2 to server-wide, -3 to BungeeCord-wide chat.
|
78 | # *symbol* - character from which message should begin.
|
79 | # *cooldown* - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
|
80 | # *money* - message price (depends on Vault).
|
81 | # *permission* - check permissions for this chat? Default: true.
|
82 | # *command* - Command that is used to switch chat to use it by default if symbol is not specified OR to write at chat: /<command> <message>. Default: empty.
|
83 | # *aliases* - Aliases for command. Default: empty.
|
84 | chats:
|
85 | local:
|
86 | enable: true
|
87 | display-name: 'Local'
|
88 | format: '&7{player}&7: &f{message}'
|
89 | range: -2
|
90 | cooldown: -1
|
91 | command: 'localchat'
|
92 | aliases: [ 'lchat' ]
|
93 |
|
94 | # Example chat with multiline format
|
95 | notify:
|
96 | enable: false
|
97 | format: |
|
98 |
|
99 | &7==========================================
|
100 | &c{player}&8: &7{message}
|
101 | &7==========================================
|
102 | range: -3
|
103 | symbol: '$'
|
104 | cooldown: -1
|
105 |
|
106 | # Plays sound for all chat recipients
|
107 | sound: CLICK
|
108 |
|
109 | # Disables some moderation methods for this chat
|
110 | moderation:
|
111 | caps: false
|
112 | swear: false
|
113 | advertisement: false
|
114 |
|
115 | # Disables spy-mode for this chat
|
116 | spy: false
|
117 |
|
118 | # * PRIVATE MESSAGING
|
119 | pm:
|
120 | # Enables private messaging function.
|
121 | enable: true
|
122 |
|
123 | # Allows console to messaging players
|
124 | # and messaging players to console.
|
125 | # Default: false
|
126 | allow-console: false
|
127 |
|
128 | # Allows to PM players, that in vanish
|
129 | # Supports EssentialsX, SuperVanish, PremiumVanish, VanishNoPacket etc.
|
130 | # Default: true
|
131 | allow-pm-vanished: false
|
132 |
|
133 | # Format of messages
|
134 | #
|
135 | # Variables:
|
136 | # {sender-name}, {recipient-name} - nicknames of sender and recipient.
|
137 | # {sender-prefix}, {recipient-prefix} - prefixes of sender and recipient.
|
138 | # {sender-suffix}, {recipient-suffix} - suffixes of sender and recipient.
|
139 | # {message} - private message.
|
140 | format:
|
141 | recipient: '&f{sender-name} &b-> &f{recipient-name}: &f{message}'
|
142 | sender: '&f{sender-name} &b-> &f{recipient-name}: &f{message}'
|
143 |
|
144 | # Plays sound to recipient
|
145 | # Remove the line if not needed.
|
146 | sound: CLICK
|
147 |
|
148 | # Sound volume and pitch parameters
|
149 | sound-volume: 1.0
|
150 | sound-pitch: 1.0
|
151 |
|
152 | commands:
|
153 | msg:
|
154 | # Enables "/msg" command.
|
155 | # Permission: chatty.command.msg
|
156 | enable: false
|
157 | # Aliases for "/msg" command.
|
158 | aliases: [ 'tell' ]
|
159 |
|
160 | # To keep compatibility with EssentialsX
|
161 | # main name of command is "/r".
|
162 | reply:
|
163 | # Enables "/r" command.
|
164 | # Permission: chatty.command.reply
|
165 | enable: false
|
166 | # Aliases for "/r" command.
|
167 | aliases: [ 'reply' ]
|
168 |
|
169 | ignore:
|
170 | # Enables "/ignore" command.
|
171 | # Permission: chatty.command.ignore
|
172 | enable: true
|
173 | # Aliases for "/ignore" command.
|
174 | aliases: [ ]
|
175 |
|
176 | # * SPY
|
177 | #
|
178 | # Mode for spying for chat and private messages.
|
179 | spy:
|
180 | enable: true
|
181 |
|
182 | # Spy-mode message format.
|
183 | format:
|
184 | # Permission: chatty.spy.<chat>
|
185 | chat: '&6[Spy] &r{format}'
|
186 |
|
187 | # Permission: chatty.spy.pm
|
188 | #
|
189 | # Uses sender format of PM.
|
190 | # Supports variables:
|
191 | # {format}, {sender-prefix}, {sender-name}, {sender-suffix},
|
192 | # {recipient-prefix}, {recipient-name}, {recipient-suffix}, {message}
|
193 | pm: '&6[Spy] &r{format}'
|
194 |
|
195 | # * JSON
|
196 | #
|
197 | # Chat formatting with additional interactive features.
|
198 | #
|
199 | # 1.7.10 and newer.
|
200 | json:
|
201 | enable: false
|
202 |
|
203 | # Command or text that executes (by player) when you click on the player's name.
|
204 | #
|
205 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
206 | #
|
207 | # Supports PlaceholderAPI.
|
208 | # You can use "{player}" variable here.
|
209 | command:
|
210 |
|
211 | # Command or text that suggests when you click on the player's name.
|
212 | #
|
213 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
214 | #
|
215 | # Supports PlaceholderAPI.
|
216 | # You can use "{player}" variable here.
|
217 | suggest: '/msg {player}'
|
218 |
|
219 | # URL that opens when when you click on the player's name.
|
220 | #
|
221 | # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
|
222 | #
|
223 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
224 | #
|
225 | # Supports PlaceholderAPI.
|
226 | # You can use "{player}" variable here.
|
227 | link: 'https://google.com'
|
228 |
|
229 | # Hover tooltip for the player's name.
|
230 | # Supports PlaceholderAPI.
|
231 | #
|
232 | # You can use "{player}" variable here.
|
233 | tooltip:
|
234 | - '&fThis tooltip supports'
|
235 | - '&fPlaceholderAPI placeholders!'
|
236 |
|
237 | # Mentions.
|
238 | # "@nickname" will notify player that he's mentioned.
|
239 | # Also it will replaced to a clickable JSON-part.
|
240 | #
|
241 | # Requires permission: chatty.mentions
|
242 | mentions:
|
243 | enable: false
|
244 |
|
245 | # Display format of mention.
|
246 | format: '&e&l@{player}'
|
247 |
|
248 | # Plays sound to player, that was mentioned.
|
249 | # Remove the line if not needed.
|
250 | sound: CLICK
|
251 |
|
252 | # Sound volume and pitch parameters
|
253 | sound-volume: 1.0
|
254 | sound-pitch: 1.0
|
255 |
|
256 | # Allows to mention vanished players
|
257 | # Default: true
|
258 | allow-vanished: true
|
259 |
|
260 | # Command or text that executes (by player) when you click on the mention.
|
261 | #
|
262 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
263 | #
|
264 | # Supports PlaceholderAPI.
|
265 | # You can use "{player}" variable here.
|
266 | command:
|
267 |
|
268 | # Command or text that suggests when you click on the mention.
|
269 | #
|
270 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
271 | #
|
272 | # Supports PlaceholderAPI.
|
273 | # You can use "{player}" variable here.
|
274 | suggest: '/msg {player}'
|
275 |
|
276 | # URL that opens when when you click on the mention.
|
277 | #
|
278 | # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
|
279 | #
|
280 | # *** You can use EITHER "command" OR "suggest" OR "link".
|
281 | #
|
282 | # Supports PlaceholderAPI.
|
283 | # You can use "{player}" variable here.
|
284 | link: 'https://example.com/players?name={player}'
|
285 |
|
286 | # Hover tooltip for the mention.
|
287 | # Supports PlaceholderAPI.
|
288 | #
|
289 | # You can use "{player}" variable here.
|
290 | tooltip:
|
291 |
|
292 | # Swears hovers.
|
293 | #
|
294 | # Available properties:
|
295 | # tooltip, suggest
|
296 | #
|
297 | # Permission: chatty.swears.see
|
298 | swears:
|
299 | enable: false
|
300 | tooltip:
|
301 | - '&o{word}'
|
302 | - ''
|
303 | - '&eClick here to add word to whitelist.'
|
304 | suggest: /swears add {word}
|
305 |
|
306 | # Replacements for chat formats.
|
307 | #
|
308 | # You can replace some plain text with clickable parts
|
309 | # to make chat more interactive.
|
310 | #
|
311 | # Available properties:
|
312 | # text, tooltip, command, suggest, link.
|
313 | replacements:
|
314 | 'Admin':
|
315 | # Original text.
|
316 | original: '&cAdmin'
|
317 |
|
318 | # New text.
|
319 | #
|
320 | # Supports PlaceholderAPI.
|
321 | # You can use "{player}" variable here.
|
322 | #
|
323 | # Remove this line, if you need original text.
|
324 | text: '&cAdmin'
|
325 |
|
326 | # Hover tooltip for the text.
|
327 | #
|
328 | # Supports PlaceholderAPI.
|
329 | #
|
330 | # You can use "{player}" variable here.
|
331 | tooltip:
|
332 |
|
333 |
|
334 | # *** You should use "command" OR "suggest-command" OR "link" and cannot combine.
|
335 | # Command that executes when you click on the text.
|
336 | #
|
337 | # Supports PlaceholderAPI.
|
338 | #
|
339 | # You can use "{player}" variable here.
|
340 | command: /rules
|
341 |
|
342 | # * NOTIFICATIONS
|
343 | #
|
344 | # There are four types of notifications:
|
345 | # via Chat, Title (1.8.8 and newer), ActionBar (1.8.8 and newer) and Advancements (1.12 and newer).
|
346 | notifications:
|
347 | # Chat notifications.
|
348 | chat:
|
349 | # On/off chat notifications.
|
350 | enable: false
|
351 |
|
352 | # Notification lists.
|
353 | lists:
|
354 | # List "default".
|
355 | # Permission: chatty.notification.chat.default
|
356 | default:
|
357 | # Messages interval.
|
358 | time: 60
|
359 |
|
360 | # Messages prefix.
|
361 | prefix: ''
|
362 |
|
363 | # List of messages.
|
364 | # Supports PlaceholderAPI.
|
365 | # Supports JSON formatting.
|
366 | #
|
367 | # Notification messages are using "/tellraw" JSON format.
|
368 | # For example: {"text":"","extra":[{"text":"Try to search it with ","color":"white"},{"text":"search system","color":"yellow","clickEvent":{"action":"open_url","value":"http://google.com"},"hoverEvent":{"action":"show_text","value":"Search it in Google"}}]}
|
369 | # This JSON will be a message "Try to search it with search system" with hover and clickable text
|
370 | messages:
|
371 |
|
372 | # Permission for seeing notification.
|
373 | # Default: true
|
374 | permission: false
|
375 |
|
376 | # Show messages in random order.
|
377 | # Default: false
|
378 | random: true
|
379 |
|
380 | # ActionBar notifications.
|
381 | # It's static notifications,
|
382 | # which changes the message with interval.
|
383 | #
|
384 | # Permission: chatty.notification.actionbar
|
385 | actionbar:
|
386 | # On/off ActionBar notifications.
|
387 | # Only 1.8+.
|
388 | enable: false
|
389 |
|
390 | # One message time.
|
391 | time: 60
|
392 |
|
393 | # Messages prefix.
|
394 | prefix: ''
|
395 |
|
396 | # List of messages.
|
397 | # Supports PlaceholderAPI.
|
398 | messages:
|
399 |
|
400 | # Permission for seeing notification.
|
401 | # Default: true
|
402 | permission: false
|
403 |
|
404 | # Show messages in random order.
|
405 | # Default: false
|
406 | random: true
|
407 |
|
408 | # Title notifications.
|
409 | title:
|
410 | # On/off title notifications.
|
411 | enable: true
|
412 |
|
413 | # Notification lists.
|
414 | lists:
|
415 | # List "default".
|
416 | # Permission: chatty.notification.title.default
|
417 | default:
|
418 | # Messages interval.
|
419 | time: 60
|
420 |
|
421 | # List of messages.
|
422 | # Supports PlaceholderAPI.
|
423 | messages:
|
424 |
|
425 | # Permission for seeing notification.
|
426 | # Default: true
|
427 | permission: false
|
428 |
|
429 | # Show messages in random order.
|
430 | # Default: false
|
431 | random: false
|
432 |
|
433 | # Advancements (Achievements) notifications.
|
434 | advancements:
|
435 | # Advancements notifications.
|
436 | # Only 1.12 and newer.
|
437 | enable: false
|
438 | # Notification lists.
|
439 | lists:
|
440 | # List "default".
|
441 | # Permission: chatty.notification.advancements.default
|
442 | default:
|
443 | # Messages interval.
|
444 | time: 60
|
445 |
|
446 | # List of messages.
|
447 | messages:
|
448 |
|
449 |
|
450 | # Permission for seeing notification.
|
451 | # Default: true
|
452 | permission: false
|
453 |
|
454 | # Show messages in random order.
|
455 | # Default: false
|
456 | random: false
|
457 |
|
458 | # * MODERATION
|
459 | #
|
460 | # Automatic chat moderation tools.
|
461 | # Works with private messages.
|
462 | moderation:
|
463 | caps:
|
464 | # On/off caps protection.
|
465 | # Bypass permission: chatty.moderation.caps
|
466 | enable: true
|
467 |
|
468 | # Minimal length of message to caps checking.
|
469 | length: 6
|
470 |
|
471 | # Minimal upper case percent for caps.
|
472 | percent: 80
|
473 |
|
474 | # On/off caps message blocking.
|
475 | # When false, message will be sent in lower case.
|
476 | block: true
|
477 |
|
478 | advertisement:
|
479 | # On/off advertisement protection.
|
480 | # Bypass permission: chatty.moderation.advertisement
|
481 | enable: true
|
482 |
|
483 | # Regular expressions for IP-addresses and websites.
|
484 | patterns:
|
485 | ip: '\b((\d{1,2}|2(5[0-5]|[0-4]\d))[._,)(-]+){3}(\d{1,2}|2(5[0-5]|[0-4]\d))(:\d{2,7})?'
|
486 | web: '(?i)\b(https?:\/\/)?[\w\.а-яА-Я-]+\.([a-z]{2,4}|[рР][фФ]|[уУ][кК][рР])\b(:\d{2,7})?(\/\S+)?'
|
487 |
|
488 | # On/off advertisement message blocking.
|
489 | # When false, advertisement will be replaced.
|
490 | block: false
|
491 |
|
492 | # Replacement for advertisement.
|
493 | replacement: 'ссылка скрыта!'
|
494 |
|
495 | # Whitelisted IP-addresses and sites.
|
496 | whitelist:
|
497 |
|
498 |
|
499 | swear:
|
500 | # On/off swear protection.
|
501 | # Bypass permission: chatty.moderation.swear
|
502 | enable: false
|
503 |
|
504 | # On/off swear message blocking.
|
505 | # When false, swears will be replaced.
|
506 | block: true
|
507 |
|
508 | # Replacement for swears.
|
509 | replacement: '<swear>'
|
510 | # Files with swears are located at "Chatty/swears"
|
511 |
|
512 | # * MISCELLANEOUS
|
513 | miscellaneous:
|
514 | commands:
|
515 | # Used to switch default chat (when symbol is not specified): /chat <chat>
|
516 | # Permission: chatty.command.chat
|
517 | chat:
|
518 | enable: true
|
519 | aliases: [ 'chats', 'switchchat' ]
|
520 |
|
521 | # Clear chat for yourself: /clearchat
|
522 | # Permission: chatty.command.clearchat
|
523 | #
|
524 | # Clear chat for all: /clearchat all
|
525 | # Permission: chatty.command.clearchat.all
|
526 | clearchat:
|
527 | enable: true
|
528 | aliases: [ 'chatclear' ]
|
529 |
|
530 | # Change chat (and NametagEdit, if enabled) prefix
|
531 | # /prefix <player> <prefix>
|
532 | #
|
533 | # Permissions:
|
534 | # chatty.command.prefix
|
535 | # chatty.command.prefix.others
|
536 | prefix:
|
537 | enable: true
|
538 |
|
539 | # Automatically appends a substring after prefix.
|
540 | after-prefix: ' '
|
541 |
|
542 | # Limits prefix length (inclusive "after-prefix")
|
543 | length-limit:
|
544 | min: 3
|
545 | max: 16
|
546 |
|
547 | # Auto-applying in NametagEdit.
|
548 | # (Requires NameTagEdit plugin).
|
549 | auto-nte: false
|
550 |
|
551 | # Change chat (and NametagEdit, if enabled) suffix
|
552 | # /suffix <player> <suffix>
|
553 | #
|
554 | # Permissions:
|
555 | # chatty.command.suffix
|
556 | # chatty.command.suffix.others
|
557 | suffix:
|
558 | enable: true
|
559 |
|
560 | # Automatically appends a substring before suffix.
|
561 | before-suffix: ' '
|
562 |
|
563 | # Limits suffix length (inclusive "before-suffix")
|
564 | length-limit:
|
565 | min: 3
|
566 | max: 16
|
567 |
|
568 | # Auto-applying in NametagEdit.
|
569 | # (Requires NameTagEdit plugin).
|
570 | auto-nte: false
|
571 |
|
572 | # Change vanilla Minecraft messages.
|
573 | # Supports PlaceholderAPI.
|
574 | vanilla:
|
575 | join:
|
576 | enable: true
|
577 |
|
578 | # Set to '' if you want to make it hidden.
|
579 | message: '&a[+] &e{player}'
|
580 |
|
581 | # Plays sound to all, when player joins.
|
582 | # Remove the line if not needed.
|
583 | sound:
|
584 |
|
585 | # Sound volume and pitch parameters
|
586 | sound-volume: 1.0
|
587 | sound-pitch: 1.0
|
588 |
|
589 | # Permission: chatty.misc.joinmessage
|
590 | # Default: true
|
591 | permission: false
|
592 |
|
593 | # Specified parameters for the first join
|
594 | first-join:
|
595 | # First join message.
|
596 | # Set to '' if you don't want to see special message for the first join.
|
597 | message: '&a[+] &e{player}'
|
598 | # Plays sound to all, when player joins.
|
599 | # Remove the line if not needed.
|
600 | sound:
|
601 |
|
602 | # Sound volume and pitch parameters
|
603 | sound-volume: 1.0
|
604 | sound-pitch: 1.0
|
605 |
|
606 | quit:
|
607 | enable: true
|
608 |
|
609 | # Set to '' if you want to make it hidden.
|
610 | message: '&c[-] &e{player}'
|
611 |
|
612 | # Plays sound to all, when player quits.
|
613 | # Remove the line if not needed.
|
614 | sound:
|
615 |
|
616 | # Sound volume and pitch parameters
|
617 | sound-volume: 1.0
|
618 | sound-pitch: 1.0
|
619 |
|
620 | # Permission: chatty.misc.quitmessage
|
621 | # Default: true
|
622 | permission: false
|
623 |
|
624 | death:
|
625 | enable: true
|
626 |
|
627 | # Set to '' if you want to make it hidden.
|
628 | message: '&e{player} &fумер!'
|
629 |
|
630 | # Plays sound to all, when player dies.
|
631 | # Remove the line if not required.
|
632 | sound:
|
633 |
|
634 | # Sound volume and pitch parameters
|
635 | sound-volume: 1.0
|
636 | sound-pitch: 1.0
|
637 |
|
638 | # Permission: chatty.misc.deathmessage
|
639 | # Default: true
|
640 | permission: false
|