· 6 years ago · Mar 26, 2019, 06:32 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: en
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: true
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: true
47 # Spy-mode message format.
48 format: '&6| &f{format}'
49 # PM spy-mode message format.
50 # Permission: chatty.spy
51 # or chatty.spy.pm
52 pm-format: '&6| &e{sender} &f-> &e{recipient}: &f{message}'
53
54# * Commands.
55commands:
56 prefix:
57 # Enables "/prefix command.
58 # Permission: chatty.command.prefix
59 enable: true
60 # Automatically adds a string after prefix.
61 after-prefix: ' '
62 # Auto-applying in NametagEdit.
63 # (Requires NameTagEdit plugin).
64 auto-nte: true
65
66 suffix:
67 # Enables "/suffix command.
68 # Permission: chatty.command.suffix
69 enable: true
70 # Automatically adds a string before suffix.
71 before-suffix: ' '
72 # Auto-applying in NametagEdit.
73 # (Requires NameTagEdit plugin).
74 auto-nte: true
75
76 msg:
77 # Enables "/msg" command.
78 # Permission: chatty.command.msg
79 enable: true
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: true
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: true
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: '&f[&aL&f] {prefix}{player}&f: {suffix}{message}'
120 range: 100
121 cooldown: -1
122
123 global:
124 enable: true
125 format: '&f[&cï¼§&f] {prefix}{player}&f: {suffix}{message}'
126 range: -1
127 symbol: '!'
128 cooldown: -1
129
130# * JSON.
131# Formatting chat messages with JSON.
132# 1.7.10+.
133json:
134 # 1.7.10+
135 enable: false
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: /home
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} '
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: 'http://google.com'
158
159 # Hover tooltip for the player's name.
160 # Supports PlaceholderAPI.
161 #
162 # You can use "{player}" variable here.
163 tooltip:
164 - '&fPlayer &e{player}'
165 - '&fThis tooltip supports'
166 - '&fPlaceholderAPI placeholders!'
167
168 # Swears hovers.
169 #
170 # Permission: chatty.swears.see
171 swears:
172 enable: true
173 tooltip:
174 - '&o{word}'
175 - ''
176 - '&eClick here to add word to whitelist.'
177 suggest_command: /swears add {word}
178
179 # Replacements for chat formats
180 #
181 # You can replace plain text with JSON-pieces
182 # to make chat more interactive.
183 #
184 # Available properties:
185 # text, tooltip, command, suggest_command, link.
186 replacements:
187 'Admin':
188 # Original text.
189 original: '&cAdmin'
190 # Text to replace.
191 #
192 # Supports PlaceholderAPI.
193 # You can use "{player}" variable here.
194 #
195 # You can remove this line, if you need original text.
196 text: '&cAdmin'
197
198 # Hover tooltip for the text.
199 #
200 # Supports PlaceholderAPI.
201 #
202 # You can use "{player}" variable here.
203 tooltip:
204 - '&cThis is admin.'
205 - '&4&lBe afraid of him!'
206 - ''
207 - '&eClick here to see the server rules.'
208
209 # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
210 # Command that executes when you click on the text.
211 #
212 # Supports PlaceholderAPI.
213 #
214 # You can use "{player}" variable here.
215 command: /rules
216
217# * Notifications.
218# There are three types of notifications:
219# via Chat, ActionBar (1.8+) and Advancements (1.12+).
220notifications:
221 # Chat notifications..
222 chat:
223 # On/off chat notifications.
224 enable: false
225 # Notification lists.
226 lists:
227 # List "default".
228 # Permission: chatty.notification.chat.default
229 default:
230 # Messages interval.
231 time: 60
232 # Messages prefix.
233 prefix: ''
234 # List of messages.
235 messages:
236 - '&cThe server is using Chatty!'
237 - '&aThe server is using Chatty!'
238 # Disable permission checking.
239 # Delete the line, if you need this.
240 permission: false
241
242 # ActionBar notifications.
243 # It's static notifications,
244 # which changes the message with interval.
245 #
246 # Permission: chatty.notification.actionbar
247 actionbar:
248 # On/off ActionBar notifications.
249 # Only 1.8+.
250 enable: false
251 # One message time.
252 time: 60
253 # Messages prefix.
254 prefix: ''
255 # List of messages.
256 messages:
257 - '&cThe server is using Chatty!'
258 - '&aThe server is using Chatty!'
259 # Disable permission checking.
260 # Delete the line, if you need this.
261 permission: false
262
263 # Advancements (Achievements) notifications.
264 advancements:
265 # Advancements notifications.
266 # Only 1.12+.
267 enable: false
268 # Notification lists.
269 lists:
270 # List "default".
271 # Permission: chatty.notification.advancements.default
272 default:
273 # Messages interval.
274 time: 60
275 # List of messages.
276 messages:
277 - icon: 'minecraft:diamond'
278 header: '&bChatty v.2.15.1'
279 footer: '&fThank you for using!'
280 - icon: 'minecraft:gold_ingot'
281 header: '&eChatty v.2.15.1'
282 footer: '&fThank you for using!'
283 # Disable permission checking.
284 # Delete the line, if you need this.
285 permission: false
286
287# * Moderation.
288# Automatic chat moderation tools.
289moderation:
290 caps:
291 # On/off caps protection.
292 # Bypass permission: chatty.moderation.caps
293 enable: true
294 # Minimal length of message to caps checking.
295 length: 6
296 # Minimal upper case procent for caps.
297 procent: 80
298 # On/off caps message blocking.
299 # When false, message will be sent in lower case.
300 block: true
301 advertisement:
302 # On/off advertisement protection.
303 # Bypass permission: chatty.moderation.advertisement
304 enable: true
305 # Regular expressions for IP-addresses and sites.
306 patterns:
307 ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
308 web: '[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+~#?&//=]*)?'
309 # On/off caps message blocking.
310 # When false, advertisements will be replaced.
311 block: true
312 # Replacement for advertisement.
313 replacement: '<ads>'
314 # Whitelisted IP-addresses and sites.
315 whitelist:
316 - 'example.com'
317 - 'vk.com'
318 - 'google.com'
319 - 'yandex.ru'
320 - '192.168.1.1'
321 - '127.0.0.1'
322 swear:
323 # On/off swear protection.
324 # Bypass permission: chatty.moderation.swear
325 enable: true
326 # On/off caps message blocking.
327 # When false, swears will be replaced.
328 block: true
329 # Replacement for swears.
330 replacement: '<swear>'
331 # Swear-list configuration: "Chatty/swears"
332
333# * Misc.
334# Change default Minecraft messages.
335misc:
336 join:
337 # Set '' to disable.
338 message: ''
339 # If player doesn't have permission, message won't send.
340 #
341 # Permission: chatty.misc.joinmessage
342 permission: false
343 quit:
344 # Set '' to disable.
345 message: ''
346 # If player doesn't have permission, message won't send.
347 #
348 # Permission: chatty.misc.quitmessage
349 permission: false
350 death:
351 # Set '' to disable.
352 message: ''
353 # If player doesn't have permission, message won't send.
354 #
355 # Permission: chatty.misc.deathmessage
356 permission: false