Interface ScoreboardAdapter
- All Known Subinterfaces:
DuelScoreboardAdapter
,SpectatorScoreboardAdapter
public interface ScoreboardAdapter
-
Method Summary
-
Method Details
-
show
Displays the scoreboard to the specified player.This method should be implemented to show the appropriate scoreboard for the player, based on the given arguments.
- Parameters:
player
- The player to display the scoreboard to.args
- Additional arguments that can be used to customize the scoreboard display.
-
hide
void hide(@NotNull @NotNull org.bukkit.entity.Player player) Hides the scoreboard from the specified player.This method should be implemented to remove or hide the scoreboard for the player.
- Parameters:
player
- The player to hide the scoreboard from.
-