Skip to content

fix: improved scoreboard API - #25

Open
RoosterBooster007 wants to merge 1 commit into
Pumpkin-MC:masterfrom
RoosterBooster007:fix/improved-scoreboard-API
Open

fix: improved scoreboard API#25
RoosterBooster007 wants to merge 1 commit into
Pumpkin-MC:masterfrom
RoosterBooster007:fix/improved-scoreboard-API

Conversation

@RoosterBooster007

@RoosterBooster007 RoosterBooster007 commented Jul 31, 2026

Copy link
Copy Markdown

Expand the scoreboard WIT interface with read-only queries and
a proper criteria parameter:

  • Add criteria argument to add-objective so plugins can create
    objectives with criteria other than "dummy" (e.g. health, trigger).
  • Add read-only info records (objective-info, score-info,
    team-info) so plugins can inspect state without mutating it.
  • Add objective queries: get-objective, get-objectives,
    get-objectives-by-criteria.
  • Add display-slot helpers: get-display-slot, clear-slot.
  • Add score queries/management: get-scores, reset-scores,
    get-tracked-entries.
  • Add team queries: get-team, get-teams, get-entry-team.

Link to my main scoreboard PR depending on this

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant