Skip to content

BetterHealthBar text formatting doesn't work #11

Description

@Chronoken

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions