NametagEdit

721k Downloads

Listen scoreboard team join?

Opened this issue ยท 4 comments

commented

Hello, I have a question: Is it possible for the NametagEdit plugin to listen when a player is joining a new team (with default color blank), in order to apply the nametag again just after joining a new team? So players do not have to disconnect and reconnect?

A lot of plugin are using the scoreboard feature, and it brokes the colors. If it's possible, it would be a great solution that would work with all plugins!

Thank you very much (and sorry for my bad english)

commented

For example, ChangeSkin is putting you on a new team when we change our skin, we have to do /ne clear player to reset his skin. I was wondering if this was possible that every time a player is put on a team (with no color), a "/ne clear player" could be executed.
But I understand that this is not a NametagEdit issue. I will find a way to do /ne clear player when it is necessary ^^

commented

I am not sure what you mean. We have a NametagChangeEvent for developers. What plugins are you using that are incompatible?

commented

Hello again. Very sorry I forgot to reply! There is no way to tell with the default Bukkit API. However, you CAN use ProtocolLib to listen for the team packet... however there's no way to distinguish illegitimate (non NametagEdit) packets from others in different plugins.

We are unable to fix this.

commented

Okay thank you for explainations, I found a way to manually execute a /ne clear when a player is putting on a team (with a command block for example) so no problem and thank you again :)