Interface BedWars


public interface BedWars
  • Method Details

    • getStatsUtil

      BedWars.IStats getStatsUtil()
      Get stats utils.
    • getAFKUtil

      BedWars.AFKUtil getAFKUtil()
      Get afk system methods. It will only work if the game is started.
    • getArenaUtil

      BedWars.ArenaUtil getArenaUtil()
    • getConfigs

      BedWars.Configs getConfigs()
    • getShopUtil

      BedWars.ShopUtil getShopUtil()
      Get shop util.
    • getTeamUpgradesUtil

      BedWars.TeamUpgradesUtil getTeamUpgradesUtil()
      Get shop util.
    • getLevelsUtil

      Level getLevelsUtil()
      Get levels methods.
    • getPartyUtil

      Party getPartyUtil()
      Get party util.
    • getSetupSession

      ISetupSession getSetupSession(UUID player)
      Get active setup session.
      Parameters:
      player - player uuid.
      Returns:
      null if no session was found.
    • isInSetupSession

      boolean isInSetupSession(UUID player)
      Check if a player is in setup session.
    • getServerType

      ServerType getServerType()
      Get server type.
    • getLangIso

      String getLangIso(org.bukkit.entity.Player p)
      Get a player language iso code
    • getBedWarsCommand

      ParentCommand getBedWarsCommand()
      Get bedWars main command
    • getRestoreAdapter

      RestoreAdapter getRestoreAdapter()
      Get the restore adapter.
    • setRestoreAdapter

      void setRestoreAdapter(RestoreAdapter restoreAdapter) throws IllegalAccessError
      Change the arena restore adapter.
      Parameters:
      restoreAdapter - your custom adapter.
      Throws:
      IllegalAccessError
    • setPartyAdapter

      void setPartyAdapter(Party partyAdapter)
      Change the party interface. You man need to unregister /party command yourself.
    • getVersionSupport

      VersionSupport getVersionSupport()
      Get nms operations.
    • getDefaultLang

      Language getDefaultLang()
      Get server default language.
    • getLobbyWorld

      String getLobbyWorld()
      Get lobby world name.
    • getForCurrentVersion

      String getForCurrentVersion(String v18, String v12, String v13)
    • setLevelAdapter

      void setLevelAdapter(Level level)
    • isAutoScale

      boolean isAutoScale()
    • getLanguageByIso

      Language getLanguageByIso(String isoCode)
      Get language by iso code.
    • getPlayerLanguage

      Language getPlayerLanguage(org.bukkit.entity.Player player)
      Get a player language.
    • getAddonsPath

      File getAddonsPath()
      This is my standard location where to store addons configurations. Make sure to create a folder in it with your addon name.
    • getScoreboardUtil

      BedWars.ScoreboardUtil getScoreboardUtil()
      Scoreboard options.
    • isShuttingDown

      boolean isShuttingDown()
    • getScoreboardManager

      ISidebarService getScoreboardManager()