Interface ScoreboardModule

All Superinterfaces:
ModuleLocalization, ModuleSimple

public interface ScoreboardModule extends ModuleLocalization
Draws the scoreboard shown at the side of the screen.
  • Method Details

    • config

      Description copied from interface: ModuleSimple
      The config section this module reads its settings from.
      Specified by:
      config in interface ModuleSimple
      Returns:
      the settings
    • permission

      Description copied from interface: ModuleSimple
      The permission that gates this module.
      Specified by:
      permission in interface ModuleSimple
      Returns:
      the permission
    • localization

      Description copied from interface: ModuleLocalization
      The localization section for a player, picked from their chosen language.
      Specified by:
      localization in interface ModuleLocalization
      Parameters:
      fPlayer - the player the text is for
      Returns:
      the localization settings
    • createOrUpdate

      void createOrUpdate(@NonNull FPlayer fPlayer)
      Shows the scoreboard to a player, or refreshes the one they already have.
      Parameters:
      fPlayer - the player
    • remove

      void remove(@NonNull FPlayer fPlayer)
      Takes the scoreboard away from a player.
      Parameters:
      fPlayer - the player