Matt-MX / DisplayNameTags

Replace boring old nametags with Display Entities!
MIT License
26 stars 1 forks source link

Transparency Doesn't Seem to Work Correctly #4

Closed Sixsoul closed 2 months ago

Sixsoul commented 2 months ago

First thanks for this plugin! Great alternative now that TAB is removing their nametag feature.

I can't seem to make transparent background work properly, it seems to randomly flip between being transparent and just being the standard gray background.

Here is my config for reference:

# Should the player see their own tag?
show-self: true

sneak:
  # Should we modify the opacity of the tag's background when the player shifts?
  enabled: true
  opacity: 70

defaults:
  # If not enabled then plugin simulates vanilla name tags
  enabled: true
  text:
    - "<white>%luckperms_prefix%%player_name%</white>"
    - "<blue>Level %mmocore_level%</blue>"
  background: transparent
  billboard: center
  shadow: true
  range: 32
  gap: 0.2

groups:
  # e.g nametags.groups.vip
  default:
    background: transparent
  # mvp:
  #   background: green
  # staff:
  #   background: red

I am on paper 1.20.4

Matt-MX commented 2 months ago

Hey thanks dude, I'll take a look at this when I get a chance (Likely tomorrow).

Are you able to provide a clip to show the behaviour?

Also can you see what happens if you remove the default section under the groups configuration?

Matt-MX commented 2 months ago

I'm able to recreate it, looks like it's not sending the meta in the packet, I'll look further later on!

Matt-MX commented 2 months ago

Was actually an easy fix, I'll create a release soon, but for now there should be one in the Actions tab (after i PR it)

https://github.com/Matt-MX/DisplayNameTags/actions/runs/10961482749

Sixsoul commented 2 months ago

Was actually an easy fix, I'll create a release soon, but for now there should be one in the Actions tab (after i PR it)

https://github.com/Matt-MX/DisplayNameTags/actions/runs/10961482749

Awesome thanks! New build works perfectly. Appreciate you.