Package com.tomkeuper.bedwars.api
Interface BedWars.ScoreboardUtil
- Enclosing interface:
BedWars
public static interface BedWars.ScoreboardUtil
The utility interface for managing scoreboards in BedWars.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
givePlayerScoreboard
(org.bukkit.entity.Player player, boolean delay) Give the player a scoreboard based on the plugin configuration.void
removePlayerScoreboard
(org.bukkit.entity.Player player) Remove the BedWars sidebar from the player's scoreboard.
-
Method Details
-
removePlayerScoreboard
void removePlayerScoreboard(org.bukkit.entity.Player player) Remove the BedWars sidebar from the player's scoreboard.- Parameters:
player
- the player to remove the scoreboard from
-
givePlayerScoreboard
void givePlayerScoreboard(org.bukkit.entity.Player player, boolean delay) Give the player a scoreboard based on the plugin configuration.- Parameters:
player
- the player to give the scoreboard todelay
- true if there should be a 5-second delay, false otherwise
-