Class SoloArena

java.lang.Object
org.bukkit.scheduler.BukkitRunnable
plugily.projects.buildbattle.arena.impl.BaseArena
plugily.projects.buildbattle.arena.impl.SoloArena
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TeamArena

public class SoloArena
extends BaseArena
Author:
Plajer

Created at 11.01.2019

  • Constructor Details

    • SoloArena

      public SoloArena​(String id, Main plugin)
  • Method Details

    • initPoll

      public void initPoll()
      Initiates voting poll
    • getVotePoll

      public VotePoll getVotePoll()
    • getVoteMenu

      public VoteMenu getVoteMenu()
    • isVoting

      public boolean isVoting()
      Is voting time in game?
      Returns:
      true = voting time, false = no
    • setVoting

      public void setVoting​(boolean voting)
    • getQueue

      @NotNull public @NotNull Queue<org.bukkit.entity.Player> getQueue()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class BaseArena
    • updateBossBar

      public void updateBossBar()
      Overrides:
      updateBossBar in class BaseArena
    • distributePlots

      public void distributePlots()
      Overrides:
      distributePlots in class BaseArena
    • voteRoutine

      public void voteRoutine()
    • formatWinners

      public String formatWinners​(Plot plot, String string)
    • voteForNextPlot

      public void voteForNextPlot()
    • getVotingPlot

      public Plot getVotingPlot()
      Get plot where players are voting currently
      Returns:
      Plot object where players are voting
    • enoughPlayersToContinue

      public boolean enoughPlayersToContinue()
    • giveRewards

      public void giveRewards()
      Overrides:
      giveRewards in class BaseArena
    • isThemeVoteTime

      public boolean isThemeVoteTime()
    • setThemeVoteTime

      public void setThemeVoteTime​(boolean themeVoteTime)
    • isThemeTimerSet

      public boolean isThemeTimerSet()
    • setThemeTimerSet

      public void setThemeTimerSet​(boolean themeTimerSet)