Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obfuscating color tag in tab name will break some stuff #6

Open
aescraftbr opened this issue Sep 13, 2019 · 1 comment
Open

Obfuscating color tag in tab name will break some stuff #6

aescraftbr opened this issue Sep 13, 2019 · 1 comment

Comments

@aescraftbr
Copy link

aescraftbr commented Sep 13, 2019

I could tell you the story on how I found this, but i'll cut it down to the issue:

When you set your tab name to have the &k (obfuscated color code) it will mess with some stuff.
This is what I recall, but maybe more stuff will break:

  • If a player uses tabcomplete and select your nickname, it will use the special characters, thus if you have a plugin that prevents it (I don't know if vanilla mc would also kick), the player will be kicked for using special characters.
  • If you do a "loop players", you won't get detected.

The loop player part is easy to test:

on join:
  set name of tab of player to "&c&k%player%"

command /testloop:
  trigger:
    loop all players in radius 10 of event-location:
      broadcast "woops"

The broadcast won't happen if you have the tab name with "&k".

@aescraftbr
Copy link
Author

Skript version 2.4-beta7
Paper version git-Paper-187 (MC: 1.14.4)
ProtocolLib version 4.5.0-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant