· 6 years ago · Aug 05, 2019, 06:04 PM
1# ******************************************************
2# * Chatty (version 2.15.1)
3# Universal chat-system for Bukkit-server.
4# Creator: MrBrikster.
5# * Optional dependencies:
6# Vault, PlaceholderAPI, NameTagEdit.
7# ******************************************************
8
9# * General settings section.
10# Common settings and small features.
11general:
12 # Plugin localization.
13 # Possible values:
14 # en - English.
15 # ru - Russian.
16 # de - German.
17 locale: ru
18
19 # Chat listener priority.
20 # Possible values:
21 # lowest, low, normal, high, highest.
22 priority: low
23
24 # Chat logging in "Chatty/logs".
25 log: false
26
27 # Completely cancels chat events,
28 # if it cancels by moderation method
29 # (instead of clearing recipients).
30 completely-cancel: false
31
32 # Storage player data mode.
33 # true - for online-mode servers and under BungeeCord.
34 # false - for offline-mode servers.
35 uuid: false
36
37 # Spy-mode.
38 # Permission:
39 # chatty.spy.<chat>
40 # or chatty.spy.
41 #
42 # Permission for /spy:
43 # chatty.command.spy
44 spy:
45 # On/off spy-mode.
46 enable: false
47 # Spy-mode message format.
48 format: '&6[Spy] &r{format}'
49 # PM spy-mode message format.
50 # Permission: chatty.spy
51 # or chatty.spy.pm
52 pm-format: '&6[Spy] &7{sender} &6-> &7{recipient}: &f{message}'
53
54# * Commands.
55commands:
56 prefix:
57 # Enables "/prefix command.
58 # Permission: chatty.command.prefix
59 enable: false
60 # Automatically adds a string after prefix.
61 after-prefix: ' '
62 # Auto-applying in NametagEdit.
63 # (Requires NameTagEdit plugin).
64 auto-nte: false
65
66 suffix:
67 # Enables "/suffix command.
68 # Permission: chatty.command.suffix
69 enable: false
70 # Automatically adds a string before suffix.
71 before-suffix: ' '
72 # Auto-applying in NametagEdit.
73 # (Requires NameTagEdit plugin).
74 auto-nte: false
75
76 msg:
77 # Enables "/msg" command.
78 # Permission: chatty.command.msg
79 enable: false
80 # Aliases for "/msg" command.
81 aliases: ['message', 'pm', 'm', 'w']
82 allow-console: false
83
84 reply:
85 # Enables "/reply" command.
86 # Permission: chatty.command.reply
87 enable: false
88 # Aliases for "/reply" command.
89 aliases: ['r']
90 allow-console: false
91
92 ignore:
93 # Enables "/ignore" command.
94 # Permission: chatty.command.ignore
95 enable: false
96 # Aliases for "/ignore" command.
97 aliases: []
98
99# * Chats.
100# On the server there can be different chats with different settings,
101# whether it's donate-chat, admin-chat, or the usual local and global.
102#
103# Permissions:
104# chatty.chat.<chat> - permission for both writing and seeing messages.
105# chatty.chat.<chat>.write - permission for writing messages.
106# chatty.chat.<chat>.see - permission for seeing messages.
107#
108# Chat has the following options:
109# enable - on/off chat.
110# format - chat formatting string.
111# range - chat range. -1 to world-wide chat, -2 to server-wide chat.
112# symbol - the character from which the messages begin.
113# cooldown - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
114# money - message price (depends on Vault).
115# permission - should this chat use permissions? Default value is true.
116chats:
117 local:
118 enable: true
119 format: '&8[&3L&8](CLAN)&7 {prefix}{player}{suffix}&8 ➟ &7{message}'
120 range: 100
121 cooldown: 2
122
123 global:
124 enable: true
125 format: '&8[&6G&8](CLAN)&7 {prefix}{player}{suffix}&8 ➟ &7&o{message}'
126 range: -2
127 symbol: '!'
128 cooldown: 2
129
130# * JSON.
131# Formatting chat messages with JSON.
132# 1.7.10+.
133json:
134 # 1.7.10+
135 enable: true
136
137 # Command that executes (by player) when you click on the player's name.
138 # Supports PlaceholderAPI.
139 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
140 #
141 # You can use "{player}" variable here.
142 command:
143
144 # Command that suggests when you click on the player's name.
145 # Supports PlaceholderAPI.
146 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
147 #
148 # You can use "{player}" variable here.
149 suggest_command: '/msg <player_name> '
150
151 # URL that opens when when you click on the player's name.
152 # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
153 #
154 # Supports PlaceholderAPI.
155 #
156 # You can use "{player}" variable here.
157 link:
158
159 # Hover tooltip for the player's name.
160 # Supports PlaceholderAPI.
161 #
162 # You can use "{player}" variable here.
163 tooltip:
164 - '&7Данные игрока.'
165 - ''
166 - ' &8* &7Статус: &7<luckperms_highest_group_by_weight>'
167 - ' &8* &7Имя: &f<player_name>'
168 - ''
169 - ' &8* &7Клан:&f(CLAN)'
170 - ' &8* &7Пинг: &b<player_ping>'
171 - ' &8* &7Смерти: &c&n<statistic_deaths>&7'
172 - ' &8* &7Убийства: &e&n<statistic_player_kills>&7'
173 - ' &8* &7Баланс: &a$<vault_eco_balance_fixed>&7'
174 - ' &8* &7Время игры:'
175 - ' &8 ↳ &e<statistic_days_played_remaining>&7д. &e<statistic_hours_played_remaining>&7ч. &e<statistic_minutes_played_remaining>&7м.'
176 - '&4&6'
177 - '&7&oНажмите, чтобы написать этому игроку!'
178
179 # Swears hovers.
180 #
181 # Permission: chatty.swears.see
182 swears:
183 enable: false
184 tooltip:
185 - '&o{word}'
186 - ''
187 - '&eClick here to add word to whitelist.'
188 suggest_command: /swears add {word}
189
190 # Replacements for chat formats
191 #
192 # You can replace plain text with JSON-pieces
193 # to make chat more interactive.
194 #
195 # Available properties:
196 # text, tooltip, command, suggest_command, link.
197 replacements:
198 'Admin':
199 # Original text.
200 original: '&cAdmin'
201 # Text to replace.
202 #
203 # Supports PlaceholderAPI.
204 # You can use "{player}" variable here.
205 #
206 # You can remove this line, if you need original text.
207 text: '&cAdmin'
208
209 # Hover tooltip for the text.
210 #
211 # Supports PlaceholderAPI.
212 #
213 # You can use "{player}" variable here.
214 tooltip:
215 - '&cThis is admin.'
216 - '&4&lBe afraid of him!'
217 - ''
218 - '&eClick here to see the server rules.'
219
220 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
221 # Command that executes when you click on the text.
222 #
223 # Supports PlaceholderAPI.
224 #
225 # You can use "{player}" variable here.
226 command: /rules
227
228# * Notifications.
229# There are three types of notifications:
230# via Chat, ActionBar (1.8+) and Advancements (1.12+).
231notifications:
232 # Chat notifications..
233 chat:
234 # On/off chat notifications.
235 enable: false
236 # Notification lists.
237 lists:
238 # List "default".
239 # Permission: chatty.notification.chat.default
240 default:
241 # Messages interval.
242 time: 60
243 # Messages prefix.
244 prefix: ''
245 # List of messages.
246 messages:
247 - '&cThe server is using Chatty!'
248 - '&aThe server is using Chatty!'
249 # Disable permission checking.
250 # Delete the line, if you need this.
251 permission: false
252
253 # ActionBar notifications.
254 # It's static notifications,
255 # which changes the message with interval.
256 #
257 # Permission: chatty.notification.actionbar
258 actionbar:
259 # On/off ActionBar notifications.
260 # Only 1.8+.
261 enable: false
262 # One message time.
263 time: 60
264 # Messages prefix.
265 prefix: ''
266 # List of messages.
267 messages:
268 - '&cThe server is using Chatty!'
269 - '&aThe server is using Chatty!'
270 # Disable permission checking.
271 # Delete the line, if you need this.
272 permission: false
273
274 # Advancements (Achievements) notifications.
275 advancements:
276 # Advancements notifications.
277 # Only 1.12+.
278 enable: false
279 # Notification lists.
280 lists:
281 # List "default".
282 # Permission: chatty.notification.advancements.default
283 default:
284 # Messages interval.
285 time: 60
286 # List of messages.
287 messages:
288 - icon: 'minecraft:diamond'
289 header: '&bChatty v.2.15.1'
290 footer: '&fThank you for using!'
291 - icon: 'minecraft:gold_ingot'
292 header: '&eChatty v.2.15.1'
293 footer: '&fThank you for using!'
294 # Disable permission checking.
295 # Delete the line, if you need this.
296 permission: false
297
298# * Moderation.
299# Automatic chat moderation tools.
300moderation:
301 caps:
302 # On/off caps protection.
303 # Bypass permission: chatty.moderation.caps
304 enable: true
305 # Minimal length of message to caps checking.
306 length: 6
307 # Minimal upper case procent for caps.
308 procent: 80
309 # On/off caps message blocking.
310 # When false, message will be sent in lower case.
311 block: true
312 advertisement:
313 # On/off advertisement protection.
314 # Bypass permission: chatty.moderation.advertisement
315 enable: true
316 # Regular expressions for IP-addresses and sites.
317 patterns:
318 ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
319 web: '[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+~#?&//=]*)?'
320 # On/off caps message blocking.
321 # When false, advertisements will be replaced.
322 block: true
323 # Replacement for advertisement.
324 replacement: '<ads>'
325 # Whitelisted IP-addresses and sites.
326 whitelist:
327 - 'example.com'
328 - 'vk.com'
329 - 'google.com'
330 - 'yandex.ru'
331 - '192.168.1.1'
332 - '127.0.0.1'
333 swear:
334 # On/off swear protection.
335 # Bypass permission: chatty.moderation.swear
336 enable: true
337 # On/off caps message blocking.
338 # When false, swears will be replaced.
339 block: true
340 # Replacement for swears.
341 replacement: '<swear>'
342 # Swear-list configuration: "Chatty/swears"
343
344# * Misc.
345# Change default Minecraft messages.
346misc:
347 join:
348 # Set '' to disable.
349 message: '.'
350 # If player doesn't have permission, message won't send.
351 #
352 # Permission: chatty.misc.joinmessage
353 permission: false
354 quit:
355 # Set '' to disable.
356 message: ''
357 # If player doesn't have permission, message won't send.
358 #
359 # Permission: chatty.misc.quitmessage
360 permission: false
361 death:
362 # Set '' to disable.
363 message: ''
364 # If player doesn't have permission, message won't send.
365 #
366 # Permission: chatty.misc.deathmessage
367 permission: false