I'm trying to make chat prefixes (like so):
Steve (Administrator): Hello
That is in the chat.
In this, Steve is the username and Administrator is the rank. I want to do this without plugins or mods, just commands. Is this possible?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
By default, this is impossible, unless you would use a NBT editor, such NBTexplorer.
This technique uses teams, so you will need to create a team.
/scoreboard teams (for options press tab)
If you want to look at the file/path on NBT Explorer (it's probably compatable with other programs):
saves\custom world name here\scoreboard.dat\teams\X entries\Prefix
now edit Prefix. This is what you want
If you want color codes, visit the official wiki:
Would be (when Owner is bold yellow, the rest is plain white)
You can't change the user's name.
The chat is always formatted like as
<pseudo> : message (excluding CommandBlocks
In order to change it, you NEED to change the program. Even for typing the
§ character (for formating text), you need a third-party program or changing a .class file.