UsernameRegex

UsernameRegex

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

131 downloads 0 followers

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."

No gallery available for this project.

Version Minecraft Loader Download

UsernameRegex 1.0.1

1.0.1

1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
bukkit, folia, paper, purpur, spigot
Download