public void reload(){
		if(loadedplugins.size()!= 0)
			 for(Plugin pi:loadedplugins){
				 try{
				    pi.onDisable();
				 }catch(NullPointerException e){
				 }
				  }
		 File[] files = new File(readInstallLocation()+"\\plugins").listFiles();
		  for(File f:files){
			  if(f.getName().endsWith(".jar")){
		    loadPlugin(f);
			  }
		  }
		  for(Plugin pi:loadedplugins){
			  System.out.println("Plugin loaded!");
			    pi.setPluginManager(this);
		    pi.onEnable();
		  }
	}