Skip to content

Scoreboard objective-related placeholders always returns with ["Invalid Objective!"] #65

@St1kee

Description

@St1kee

I was planning to use this placeholder for a Playtime TOP sidebar using your Styled Sidebars mod on my fabric server.

Every placeholder I've tried works fine, except the ones related to objectives:

%player:objective [objective]%
%server:objective_name_top [objective] [position]%
%server:objective_score_top [objective] [position]%

My most-likely-to-work attempt looks like this:
"<dark_purple>4»</dark_purple> %server:objective_name_top [hc_playTime] [4]%"

I've tried to replace hc_playTime with other objectives, even ones that I just crated, and all of them return the same result
["Invalid Objective!"]
{557DDA1E-F33C-44DA-873B-02C34F5A2BD9}

Same goes for all other objective-related placeholders.

Also took a look at your code regarding scoreboard objective placeholders, but I couldn't find the issue there...
If this is a syntax issue, the documentation/wiki might need a refresher to be more straight-forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions