sp614x / optifine

1.79k stars 418 forks source link

Add option to toggle the red sidebar/scoreboard numbers #1862

Open Technerder opened 5 years ago

Technerder commented 5 years ago

Adding an option to toggle the red scoreboard numbers could make the game look more aesthetically pleasing because not all servers use it to display integer values but to just simply display text on the players sidebar, hence why other minecraft clients already have the option to toggle it already. There are two lines in GuiInGame which render the scoreboard on the sidebar and it would be extremely simple to toggle it.

The red numbers

sp614x commented 5 years ago

Like this?

image

Technerder commented 5 years ago

Precisely.

Technerder commented 5 years ago

For all optifine versions including 1.7.10

Regnander commented 5 years ago

I really like this idea, but It sounds excessive to expect the user to enable this option whenever the scoreboard is used to format text and disable it when the scoreboard numbers are used as intended.

Technerder commented 5 years ago

I don't think its excessive. But if you really do you could just make the the scoreboard numbers be visible by default, then the people who wouldn't like to see the scores (Which a small amount of servers actually make use of) would just disable the numbers.

Regnander commented 5 years ago

What I was trying to say was that players who use scoreboards on their own and regularly visit servers will have to keep toggling this option to remain satisfied.

If we can figure out a way to make the client distinguish between when the scoreboard numbers are used for text formatting or score counting, this won't be an issue.

Technerder commented 5 years ago

Per server settings could be implemented but I feel like that would be overkill.

nathanfranke commented 3 years ago

What I was trying to say was that players who use scoreboards on their own and regularly visit servers will have to keep toggling this option to remain satisfied.

They could just not use the option at all and be just as satisfied as they were before this feature will have been implemented.

If we can figure out a way to make the client distinguish between when the scoreboard numbers are used for text formatting or score counting, this won't be an issue.

Possibly negative numbers, since those are (almost?) never used in traditional scoreboards. I've seen many scoreboards use them to sort lines like (-1, -2, -3, ...)

Also, not sure if this is within the scope of OptiFine, but it should be possible to make a custom packet that server owners could use to hide the numbers for OptiFine users.