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