Skip to content

feat: add the scoreboard to the plugin api - #14

Merged
NaySurGithub merged 1 commit into
mainfrom
feat/scoreboard
Nov 14, 2026
Merged

NaySurGithub merged 1 commit into
mainfrom
feat/scoreboard

Conversation

@NaySurGithub

Copy link
Copy Markdown
Contributor

Batch 2 of the plugin API additions.

Depends on the batch 1 PR (#13); merge that one first. The base branch is the batch 1 branch so the diff only shows this batch.

What it adds

  • Objectives (dummy criteria): scoreboardAddObjective, scoreboardRemoveObjective, scoreboardObjectiveCount/Name, scoreboardObjectiveDisplayName.
  • Scores of entities and players (scoreboard{,Set,Reset}EntityScore) and of fake players by name (scoreboard{,Set,Reset}FakePlayerScore), and the scores of an objective in join order (scoreboardScoreCount, scoreboardScoreAt, scoreboardScoreEntity).
  • Display slots: scoreboardSetDisplay (sidebar, list, below name; ascending or descending; a null objective clears) and scoreboardDisplayObjective.
  • C++ falcon::Scoreboard, Java server().scoreboard(), Wasm scoreboard interface, README section; the examples show visits in the list slot.

All functions are appended at the end of FalconServerApi (API 1.0.6, bumped by batch 1).

Checks

CI of the batch 6 branch (feat/world), which contains this one: Linux, Windows (MSVC and MinGW), .NET and Java jobs green; the macOS jobs were cancelled by the runner, as on main.

@NaySurGithub
NaySurGithub changed the base branch from feat/effects-attributes-sounds to main November 14, 2026 20:22
@NaySurGithub
NaySurGithub merged commit 475ec49 into main Nov 14, 2026
7 of 10 checks passed
@NaySurGithub
NaySurGithub deleted the feat/scoreboard branch November 14, 2026 20:37
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