Hello everybody welcome back to another video in this video i’m gonna be showing you how to get the name of the player playing your map and putting it in chat messages signs titles or whatever so if you like micro tutorials like this one then please make sure you leave a like And subscribe to the channel for more micro videos like this one but we will get started so first of all we just have a command here to show you what i exactly mean so let’s click this button and we’ll see that in chat we see my Micro user name is max miando5d which is true so if i type something in right here so hey for example we see that indeed our username is max95 the player whatever and then of course you first of all might think that this command just has this exact text in we just saw Appear on the screen so it just says my micro username is maximum the fighter that’s what’s in here right well not quite so let’s see what we have here so we have a tell raw command always better than say command because there’s not that weird symbol at the start so Always better to use tell raw in this case it only works with telro i believe so in this case we tell raw everyone but of course you can target the specific player here as well and we tell them this text so my micro username is and Then right here there is selector at p but there we go this is the entire command i can’t go further than this this is all there is and you will see that my username is not in this command anywhere and that is because we are Using this part at the end over here to get our username answer this will work for anyone who would join this world and press the button they would see their own username appear in the chat and so of course this might be most useful if you’re creating a map and you want to Incorporate the name of the player into your stories and this is definitely possible using this selector so in this case we select add b we can also select at a this means that it will put all the usernames of all the players in the world in the chat of course currently I’m playing single player so it will only put my own name but if there are multiple people playing it will put for example my minecraft username is max and mumbo i don’t know who else is playing in my world and it will do this for any Number of players that play in the world of course at some point it’s going to be a very long message and i can actually show that because you can also do this for example with add e which is all entities so if we try this instead of at P we now have at e if you now press the button we see this yeah that’s a lot of stuff so here we go here it starts my micro fusion name is pig pig pig pig turtle turtle turtle turtle all kinds of different balls i myself am In here as well so maximum five is down there and that’s all the mobs here around me so that this is also what it would look like if there were different players of course getting so many players on a world is not very likely but this is just to show how that would Work but this is not everything because of course we have four more command blocks right over here and so the next one let’s press it let’s see what we get here so there we go my microfuse name is maximum five there and here’s some more Text so yes you can also add more text after putting this username and you don’t have to have the username at the end and so this works pretty much the same let’s go through this command in a little bit more detail so tell raw at p and then we have square brackets my Minecraft username is so you don’t even need to add the text in front this works like this as well so my macro fusion name is and then the second section over here put it in between curly brackets like this with the selector at p and the third section is just normal text again So we don’t need to have to put text error just this works like this as well and it will put all the different commands i show here in this video in the description of the video as well so you can copy them over you can change them about and make them fit your Command needs and then right here it’s just the last part of the text with and here’s some more text that’s the entire command so it’s actually very very simple you just break up your telerocker month with this selector part where you want to put the username of the player Playing your map and of course yes you can also customize this even further by adding different colors different styles like making it bold underlined whatever that’s all definitely possible and so i’ll just leave this command in the description but as you can see it’s just you can customize this per section so The text has the color gold and the selector bold underlined and has a special blue color a hex color as well so you can use any colors here you want and the third section is once again just gold so that works all just fine and you Can actually do a whole lot more than you might have expected using this tell raw command and if you want to know how to actually create text in the style rocker mods that is clickable i will leave a link to a video where i explain That in the top right hand side of your screen so check the video out after this one as well but now we move on to this fourth command so we’ve had the dell raw command now let’s move over to signs so you might want to add a sign to your Minecraft map where you thank the player personally for playing their map and it would look something like this so there we go we have thank you for playing my map max miranda five though very nice thank you message so let’s see what this command looks like so it’s actually a Little bit different here so for some reason the previous method doesn’t really work here so i have to do something else so we set block a birch sign and we make it red in this case and have it glowing text so normally we do that by applying some glowing sec but You can do that using commands as well and then per line of the sign you just have text 1 text 2 text 3 and text 4. so text 1 is just normal text thank you 4 text 2 is normal text playing my map and text 3 is where it becomes more Interesting so you have here is just no text pretty much so we have a text but this is just empty and then after it we have this special piece of code so what we have after it is an extra which will just add an extra piece of text to your Text and this is necessary for some reason you can’t just put selector here and then add b that doesn’t work for some reason i don’t know why maybe you can figure it out i don’t know anyway this works just fine so we have an extra and then within the extra is the Selector fp as i said commander in the description this might look pretty complicated but i think you will be able to figure it out and so we have this selector at p and then afterwards just underlined true just to give it a little bit more distinction there and so that’s The entire command right there so if we break the sign we can place it again and you’ll see that it puts the name of the player on the sign very nice then something to take into account here is that the micro user name of the player Might be too long to fit on the sign in that case it will get cut off so i can actually simulate this by going in and here also making it so that it is bold so let’s add that here so we can just do that like this it’s not too difficult Just add both and true there we go now we can break this sign and put on a new one and there we go we see that our name gets cut off it’s too long and so the last e here doesn’t fit on the sign so You can still do this of course and that will just mean that for players with lower usernames it will just not show the entire username and so this will of course not happen for the tell raw command but it will be something to take into account for the sign right here but I would definitely suggest to just set bold to false so you can have a little bit more leeway there but it can still happen that names get cut off at the end if they are too long and finally we also have a title command which will have our Name on there and of course there are more examples you could come up with yourself but i think you’ll be able to get a gist of it once we go through this one so let’s click it and we see you are maximum the five there yes i am thank You for telling me title i think there are some really awesome map making capabilities here where you started the map you just see a title with thank you for playing max milan the fighter as a subtitle maybe something like that it’s just a nice personal touch to every map You could add i really like it so here we just have a basic title command if you want to know how to use the other command more than this they’ll leave a link to a title command tutorial in the top right hand side of your screen so Check that out after this one as well but here we just have title at p title we can also change it to subtitle or any of these other options and so first we just have the text ur nothing special there it’s colored red and then once Again we have a selector like before and this time we also color it gold and set both to true and finally we just have an exclamation mark we also put in golden bold just to add a little bit extra emotion to the title of course everything is in square brackets so it Will all put in the same title and that’s pretty much it so there we go that’s how to put the minecraft username of the player playing your map in the chat on signs and in title commands and whatever else you want to put their name So there we go i hope you enjoyed this video and if you did please make sure you leave a like and subscribe to the channel for more maga videos like this one i want to thank my tier 3 member this michelada thinking someone’s coming a tier 3 member if you also want to Become a member click the blue join button below the video to check out the different tiers there we go i hope you all enjoyed video and hopeful in the next one so till then bye bye Video Information
This video, titled ‘Minecraft – How To Add Usernames To Your Commands!’, was uploaded by MaxStuff on 2021-09-17 15:00:14. It has garnered 12464 views and 268 likes. The duration of the video is 00:09:08 or 548 seconds.
In this video I will show you how to add the username of the player to various different commands If you liked this video, please be sure to hit the like button and let me know in the comments why you liked it! If you really love my content, please consider subscribing! ********************************************************************** Using the commands shown in the video you can add the name of the person playing on the world to chat messages, titles, signs and any other type of text you can show to that player! Commands used in the video: Chat message with player username: /tellraw @a [{“text”:”My minecraft username is “},{“selector”:”@e”}] Chat message with player username within the text: /tellraw @p [“My minecraft username is “,{“selector”:”@p”},”. And here is some more text!”] Chat message with player username within the text with custom colors: /tellraw @p [“”,{“text”:”My minecraft username is “,”color”:”gold”},{“selector”:”@p”,”bold”:true,”underlined”:true,”color”:”#0325E7″},{“text”:”. And here is some more text!”,”color”:”gold”}] Sign with player username, with red text and glowing: /setblock ~ ~1 ~ birch_sign{Color:”red”,GlowingText:1b,Text1:'{“text”:”Thank you for”}’,Text2:'{“text”:”playing my map”}’,Text3:'{“text”:””,”extra”:[{“selector”:”@p”}],”underlined”:true}’} replace Title with mc username: /title @p title [{“text”:”You are “,”color”:”red”},{“selector”:”@p”,”color”:”gold”,”bold”:”true”},{“text”:”!”,”color”:”gold”,”bold”:”true”}] ********************************************************************** Thank you to my tier 2 and tier 3 members! DeSmikkelaar – https://youtu.be/o-pWI4T_6Lc ********************************************************************** 👕Buy My Mug or Merch 🡆 https://teespring.com/stores/maxstuff 🧡Become a member 🡆 https://www.youtube.com/c/MaxStuff/join 👍Subscribe to my channel 🡆 http://www.youtube.com/c/MaxStuff?sub_confirmation=1 ********************************************************************** 💻Youtube 🡆 https://www.youtube.com/c/MaxStuff 📊 Second Channel 🡆 https://www.youtube.com/c/MaxDataYT 🔷Twitter 🡆 https://twitter.com/Mario_Hierio 🧡Reddit 🡆 https://www.reddit.com/r/MaxStuffSubmissions/ ********************************************************************** #minecraft #username #commands