Scribe handles nicknames intrinsically, meaning you don’t need EssentialsX or other bloated plugins just for a /nick command.
When a player sets a nickname, it globally replaces {display_name} across all chat formats, private messages, and roleplay actions.
Configuration
Nicknames are managed in config.yml:
nicknames:
enabled: true
max-length: 16
allowed-regex: "^[a-zA-Z0-9_]+$"
Safety & Filtering
- Length Limit: The
max-lengthprevents players from creating massive names that ruin chat formatting. - Regex Filter: The
allowed-regexensures that players cannot use spaces, special characters, or MiniMessage color tags in their name. The default regex^[a-zA-Z0-9_]+$restricts names to alphanumeric characters and underscores (the same as vanilla Minecraft usernames).
If you want to allow players to use spaces in their names (e.g., for RP servers where people have First and Last names), you can change the regex to:
allowed-regex: "^[a-zA-Z0-9_ ]+$"
Usage
Players with the scribe.nick permission can change their name using:
/nick JohnDoe
To remove a nickname and revert to their default username:
/nick off