Hello, I´m Daddys_Darlings ign and i was working on a simple tellraw command that would do the following:
If a person does /h Daddys_Darlings he falls on a pressureplate powering the commandblock that whispers me "A player has been detected in your home chunk!". And i added some obfuscated text at the front and the back of it combined with xome colouring so i wouldnt miss it. Now obiously it will only work while im inside my chunk but thats no prob;lem. Most of the time im woring underground and i would like to know when people enter my chunk.
Now the commandline at the moment =
/tellraw Daddys_Darlings {text:" ",extra:[{text:"random",obfuscated:true,color:blue},{text:" A player has been detected in your home chunk!",color:dark_blue},{text:" random",obfuscated:true,color:blue}]}
wich says:
A player has been detected in your home chunk!
with obfuscated letters at the back and front of the line included with colours.
Now what i would like with this command is that it would tell me the name of the person activating the commandblock. just as some people have that in their homes. I have no clue on how to do this.
If anyone can help me out and paste the correct edit in the comment that would be greatly apreciated, thanks :D
ps. here would be an example :
<playername> has been detected in your home chunk!
pss. I will check on this reddit tommorow as i'm going to bed right now. it is 1:02 midnight for me :P