Interface BedWars


public interface BedWars
  • Method Details Link icon

    • getStatsUtil Link icon

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

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

      BedWars.ArenaUtil getArenaUtil()
    • getConfigs Link icon

      BedWars.Configs getConfigs()
    • getShopUtil Link icon

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

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

      Level getLevelsUtil()
      Get levels methods.
    • getPartyUtil Link icon

      Party getPartyUtil()
      Get party util.
    • getSetupSession Link icon

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

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

      ServerType getServerType()
      Get server type.
    • getLangIso Link icon

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

      ParentCommand getBedWarsCommand()
      Get bedWars main command
    • getRestoreAdapter Link icon

      RestoreAdapter getRestoreAdapter()
      Get the restore adapter.
    • setRestoreAdapter Link icon

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

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

      VersionSupport getVersionSupport()
      Get nms operations.
    • getDefaultLang Link icon

      Language getDefaultLang()
      Get server default language.
    • getLobbyWorld Link icon

      String getLobbyWorld()
      Get lobby world name.
    • getForCurrentVersion Link icon

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

      void setLevelAdapter(Level level)
    • isAutoScale Link icon

      boolean isAutoScale()
    • getLanguageByIso Link icon

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

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

      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 Link icon

      BedWars.ScoreboardUtil getScoreboardUtil()
      Scoreboard options.
    • isShuttingDown Link icon

      boolean isShuttingDown()
    • getScoreboardManager Link icon

      ISidebarService getScoreboardManager()