/
minecraftbackup
/
ChatSentinel
Обзор
Документация
Войти
/
minecraftbackup
/
ChatSentinel
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/resources/config.yml
147 строк
4 KB
linsaftw
hide_words -> censorship system
22 май 2024, 03:21
22 май 2024, 03:21
85f4779
Код
Авторство
О чём код?
# Cleans up whitelisted expressions from the message # This is basically a bypass for certain patterns whitelist: enabled: true general: # If enabled, other checks will ignore non-latin characters to improve detection. sanitize: true # If enabled, other checks will ignore player names to improve detection. sanitize-names: true # Filter and remove non-latin characters from all messages. filter-other: false # Commands that will be treated as normal messages commands: - /broadcast - /ebroadcast - /bc - /ebc - /tell - /etell - /msg - /emsg - /reply - /ereply - /r - /er - /global - /g # Checks if the player is using blacklisted words. blacklist: enabled: true # Show a fake message to the player to make him think his message was sent. # This doesnt work if the plugin is on BungeeCord. fake_message: false # Hide the words the player wrote with a *** censorship: enabled: false # Replacement to be used replacement: "***" warn: # Amount of warns required to execute the commands. # Set to -1 to disable this feature completely. max: 3 # Sends a notification to players with chatsentinel.notify permission. # Set to "" to disable this feature completely. # You can use %server% on BungeeCord to get the server name. notification: "&c&lCS: &e%player% &ffailed &6Swearing &7(&c%message%&7)" # You need a mute plugin for ChatSentinel to mute players. (Recommended: LiteBans/AdvancedBans) # Set to [] to disable this feature completely. punishments: - "mute -s %player% Offensive Language (%message%) 1d" # if fake_message is false # and if censorship is false # The message will be cancelled. block_raw_message: true # Checks if messages have too many caps. caps: enabled: true # If this is true it will replace the caps with low-case letters. replace: true # Maximum amount of caps allowed. max: 8 warn: # Amount of warns required to execute the commands. # Set to -1 to disable this feature completely. max: -1 # Sends a notification to players with chatsentinel.notify permission. # Set to "" to disable this feature completely. notification: "&c&lCS: &e%player% &ffailed &6Caps &7(&c%message%&7)" # You need a mute plugin for ChatSentinel to mute players. (Recommended: LiteBans/AdvancedBans) # Set to [] to disable this feature completely. punishments: [] # Checks if player is chatting too fast. cooldown: enabled: true # Time in milliseconds. time: repeat-global: 1000 repeat: 10000 normal: 1000 command: 400 # Checks if player is using too many repeated characters. flood: enabled: true # If this is true it will replace the flood instead of cancelling it. # Example: Heloooooo would be converted to just Helloo replace: true # Regex pattern to do the checks and replacement. pattern: (\w)\1{5,}|(\w{28,})|([^\wñ]{20,})|(^.{220,}$) warn: # Amount of warns required to execute the commands. # Set to -1 to disable this feature completely. max: -1 # Sends a notification to players with chatsentinel.notify permission. # Set to "" to disable this feature completely. notification: "&c&lCS: &e%player% &ffailed &6Flood &7(&c%message%&7)" # You need a mute plugin for ChatSentinel to mute players. (Recommended: LiteBans/AdvancedBans) # Set to [] to disable this feature completely. punishments: [] # Checks if the player is using syntax. # Example: testplugin:testcommand syntax: # Do you want to enable this module? enabled: true # Syntax commands that will not be checked. # Set to {} to disable whitelist. whitelist: - "/strikepractice:" warn: # Amount of warns required to execute the commands. # Set to -1 to disable this feature completely. max: -1 # Sends a notification to players with chatsentinel.notify permission. # Set to "" to disable this feature completely. notification: "&c&lCS: &e%player% &ffailed &6Syntax &7(&c%message%&7)" # You need a mute plugin for ChatSentinel to mute players. (Recommended: LiteBans/AdvancedBans) # Set to [] to disable this feature completely. punishments: []