public boolean isPlayerIn(Player player)
	{
		Location whereishe = player.getLocation();
		//player.sendMessage("testing you in "+whereishe.getWorld().getName());
		
		
		if(whereishe.getWorld().getName().equals(props.get("world")))
		{
			//init.log.info(sx+"/"+ex+" "+sy+"/"+ey+" "+sz+"/"+ez);
			if(whereishe.getX() >= Math.min((flags.get("sx")),(flags.get("ex"))) && whereishe.getX() <= Math.max((flags.get("sx")),(flags.get("ex"))))
			{
				//init.log.info("X ok");
				if(whereishe.getY() >= Math.min((flags.get("sy")),(flags.get("ey"))) && whereishe.getY() <= Math.max((flags.get("sy")),(flags.get("ey"))))
				{
					//init.log.info("Y ok");
					if(whereishe.getZ() >= Math.min((flags.get("sz")),(flags.get("ez"))) && whereishe.getZ() <= Math.max((flags.get("sz")),(flags.get("ez"))))
					{
						//init.log.info("nice your done");
								return true;

					}
				}
			}
		}
		//return false;
		return false;
		
	}