Examples match release 1.0.2. Back up your configuration before editing. Use this plugin's reload command where supported; restart after dependency or JAR changes.
Settings in this file
Values shown below are sanitized defaults from the release JAR. Empty private fields must be configured locally.
Default value is shown below. Keep the type and YAML structure when editing this setting.
Setting
General behavior, prefixes and operational switches.
Setting
Text preprocessing used before matching filter phrases.
Setting
Which chat and written-content surfaces are checked.
Setting
Moderation category priorities, terms, messages and punishment commands.
Setting
Player-facing messages and command feedback. Preserve the placeholder spelling used in each default.
Setting
Default configuration
Preserve YAML indentation. Never publish your configured keys, tokens or player data.
config-version: 4
settings:
prefix: "&8[&c&lxRacismGuard&8]"
bypass-permission: "xracismguard.bypass"
alert-permission: "xracismguard.alert"
log-detections: true
# Stops duplicate ban or mute commands when the same player triggers several checks at once.
enforcement-cooldown-seconds: 3
backup-and-replace-legacy-config: true
normalization:
strip-color-codes: true
remove-accents: true
map-unicode-lookalikes: true
convert-leetspeak: true
collapse-repeated-letters: true
remove-zero-width: true
surfaces:
chat:
enabled: true
command-chat:
enabled: true
checked-commands:
- "msg"
- "m"
- "tell"
- "w"
- "whisper"
- "r"
- "reply"
- "me"
- "mail"
- "tellraw"
written-content:
enabled: true
check-signs: true
check-books: true
check-anvils: true
categories:
# Add normal words or phrases only. Do not use regex, \\b, brackets or patterns.
# xRacismGuard also detects common separators, leetspeak, repeated characters
# and common Unicode lookalikes automatically.
racism:
enabled: true
priority: 100
blocked-message: "{prefix} &cYour message was blocked for racism."
commands:
- "offend {player} racism"
blocked-words:
- "nigger"
- "niggers"
- "nigga"
- "niggas"
- "niger"
- "neger"
- "negger"
- "neeger"
- "kneeger"
- "kneega"
- "hitler"
- "bitler"
- "heil hitler"
- "sieg heil"
- "hitler was right"
- "hitler did nothing wrong"
- "hitler is my hero"
- "1488"
- "kkk"
- "ku klux klan"
- "white power"
- "white supremacy"
- "white nationalism"
- "master race"
- "cotton picker"
- "pick cotton"
- "bring back slavery"
- "make slavery legal"
- "i support slavery"
- "coon"
- "jigaboo"
- "sambo"
- "porch monkey"
- "chink"
- "gook"
- "ching chong"
- "spic"
- "beaner"
- "wetback"
- "zigeuner"
- "kill black people"
- "kill all black people"
- "kill jews"
- "kill all jews"
- "kill muslims"
- "kill all muslims"
- "kill asians"
- "kill all asians"
- "kill arabs"
- "kill all arabs"
- "kill turks"
- "kill all turks"
- "kill roma"
- "kill all roma"
- "kill gypsies"
- "kill all gypsies"
- "gas black people"
- "gas all black people"
- "gas jews"
- "gas all jews"
- "gas muslims"
- "gas all muslims"
- "gas asians"
- "gas all asians"
- "gas arabs"
- "gas all arabs"
- "gas turks"
- "gas all turks"
- "gas roma"
- "gas all roma"
- "gas gypsies"
- "gas all gypsies"
- "exterminate black people"
- "exterminate all black people"
- "exterminate jews"
- "exterminate all jews"
- "exterminate muslims"
- "exterminate all muslims"
- "exterminate asians"
- "exterminate all asians"
- "exterminate arabs"
- "exterminate all arabs"
- "exterminate turks"
- "exterminate all turks"
- "exterminate roma"
- "exterminate all roma"
- "exterminate gypsies"
- "exterminate all gypsies"
threat:
enabled: true
priority: 90
blocked-message: "{prefix} &cYour message was blocked for severe threats."
commands:
- "offend {player} threats"
blocked-words:
- "kys"
- "kill yourself"
- "kill urself"
- "go kill yourself"
- "go kill urself"
- "end yourself"
- "end urself"
- "go die"
- "i will kill you irl"
- "kill your family"
- "i will find you"
- "i know your address"
- "leak your ip"
- "leak your address"
- "ip grabber"
- "ip logger"
- "dox"
- "doxx"
- "doxed"
- "doxxed"
- "ddos"
- "swat you"
- "i will rape you"
profanity:
enabled: true
priority: 20
blocked-message: "{prefix} &cYour message was blocked."
commands: []
blocked-words:
- "schwanz"
insult:
enabled: true
priority: 10
blocked-message: "{prefix} &cYour message was blocked for insults."
commands:
- "mute {player} 14d insult"
blocked-words:
- "hs"
- "hso"
- "huso"
- "hurensohn"
- "huren sohn"
- "fick dich"
- "verpiss dich"
- "missgeburt"
- "bastard"
- "spast"
- "spasti"
- "idiot"
- "fotze"
- "son of a bitch"
messages:
reload: "{prefix} &aConfig reloaded."
no-permission: "{prefix} &cYou have no rights to this command."
status: "{prefix} &7Categories loaded: &f{categories}"
staff-alert: "{prefix} &c{player} &7triggered &f{category}&7 in &f{surface}&7. Match: &f{match}&7."