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

BetterHealthBar text formatting doesn't work #11

Open
Chronoken opened this issue Jan 25, 2025 · 0 comments
Open

BetterHealthBar text formatting doesn't work #11

Chronoken opened this issue Jan 25, 2025 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@Chronoken
Copy link
Contributor

BetterHealthBar3 doesn't support colors/minimessage formatting for the displayed text

Image

Layout config:

default_layout:
    images:
        1:
            image: empty
        2:
            image: first
            listener:
                class: health_before
        3:
            image: red
            listener:
                class: health
            conditions:
                1:
                    first: health_percentage
                    second: 0.33
                    operation: "<"
        4:
            image: yellow
            listener:
                class: health
            conditions:
                1:
                    first: health_percentage
                    second: 0.33
                    operation: ">="
                2:
                    first: health_percentage
                    second: 0.66
                    operation: "<"
        5:
            image: green
            listener:
                class: health
            conditions:
                1:
                    first: health_percentage
                    second: 0.66
                    operation: ">="
    texts:
        1:
            text: default_text
            pattern: "<#FF524F>0.0&2test<color:#000000>test"
            number-format: "#"
            outline: false
            color: dark_green
            scale: 1
            x: 0
            y: 20
            align: center

Versions:

  • Paper 1.21.4 build 121
  • BetterHealthBar 3.8.1
  • BetterHud 1.11.4
@Chronoken Chronoken added bug Something isn't working question Further information is requested labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants