Commands
Base aliases: /leaderboard, /classements, /classement, /baltop.
Command | Permission | Description |
|---|---|---|
|
| Opens the |
|
| Overwrites a player's score on a leaderboard. |
|
| Reloads |
The class-level @CommandPermission("leaderboards.command") on LeaderboardCommand applies to every subcommand; the per-subcommand permissions below are additive.
/leaderboard
Player-only. Opens the leaderboards-list menu with an entries context populated from configuration().leaderboards().values() — every leaderboard declared in config.yml, unfiltered.
/leaderboard set <player> <leaderboardId> <value>
Permission: leaderboards.set.
<player>— resolved to aMinecraftPlayer(network-aware; works for offline players).<leaderboardId>— tab-completed fromconfiguration().ids().<value>— adouble, the new absolute score.
Sends an UpdatePlayerEntryPacket to the master node with the leaderboard's configured sort direction (defaults to DESC if the id isn't in config.yml). The master overwrites the player's value in every current period bucket (all-time, weekly, monthly) — this is not an increment. Success/failure is only logged server-side (getSLF4JLogger()); there is no in-game feedback message to the executor.
/leaderboard reload
Permission: leaderboards.reload. Calls AstralLeaderboards.loadConfiguration() — re-reads config.yml and reloads the menu container. Errors are logged, not shown to the sender.
Permission summary
Node | Grants |
|---|---|
| Base access to |
|
|
|
|
| Exempts a player from the built-in block/kill/fish trackers (see Developer API). Not a command permission — checked directly in |