Configuration
Configuration file: modules/antiunicode.yml
General
modules:
# Block Unicode abuse, similar-looking characters, invisible characters, and other Unicode-based chat exploits.
#
# Anti unicode module loaded from modules/antiunicode.yml
anti-unicode: truemodules.anti-unicode: Enable/disable the module
Module
Action
# What to do when a disallowed unicode character is detected:
# - STRIP : Silently remove only the offending characters, keep the rest of the message
# - CENSOR : Replace only the matched characters with censor-char
# - BLOCK : Cancel the message entirely
action: STRIPSTRIP: Removes the unicode characters.
BLOCK: Cancels the message.
CENSOR: Replace the uppercase letters with the 'censor-char' character.
Censor-char
The censor character for the 'CENSOR' action.
Filters
bidi-control: Detects Unicode bidirectional control characters that can visually reorder text while leaving its actual contents unchanged.
zero-width: Detects invisible formatting characters that cannot normally be seen by players.
control-chars: Detects non-printable ASCII control characters.
zalgo: Detects excessive combining diacritical marks ("Zalgo text").
fullwidth: Detects Fullwidth Forms and Mathematical Alphanumeric Symbols.
private-use-area: Detects characters from the Unicode Private Use Areas (PUA).
emoji: Detects Unicode emoji characters.
scripts: Restricts messages to specific Unicode writing systems (scripts).
Zalgo
max-combining-marks: Maximum number of consecutive combining marks allowed on a single character before it is considered Zalgo text.
Scripts
Defines the Unicode scripts that are permitted when the
scriptsfilter is enabled.
Last updated