@Override
	public void run() {
		
		switch(state)
		{
		case COUNTDOWN:
			obj.setDisplaySlot(DisplaySlot.SIDEBAR);
			System.out.println("Count Down: " + ChatColor.DARK_AQUA+secondsToMinutes(counter));
			obj.setDisplayName(ChatColor.DARK_AQUA+secondsToMinutes(counter));
			if(arena.getNumberOfPlayers()==0)
			{
				arena.getGameLogic().setTask(Task.TERMINAL);
				arena.setStatus(Status.EMPTY);
				return;
			}
			if(counter==0)
			{
				counter = countDown+1;
				state = State.TIMER;
				task = Bukkit.getScheduler().runTaskLater(plugin, arena.getGameLogic(), 1);
			}
			for(String name : arena.getPlayersOut())
			{
				arena.forcePutIn(Bukkit.getPlayer(name));
			}
			counter--;
			task = Bukkit.getScheduler().runTaskLater(plugin, this, 20L);
			break;
		case TIMER:
			obj.setDisplaySlot(DisplaySlot.SIDEBAR);
			timeLeft--;
			if(timeLeft<0)
				timeLeft=0;
			obj.setDisplayName(secondsToMinutes(timeLeft));
			System.out.println("Timer: " + secondsToMinutes(timeLeft));
			task = Bukkit.getScheduler().runTaskLater(plugin, this, 20L);
			break;
		default:
			break;
		
		}

		
	}