Skip to content

ScoreComponent are never displayed #3886

@Outfluencer

Description

@Outfluencer

Bungeecord version

latest

Server version

Client version

1.21.8

Bungeecord plugins

none

The bug

It seems like the ScoreComponent is never resolved by the client.

I have created an objective with the players health as criteria named "lol"

but if i send this, no number is displayed.

TextComponent test = new TextComponent( "Score: " );
test.addExtra(new ScoreComponent("Outfluencer", "lol"));
con.sendMessage(test);
Image

If i. for example, run this command: /tellraw @a {"score":{"name":"*","objective":"lol"}}, it works but the server converts it into a string nbt tag with just the value, so it never send a real ScoreComonent, if the server cannot resolve it it just sends an empty text component

This is what bungee sends to the client (my ingame name is Outfluencer)

{"score":{"name":"Outfluencer","objective":"lol","value":"20"}}

Log output (links)

No response

Checking

  • I am using BungeeCord and not a fork. Issues with forks should not be reported here.
  • I think this is not an issue with a bungeecord plugin.
  • I have not read these checkboxes and therefore I just ticked them all.
  • This is not a question or plugin creation help request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions