User Guide ‐ Main interface ‐ Automods ‐ Name kicks - MarechJ/hll_rcon_tool GitHub Wiki
🧭 You are here : Wiki home / User Guide / Main interface / Automods / Name Kicks
This automod can deny entry to the server to a player because of his pseudo.
Example : you do not want players pseudos with :
- "cyrillic characters only", "chinese character only", "digits only"
- any offending terms, like "nazi" or "fuck"
You'll have to know how to write regular expressions.
These aren't easy to master, but you can hire an AI to write them for you.
Try to ask https://chatgpt.com/ :
I'd like you to write a regular expression that is true if there is no alphabetical character in the string.
Gives this result : ^[^a-zA-Z]*$
I'd like you to write a regular expression that is true when there is "nazi" or "fucker" substrings in the string
Gives this result : \b(nazi|fucker)\b
If you intend to write and test your own, you can use testing tools like https://regex101.com/
Regular Expressions
This is a list of regular expressions. If any of these is triggered by the entering player's pseudo, server's entry will be denied.
"regular_expressions": [
"^[^a-zA-Z]+$",
"\b(nazi|fucker)\b"
],
Kick Reason
The message that will be displayed to the player on the kick screen
"kick_reason": "Invalid pseudo !\nPlease change it before trying to enter the server again.",
Whitelist Flags
This is either an empty list []
, or a list of flags to exempt a player from this automod features.
To use, add a flag or multiple flags to the list, then flag the players you want to exempt in the CRCON UI.
Default :
"whitelist_flags": [
"🚨"
],
No whitelist flag :
"whitelist_flags": [],
Multiple whitelist flags :
"whitelist_flags": [
"🚨",
"❤️"
],