public void giveIntervalReward(Player p, int breaks) {
		
		if (intervalRewards == null || intervalRewards.isEmpty()) {
			return;
		}
		
		for (Reward r : intervalRewards.values()) {
			if (breaks % r.getBlocksNeeded() == 0) {
							
				if (r.getCommands() == null || r.getCommands().isEmpty()) {
					return;
				}
				
				for (String cmd : r.getCommands()) {
					
					String f = cmd.replace("%player%", p.getName()).replace("%blocksbroken%", breaks+"");
					
					if (cmd.startsWith("ezmsg ")) {
						p.sendMessage(ChatColor.translateAlternateColorCodes('&', f.replace("ezmsg ", "")));
					}
					else if (cmd.startsWith("ezbroadcast ")) {
						Bukkit.broadcastMessage(ChatColor.translateAlternateColorCodes('&', f.replace("ezbroadcast ", "")));
					}
					else {
						Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), f);
					}
					
				}
			}
		}		
	}