Custom player nametags.... yay

Discussion in 'Plugin Development' started by NilusNilus, Jul 8, 2021.

Thread Status:
Not open for further replies.
  1. Offline


    Soooo, 1.17 came out, I thought lets make a nice plugin for my smp. So i made one and kinda started on a permissions plugin project, and now i have my permissions and all set up but i want to change the player nametags to for example [OWNER] <player> without using teams... btw in 1.17.

    the thing is i spent all dat trying and searching a way to change player nametags without using teams but haven't found anything, so I am asking the community if they have any better ideas which work in 1.17
  2. Offline


    You can use Player#setPlayerListName(String name) to set the display name when a player presses the tab button, and AsyncPlayerChatEvent#setFormat(String new_format) to set what the rank looks like in chat. Note that you'll have to get rid of any other plugin that uses or alters player scoreboards, because that will undo the tab list names.
Thread Status:
Not open for further replies.

Share This Page