BungeeTabListPlus icon indicating copy to clipboard operation
BungeeTabListPlus copied to clipboard

Nametags can't be hidden

Open amadeusmz opened this issue 5 years ago • 14 comments

I tried to hide a player's nametag by using team.setOption(Option.NAME_TAG_VISIBILITY, OptionStatus.NEVER); but their nametag still be shown when BungeeTabListPlus 3.0.x is installed. This bug did not happen with BungeeTabListPlus 2.8.12

amadeusmz avatar Feb 01 '20 05:02 amadeusmz

What is the size of the tab list. Is it using 80 slots or less? Which version of the minecraft client are you using?

CodeCrafter47 avatar Feb 01 '20 08:02 CodeCrafter47

The tablist size is 80, version is 1.12.2 (client & server) and I think it happens to all client version Correction: the nametag is actually hidden but is shown again after a moment for some reason I will record a video soon

amadeusmz avatar Feb 01 '20 08:02 amadeusmz

Can you check if the latest dev-build fixes the issue?

CodeCrafter47 avatar Mar 08 '20 16:03 CodeCrafter47

No, somehow their nametag is show again and the prefix, suffix is lost https://i.imgur.com/vkPc4hU.png How I render the nametags: Every player has their own scoreboard and every scoreboard contains all players in the match as teams, every player is a team in every scoreboard

amadeusmz avatar Mar 09 '20 17:03 amadeusmz

I just discovered that this issue is caused by GlowAPI (https://www.spigotmc.org/resources/api-glowapi.19422/), I'm using version 1.4.6 because 1.4.7+ only support MC 1.13+ When I make player A to be glowing to player B using GlowAPI, A's nametag will be shown to B, without suffix and prefix.

amadeusmz avatar Mar 14 '20 18:03 amadeusmz

So this issue can be closed then?

CodeCrafter47 avatar Mar 16 '20 08:03 CodeCrafter47

I really hope you can fix this as this issue doesn't happen with older version of BungeeTabListPlus If not, please close this issue

amadeusmz avatar Mar 18 '20 03:03 amadeusmz

So you are saying when using GlowAPI, but not BungeeTabListPlus, then there is no issue?

CodeCrafter47 avatar Mar 18 '20 08:03 CodeCrafter47

Yes, also BungeeTabListPlus version 2.8.12 and earlier doesn't have this issue

amadeusmz avatar Mar 18 '20 09:03 amadeusmz

I'm not asking about older versions, I'm asking if the issue is present without BungeeTabListPlus.

CodeCrafter47 avatar Mar 18 '20 09:03 CodeCrafter47

There is no such issue without BungeeTabListPlus

amadeusmz avatar Mar 18 '20 09:03 amadeusmz

Can you make a small test plugin that can trigger the issue?

CodeCrafter47 avatar Mar 18 '20 09:03 CodeCrafter47

Sorry for late reply, I'm afraid to make a test plugin because it's a bit complicated, I will make it when I have time.

amadeusmz avatar Mar 23 '20 09:03 amadeusmz

When testing last week I made a small plugin to use GlowAPI with commands:

        getCommand("glow").setExecutor((sender, command, label, args) -> {

                    //Set the event's player glowing in DARK_AQUA for all online players
                    GlowAPI.setGlowing(((Player) sender), GlowAPI.Color.DARK_AQUA, Bukkit.getOnlinePlayers());
                    return true;
        });
        getCommand("unglow").setExecutor((sender, command, label, args) -> {
            GlowAPI.setGlowing(((Player) sender), GlowAPI.Color.NONE, Bukkit.getOnlinePlayers());
            return true;
        });

Then I used Minecrafts builtin scoreboard command to modify the players team. It appeared as though the commands were just undoing the others effect. I could not find any difference between using BTLP and not using it.

CodeCrafter47 avatar Mar 25 '20 08:03 CodeCrafter47