/
settings.yml
399 lines (319 loc) · 13.6 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# -----------------------------------------------------------------------
# Welcome to the main configuration of ChatControl
# -----------------------------------------------------------------------
# [General support and updates]
# http://www.spigotmc.org/resources/chatcontrol.271
#
# [Default configuration with comments]
# https://github.com/kangarko/ChatControl/blob/master/settings.yml
#
# [Tips]
# - Color codes are supported with the '&' character, see
# http://minecraftwiki.net/wiki/Formatting_codes for usage
#
# - To not display a message, set it to 'none'.
#
# - Unicode /special characters/ only work when files are saved in
# UTF-8 encoding. Tested on Notepad++, WordPad on Windows is broken.
#
# - Most of the messages (warnings, etc) are found in the localization.
# To customize it, make a new file in "localization/messages_LOCALE.yml"
# (Replace LOCALE with the actuall locale name, by default 'en'). It
# will be filled with all default values and kept with sync on updates.
# -----------------------------------------------------------------------
Anti_Bot:
# Delay between player logging in again in seconds.
Rejoin_Delay_Seconds: 4
# Set if the player has to move from their join location to do following.
Block_Actions_Until_Moved:
# To be able to chat (player will still be able to execute commands)
Chat: true
Anti_Caps:
Enabled: true
Warn_Player: true
# Ignore player names. Exclude them from caps percentage and caps in a row check.
# Enabling is not recommended on a bigger servers (50+ slots) due to iterating over every player (laggy).
Ignore_Usernames: false
Min_Message_Length: 5
Min_Caps_Percentage: 50
Min_Caps_In_A_Row: 5
Whitelist:
- OMG
- LOL
- WTF
- WOW
- ROFL
Anti_Spam:
Similarity_Check:
Ignore_Special_Characters: true
Ignore_Duplicate_Characters: false
# If enabled, the first and second arguments in longer commands will be ignored.
# This makes the check less annoying in messages like /tell <player> message
# where it ignores /tell and <player> name.
Ignore_First_Arguments_In_Commands: true
Commands:
# Delay in seconds. Set to 0 to disable.
Delay_Between_Commands: 2
# If a message is similar (in percents) to the previous one, block it.
# Set to 0 or 100 to disable.
# We keep in mind that commands like /tell includes always name, making the check less annonying.
Similar_Percentage_Block: 80
# Commands ignored from the delay check.
Whitelist_Similarity:
- tell
- pm
- t
- w
- r
# Commands ignored from the similarity check.
Whitelist_Delay:
- spawn
- home
Chat:
# Delay in seconds. Set to 0 to disable.
Delay_Between_Messages: 1
# If a command is similar (in percents) to the previous one, block it.
# Set to 0 or 100 to disable.
Similar_Percentage_Block: 80
# Should regular expressions be supported in Whitelist_Similarity and Whitelist_Delay?
# ! Can lead to unexpected behavior.
Regex_In_Whitelist: false
# Message that starts with following strings will be ignored from the delay check.
Whitelist_Similarity:
- hello
- hey
# Message that starts with following strings will be ignored from the similarity check.
Whitelist_Delay:
- yes
Chat:
# You need Vault to enable the formatter.
Formatter:
Enabled: false
# Default chat message format.
# The prefix has to include the 'pl_' because without it the plugin's prefix name will be given instead.
Message_Format: '{player_prefix}{player}:{player_suffix} {message}'
# If Ranged_Mode is enabled, this format is used when a message is printed to the global chat by prefixing it with '!'
# NB: Player must also have the 'chatcontrol.chat.global' permission to speak to the global chat.
Global_Message_Format: '&8[GLOBAL]&f {player_prefix}{player}:{player_suffix} {message}'
# If Ranged_Mode is enabled, this format is used when a player with 'chatcontrol.chat.spy' permission receives ranged message
# that he normally should't see.
# To spy on private messages (e.g. /tell or /mail), use Essentials /socialspy feature.
Spy_Message_Format: '&8SPY: [{world}&8]&f {player_prefix}{player}:{player_suffix} {message}'
# If enabled and a players write a message, it will only be sent to players
# within distance of the player specified in Range
Ranged_Mode: false
# If you want the range for entire world, give everyone chatcontrol.chat.overrideranged permission.
Range: 100.0
Grammar:
# Punctualize every sentence. Ignores URLs.
Insert_Dot:
Enabled: true
Min_Message_Length: 5
# Make the first letter of a sentence big. Ignores URLs.
Capitalize:
Enabled: true
Min_Message_Length: 5
Clear:
# Broadcast that the chat was wiped?
Broadcast: true
# Send only one message to staff instead of a bunch of blank lines.
Do_Not_Clear_For_Staff: true
# Amount of blank lines that will be printed in the console when it is cleared.
Console_Lines_To_Clear: 300
Messages:
# Use 'default' to not modify, 'hide' to not display or write a custom message
# Variables: {player} {player_suffix} {player_prefix} (when Vault is installed)
# and {country_code} and {country_name}
Join: default
Quit: default
Kick: default
# Needs AuthMe-Reloaded. Only display quit message when the player has logged.
# You can disable displaying join message in AuthMe itself by enabling 'delayJoinMessage' in its config
Show_Quit_Only_When_Logged: true
# Automatic message broadcaster.
Timed:
Enabled: false
Random_Order: false
# If random order is enabled, the messages will be put in a cache and not repeat until the cache is empty,
# then it will be filled again and so on.
Random_No_Repeat: true
# Prefix and suffix supports variables {player} (player name) and {world} (world name)
Prefix: '&8[&2Tip&8]&2'
Suffix: ''
Delay_Seconds: 180
# Timed messages per worlds.
# By default every world includes global messages.
Message_List:
# Messages displayed in all worlds.
global:
- Hey, {player}, did you know that this server is running ChatControl?
- 'Visit developer website: &ahttps://goo.gl/CT3Zdl'
# In this world will be displayed both global messages and these specified below.
hardcore:
- Grief is not permitted what-so-ever and every griefer will be banned.
- Can you survive the night on {world} world?
# In this world will be displayed messages included from hardcore world.
hardcore_nether:
- includeFrom hardcore
# No messages will be broadcasted in this world.
ignored-world:
- excludeGlobal
# Global messages will no be displayed in this world.
creative:
- excludeGlobal
- Welcome on Creative world. Enjoy your gamemode :)
Mute:
# Broadcast that the chat was mute?
Broadcast: true
# Hide the following messages when the chat is muted
Silence:
Join_Messages: true
Quit_Messages: true
Kick_Messages: true
Death_Messages: true
Disabled_Commands_During_Mute:
- me
- tell
- msg
- r
- w
# Needs ProtocolLib
Packets:
# Enables all features that requires ProtocolLib
# e.g. packet rules, tab complete
Enabled: true
# Prevent tab complete in certain cases where it can reveal server info.
# For more advanced configuration use Spigot and configure the function in spigot.yml
Tab_Complete:
Disable: true
Disable_Only_In_Commands: true
# If the written message/command contains space ' ', allow it.
Allow_When_Message_Has_Space: true
# Allow when the message length is above specific number.
# Not recommended as it might still reveal your server setup.
Allow_When_Length_Above: 0
# Custom rules are found in rules/ folder inside your plugins folder.
Rules:
# Enabled in chat?
Check_Chat: true
# Enabled in commands?
Check_Commands: true
# Enabled on signs?
Check_Signs: true
# Needs ProtocolLib. If enabled, messages will be checked against rules/packets.txt
# which supports replacing even bukkit / plugin messages.
# Won't work on Minecraft 1.19 and up. Upgrade to mineacademy.org/chatcontrol-red for new MC support.
Check_Packets: false
Console:
Filter:
# Filter console messages specified below? *Some messages you filter can conflict with Multicraft panels!!*
Enabled: false
# Remove certain messages from the server console.
# Does not need to be whole message, just a part of the message you want to block.
Filter_Console_Messages:
- Reached end of stream for
Signs:
Duplication:
# Player will be unable to place two signs with the same text.
Deny_Signs_With_Same_Text: false
Alert_Staff: true
# Block the sign (cancel event) when a custom rule matches the text on it.
# NOT related to duplication check but to the custom rules.
Block_When_Violates_A_Rule: true
# Drop sign as an item?
Drop_Sign: true
# Plays a sound to a player that is mentioned.
Sound_Notify:
Enabled: true
# Play a sound to player only when their are afk? Checked from Essentials plugin.
Notify_Only_When_Afk: true
# Play a sound to player only when someone writes following characters before
# their name: Set to none to play a sound when the players name is mentioned in the chat.
Notify_Only_If_Prefixed_With: '@'
# Format: bukkit_sound_name, volume (float), pitch (float)
# NB! In Minecraft 1.9, the sound names has changed! If you are using 1.8.x or older, the default sound name is 'CHICKEN_EGG_POP'
# Sounds for 1.9+: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# Sounds for <=1.8: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Sound.java?until=be55b4f5b8274c1124fe957e6a3259789f6e9747
Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
Enabled_In_Commands:
- msg
- tell
- t
- w
- r
# Overrides some settings above.
# There are currently only two settings.
Groups:
Enabled: false
# If you add a player/group permission (e.g via PermissionsEx: /pex user <nick> add <perm>)
# Then you will not need to reload ChatControl with /chc reload
# Always checking has impact on performance and it is recommended to have it disabled.
Always_Check_Updates: false
Group_List:
# Example usage. Give the player chatcontrol.group.trusted to make it working.
# As you can see, if you do not specify the value, the default will be used.
trusted:
Message_Delay: 0
guest:
Message_Delay: 4
Command_Delay: 6
vip:
# Notice if you are an OP you need to negate those permissions
# otherwise it will be applied on you, too!
Join_Message: "&6[VIP] &e{player} has joined the game"
Leave_Message: "&6[VIP] &e{player} has left the game"
Kick_Message: none
# Save chat communication to a file?
Writer:
# Enabled?
Write_Chat_Communication: true
Strip_Colors: true
# Messages of following players will not get writed.
Ignore_Players:
- ignoredAdmin
# Commands that will be saved along with chat messages.
Write_Commands:
- tell
# Advanced: Affects the order in which we format and check the chat. No need to touch.
# Read https://github.com/kangarko/ChatControl-Pro/wiki/Listener-Priorities for more information.
#
# Plugins which may require changing priority of Formatter: FactionsChat, BanManager and WorldGuard.
# You need to find the correct combination for your server yourself. Restart after each change.
Listener_Priority:
# Used for chat formatting. Should have the last say, meaning highest priority.
Formatter: NORMAL
# Used for checking a message against duplication, time or rules.
Checker: NORMAL
# Minimum amount of players online for rules and anti-spam.
Minimum_Players_To_Enable_Checks: 0
# How much time a rule has to process a message? Used to prevent server freezing with malformed rules.
Regex_Timeout_Milis: 100
# To customize a locale, make file in localization/messages_LOCALENAME.yml
# It will be filled with all the values.
# Current available locales: en (English), de (German), sk (Slovak), cz (Czech), fr (French), nl (Dutch), se (Swedish), es (Spanish),
# vi (Vietnamese), ro (Romanian), pl (Polish) and cn (Chinese)
Locale: en
# Time of some plugin's operations is measured.
# Print a message in the console if they take longer than specified millisecond time.
# Set to 0 to disable.
Log_Lag_Over_Milis: 100
# If a message was caught by a rule print info to the console.
# It is possible to hide individual packet rules from appearing
# with "dont verbose" operators. This currently works only on packet rules.
Verbose_Rules: true
# Removes certain messages from startup (reduces spam in the console)
# If you are having any issues, disable this and enable Verbose and Debug.
Silent_Startup: true
# Plugin saves some player data, such as their last message or command + date of writing them, for antispam to use.
# You can decide if these data should be reset when the player quits. Recommended in lobby (when on bungee), but not elsewhere.
Reset_Cache_On_Quit: false
# Set to true if the \n operator does not work for you.
# Before that, please ensure you've saved the file in an encoding that supports new line operator.
Enforce_New_Line: false
# Search for players geographical information for {country_name} and {country_code} variables?
# Disable to improve performance a tiny bit.
Lookup_Geo_Data: true
# Enable if you are having issues, will tell you detailed info in the console.
Debug: false
# Do not change this value, otherwise it will corrupt your plugin installation!
Version: 4