UsernameRegex

Uses regular expressions to determine if a player's username meets the requirements when they log into the server.

80

Quick challenge

How far can you run before the mobs catch you?

UsernameRegex

Plugin Description

Uses custom regular expressions to determine if a player's username meets the requirements when they log into the server.

Configuration File

```

Presets

Only allow English letters (uppercase and lowercase), numbers, and underscores: ^[a-zA-Z0-9_]+$

Only allow Chinese characters: ^[u4e00-u9fa5]+$

Allow Chinese characters, English letters (uppercase and lowercase), numbers, and underscores: ^[u4e00-u9fa5a-zA-Z0-9_]+$

Only allow numbers: ^d+$

No restrictions: .*

usernameRegex: "^[a-zA-Z0-9_]+$" kickMessage: "&cYour username contains disallowed characters. Please change it and try again." ```

ADS