1

This question already has an answer here:

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.

marked as duplicate by Virusbomb, Gigazelle, arghtype, Schism, MBraedley Aug 11 '18 at 17:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

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.

1

/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"}

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