Change your name on a Minecraft server: /nick, colours and prefixes
On a Minecraft server a player has three different «names»: the account's, which is the one the server keeps; the nickname the chat and the player list show with /nick; and the colour or tag above their head. Each one is changed in a different place. Here are all three, with the permissions so your players can do it themselves and the usual errors («can only contain letters», «too long»).
A player's three names
The account name (from 3 to 16 characters: letters without accents, numbers and _). On a normal server (online-mode=true) what really identifies the player is their UUID, not the name: the inventory, ops, the whitelist and bans follow the UUID.
The nickname (nick): a plugin like EssentialsX sets it and it shows in the chat, in the Tab list and in EssentialsX's commands. It doesn't change the name above the head.
The colour and tag above the head: that's the game's own teams (/team), which work without plugins, on modded servers too.
Rather not set it up yourself? Minecraft servers from €6 a month, no contract and a full refund within 72 hours. Or create a free Minecraft server, no card needed.
Nicknames with /nick (EssentialsX)
/nick comes from EssentialsX, a plugin for Paper (on Fabric, Forge or NeoForge it doesn't exist). If you don't have it yet, the EssentialsX guide explains how to install it; with LuckPerms for the permissions.
How it's used: /nick Nickname sets it for you, /nick Name Nickname sets it for someone else (you need essentials.nick.others) and /nick off removes it. From the console: nick Name Nickname. To find out who's behind a nickname: /realname Nickname.
By default, the nickname comes with a ~ in front (~Nickname) so it's clear it isn't the real name. You remove it for everyone by leaving nickname-prefix: '' in plugins/Essentials/config.yml, or just for some people with the essentials.nick.hideprefix permission.
You can't use as a nickname the name of another player who has already joined the server, or the nickname of someone online: that way nobody can pretend to be someone else.
Let your players set their own nickname
By default, only ops can use /nick. To give it to everyone, from the console with LuckPerms:
lp group default permission set essentials.nick true
With colour: essentials.nick.color (the 16 colours, with & codes), essentials.nick.format (bold, italic, underline) and essentials.nick.rgb (hex colours, b4ae8). essentials.nick.magic allows the scrambling text (&k): better not to give it, because then nobody knows who's typing.
If you only want them to be able to colour their real name, without making up another one, give essentials.nick.changecolors instead of the above: /nick &aMarco works; /nick &aSomeoneElse, doesn't.
For a VIP rank with colours and everyone else without, give essentials.nick to default and the colour ones only to the vip group. How to create groups is in the LuckPerms guide.
«Can only contain letters» and «too long»
What a nickname can contain is decided by allowed-nicks-regex in config.yml: by default, only letters without accents, numbers and _. «Zoë» or «José_X» give an error because of the accent, and spaces aren't allowed either. You can add the letters you need to that line ('^[a-zA-Z_0-9éÉë§]+$'); the essentials.nick.allowunsafe permission skips the check entirely, and the authors themselves warn that it can corrupt player data: don't give it.
max-nick-length is 16 by default, and it counts colour codes too: &a is two characters and a hex colour (b4ae8) is eight, so a nickname with a gradient doesn't fit. Set ignore-colors-in-max-nick-length: true and only the letters you see will count.
nick-blacklist is the list of banned nicknames (it accepts regular expressions): put Admin, Moderator or the owner's name there so nobody uses them.
real-names-on-list: true makes /list show the real name next to the nickname; handy for moderating.
Edit config.yml from «Files» and type essentials reload in the «Console» so it reads it without restarting.
Colour and tag above the head with /team
The game's teams paint the name above the head, in the Tab list and in the chat at once, without plugins. A player can only be in one team (the /team guide has the rest of its options).
Create the team
In the «Console»:
team add vip(without the /; in the game chat, with it and as an op).Give it a colour
team modify vip color gold. The colours have English names: red, blue, green, gold, aqua, light_purple…Give it a tag
team modify vip prefix "[VIP] "(with the space inside the quotes so it doesn't stick to the name). There's also suffix, for what goes after.Add the players
team join vip Name. To take them out:team leave Name.
If you rename your account
In Minecraft Java the name is changed in your minecraft.net profile, at most once every 30 days. On a normal server you lose nothing: the server recognises you by your UUID and you keep your inventory, homes, op and your place on the whitelist. Only the logs with the old name change (tell your admin so they're not surprised).
On a cracked server (online-mode=false) it's the other way round: the UUID comes from the name, so with another name you're a new player, with an empty inventory. So you don't lose it, the admin has to move the player's data from the old UUID to the new one (the files have the UUID in their name). NapNodes' free UUID tool gives you the offline UUID for each name (the cracked server guide).
EssentialsX keeps the nickname even if you rename your account. If you'd rather it was cleared when the name changes, set reset-nick-on-name-change: true.
Bedrock players who join with Geyser and Floodgate show up with a dot in front (.Name) and with _ instead of spaces; their name is their Xbox gamertag and it's changed in their Xbox account.
On NapNodes
EssentialsX and LuckPerms are among the basics in «Mods & plugins»: they install with one click and load when you «Restart». config.yml is edited in «Files» (plugins/Essentials) and the commands go in the «Console».
To try it all before paying, the free Minecraft server runs Paper, just like the plans.
Frequently asked questions
Why does it say I don't have permission for /nick?
Because by default only ops can use it. Give it to everyone with LuckPerms: lp group default permission set essentials.nick true (and essentials.nick.color if you want them to use colours).
How do I remove the ~ in front of the nickname?
In plugins/Essentials/config.yml, nickname-prefix: '' and essentials reload. Or just for some people, with the essentials.nick.hideprefix permission.
Why doesn't /nick change the name above my head?
Because /nick changes the name EssentialsX shows (chat, Tab, its commands), not the account's. For a colour or tag above the head, use the game's teams: team add, team modify color and prefix, team join.
Do I lose my stuff if I change my Minecraft name?
On a premium server, no: it recognises you by your UUID. On a cracked one, yes, because the UUID comes from the name; the admin has to move your data to the new UUID.
Why won't it let me use an accented letter or a space in my nickname?
Because EssentialsX's allowed-nicks-regex only accepts letters without accents, numbers and _. You can add the letters you need on that line of config.yml; spaces, no.
Shall we set it up for you?
Minecraft servers from €6 a month, never oversold: your RAM is yours alone. And if you'd rather start without paying, there's a free Minecraft server, no card needed.
Your server doesn't show up in the game? Check it in a second with “Is my Minecraft server online?”: players, version and MOTD, free. Need a player's UUID for the whitelist or permissions? Look it up here. Handing out enchanted items? Build the command with the /give generator.
Free tool: Minecraft UUID lookup. Type a Minecraft Java username and get its UUID, the offline one and the lines for whitelist.json and ops.json.
Free tool: Gradient text generator. Type some text, pick the colours and get the gradient in “&#”, MiniMessage or “&x” for chat, the MOTD or plugins.
Keep reading
- Teams in Minecraft with /team: Colours, Friendly Fire and Hidden Names
How to make teams on your Minecraft server without plugins: /team add, join and modify, colours, no friendly fire, hidden name tags and random team picks.
- PlaceholderAPI on Your Minecraft Server: What It Is, How to Install It and Why %player_name% Shows Up
Install PlaceholderAPI on your Minecraft server, download its expansions with /papi ecloud and fix %player_name% showing instead of the player's name.
- Your Minecraft server's IP keeps changing: how to get a fixed address (DDNS)
Why your friends can't join after your IP changes, how to tell if your IP is dynamic and how to set up a free fixed name with No-IP, DuckDNS or your router.