7

Is there any command in Minecraft where I can change my username in the chat, tab and my name tag above my skin? And no I'm not noob, I know I can change it on mojangs service, what I mean is like I'm creating a minigame using command blocks and someone is Herobrine then their display name will change to Herobrine. (The UUID is still the same for this player)

  • 1
    This is not possible in Vanilla Minecraft, but I'm sure that plugins like Essentials have commands that are usable in command blocks that change your name. (They don't actually change your global username, but rather act as a nickname on the server you are playing on.) – GiantTree May 12 '15 at 18:55
  • @GiantTree Essentials commands are, last I heard, not usable in command blocks. However, they can easily be used ingame: /nick <nickname> – 2xedo May 12 '15 at 19:13
13

There is no command to change a player's name.


As a workaround, you could fake it by hiding the player's name whilst teleporting a named entity onto them.

To hide a player's name tag, put them on a separate team and change the nametagVisibility option:

/scoreboard teams option HerobrineTeam nametagVisibility never

Then summon a named entity, such as a marker armorstand:

/summon ArmorStand ~ ~ ~ {CustomName:"Herobrine",CustomNameVisible:1b,Marker:1b,Invisible:1b}

You can teleport that entity to the player on a clock with something like:

/tp @e[name=Herobrine] @a[team=HerobrineTeam]
  • That's a great work around for something so useful. – Aaron128l May 13 '15 at 14:55
  • Problem, the armorstand spawns in the ground, under my foots, why? – Minecraft Doge May 13 '15 at 16:40
  • @MinecraftDoge Teleport it upwards to the offset you want. – SirBenet May 13 '15 at 17:40
  • You can also spawn them directly at the player using /execute, if you're familiar with that. Not sure if it's the case, but it might be actually cleaner to repeatedly kill the armor stand and spawn a new one at the player's location. Probably depends on the case which one is better. – Egor Hans Aug 17 '17 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.