Interface ScoreboardService


public interface ScoreboardService
The built-in, YAML-configured scoreboard. When the TAB plugin is present and its scoreboard feature is enabled, YouNeedMe defers to it automatically and this service becomes a no-op to avoid a display conflict - see core's TAB integration.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether YouNeedMe is actively rendering its own scoreboard right now (false while TAB owns the display or while the server environment does not support Bukkit scoreboards).
    boolean
     
    void
     
    void
    setEnabledFor(UUID player, boolean enabled)
     
    void
    toggle(UUID player)
     
  • Method Details

    • isEnabledFor

      boolean isEnabledFor(UUID player)
    • setEnabledFor

      void setEnabledFor(UUID player, boolean enabled)
    • toggle

      void toggle(UUID player)
    • reload

      void reload()
    • isActive

      boolean isActive()
      Whether YouNeedMe is actively rendering its own scoreboard right now (false while TAB owns the display or while the server environment does not support Bukkit scoreboards).