Interface ISidebarService


public interface ISidebarService
BedWars scoreboard manager.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable ISidebar
    getSidebar(@NotNull org.bukkit.entity.Player player)
     
    void
    giveSidebar(@NotNull org.bukkit.entity.Player player, @Nullable IArena arena, boolean delay)
    Send player scoreboard based on conditions.
    void
    Refresh player healths.
    void
    Refresh placeholders on all sidebars.
    void
    Refresh placeholders for sidebars in a given arena;
    void
    Refresh all tab-list header and footer strings for every sidebar.
    void
    Refresh title on all scoreboards.
    void
    remove(@NotNull org.bukkit.entity.Player player)
    Remove a player scoreboard.
  • Method Details

    • giveSidebar

      void giveSidebar(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable IArena arena, boolean delay)
      Send player scoreboard based on conditions.
    • remove

      void remove(@NotNull @NotNull org.bukkit.entity.Player player)
      Remove a player scoreboard.
    • refreshTitles

      void refreshTitles()
      Refresh title on all scoreboards.
    • refreshPlaceholders

      void refreshPlaceholders()
      Refresh placeholders on all sidebars.
    • refreshPlaceholders

      void refreshPlaceholders(IArena arena)
      Refresh placeholders for sidebars in a given arena;
    • refreshTabList

      void refreshTabList()
      Refresh all tab-list header and footer strings for every sidebar.
    • refreshHealth

      void refreshHealth()
      Refresh player healths.
    • getSidebar

      @Nullable @Nullable ISidebar getSidebar(@NotNull @NotNull org.bukkit.entity.Player player)