DocumentationЗащитаNickname Rules

Nickname Rules

Length and regex pattern filtering

Nickname filtering lets you block connections from players with specific usernames.

Length limits

Set a minimum (1–16) and maximum (3–25) nickname length. Connections with names outside this range will be rejected. The player will see a message stating the allowed length — the text can be customized using the {min} and {max} placeholders.

Regex rules

You can create up to 5 rules based on regular expressions. Each rule has:

  • Pattern — regex expression (3–40 characters)
  • Typewhitelist (nickname must match) or blacklist (nickname must not match)
  • Message — kick message shown to the player
Pattern examples
Bot_.*          — nicknames starting with "Bot_"
Player[0-9]{4}  — "Player" + 4 digits (Player1234)
[A-Za-z0-9_]+   — only letters, digits, and underscores
The whitelist type is useful for servers with username binding — you can allow only names that match a specific format.