Skip to main content

Module scoreboard

Module scoreboard 

Source
Expand description

Domain-scoped command scoreboard state.

This module owns the scoreboard data needed by selectors and command execution: objective identity and mutability, score values and locks, and team membership. Display slots and client presentation are outside this command-system scope.

Structsยง

DomainScoreboards
Loaded command scoreboards keyed by Steel domain.
ObjectiveState ๐Ÿ”’
PersistentScoreboard ๐Ÿ”’
ScoreHolder
Score holder name stored by the vanilla scoreboard.
Scoreboard
Command-facing scoreboard for one Steel domain.
ScoreboardObjective
Objective identity resolved from one domain scoreboard.
ScoreboardSaveSnapshot ๐Ÿ”’
ScoreboardScore
Stored score fields used by command execution.
ScoreboardTeam
Team identity resolved from one domain scoreboard.

Enumsยง

ScoreboardError
Invalid scoreboard operation or persisted state.

Functionsยง

default_score_locked ๐Ÿ”’
domain_default_world ๐Ÿ”’
ensure_holder_name ๐Ÿ”’
ensure_objective_exists ๐Ÿ”’
ensure_objective_name ๐Ÿ”’
ensure_team_name ๐Ÿ”’
ensure_writable_objective ๐Ÿ”’
scoreboard_io_error ๐Ÿ”’
validate_persistent_scoreboard ๐Ÿ”’