Add change to common chat

Hello, i want change nickname and range in common chat ( when press t) how i can do it in code ?

Not sure what you mean by range?

As for Nickname its the following

player.offer(Keys.DISPLAY_NAME, <NAME VALUE HERE);
1 Like

thank you, range - distance (or area) where chat is visible. Sorry for my English

To change the range, you can listen for MessageChannelEvent.Chat and call setChannel() to change who gets the message.