how to prevent the commandblock from saying [@] [duplicate]
I am trying to make it look like someone is saying something for a map for a friend, but whenever I do the /say command and use it, it would say something like: EX: [@] Julie > You are doing it wrong. I want it to say : Julie > You are doing it wrong. I have tried both commandBlockOutput and sendCommandFeedback, but nothing has worked. Please tell me if you know what to do!
Thank you in advance.
Best Answer
There are 2 ways you can change that:
Anvil Method
You can rename the command block in an anvil to change what is used as it's "username". For example, put the command block in an anvil and set the name to 'Julie' and then use this command:
/say You are doing it wrong.
Shows this in chat:
[Julie] You are doing it wrong.
Just note that /say has brackets instead of angle brackets (<Julie>) and doesn't respect chat manager plugin settings.
/tellraw Method
There is a command called /tellraw which you can use to send completely custom messages. Here is the usage:
/tellraw <player selector> <JSON message data>
A very simple example is:
/tellraw @a "<Julie> You are doing it wrong."
These messages can be formatted, but that is beyond the scope of this answer.
Pictures about "how to prevent the commandblock from saying [@] [duplicate]"
![how to prevent the commandblock from saying [@] [duplicate] - Top view of many clean single use light blue surgical protective face mask lying on top of each other in disorder how to prevent the commandblock from saying [@] [duplicate] - Top view of many clean single use light blue surgical protective face mask lying on top of each other in disorder](/assets/images/how_to_prevent_the_commandblock_from_saying__duplicate_1.jpeg)
![how to prevent the commandblock from saying [@] [duplicate] - Top view of silicone menstrual cup with red beads scattered on pink surface how to prevent the commandblock from saying [@] [duplicate] - Top view of silicone menstrual cup with red beads scattered on pink surface](/assets/images/how_to_prevent_the_commandblock_from_saying__duplicate_2.jpeg)
![how to prevent the commandblock from saying [@] [duplicate] - From above arrangement of red heart shapes placed on blue background with THANK YOU NURSES inscription how to prevent the commandblock from saying [@] [duplicate] - From above arrangement of red heart shapes placed on blue background with THANK YOU NURSES inscription](/assets/images/how_to_prevent_the_commandblock_from_saying__duplicate_3.jpeg)
Minecraft Bedrock - How To STOP Command Block CHAT ENTIRELY! - PS4, MCPE, Xbox, Windows \u0026 Switch
More answers regarding how to prevent the commandblock from saying [@] [duplicate]
Answer 2
/say always displays the name of the announcer. You will want to use /tellraw instead, which allows you direct control over the message and formatting using a JSON object:
/tellraw @a {"text":"Julie > You are doing it wrong.","color":"red"}
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Karolina Grabowska, Polina Kovaleva, Karolina Grabowska
