In case any building or structure, including fixtures, is constructed, reconstructed, altered, repaired, converted, or maintained, or any building or structure, including fixtures, or land, is used in violation of an ordinance or ordinances adopted under Division 13, 31 or 31.1 of the Illinois Municipal Code, or of any ordinance or other regulation made under the authority conferred thereby, the proper local authorities of the municipality, or any owner or tenant of real property, within 1200 feet in any direction of the property on which the building or structure in question is located who shows that his property or person will be substantially affected by the alleged violation, in addition to other remedies, may institute any appropriate action or proceeding (1) to prevent the unlawful construction, reconstruction, alteration, repair, conversion, maintenance, or use, (2) to prevent the occupancy of the building, structure, or land, (3) to prevent any illegal act, conduct, business, or use in or about the premises, or (4) to restrain, correct, or abate the violation. When any such action is instituted by an owner or tenant, notice of such action shall be served upon the municipality at the time suit is begun, by serving a copy of the complaint on the chief executive officer of the municipality, no such action may be maintained until such notice has been given.
In any action or proceeding for a purpose mentioned in this section, the court with jurisdiction of such action or proceeding has the power and in its discretion may issue a restraining order, or a preliminary injunction, as well as a permanent injunction, upon such terms and under such conditions as will do justice and enforce the purposes set forth above.
If an owner or tenant files suit hereunder and the court finds that the defendant has engaged in any of the foregoing prohibited activities, then the court shall allow the plaintiff a reasonable sum of money for the services of the plaintiff's attorney. This allowance shall be a part of the costs of the litigation assessed against the defendant, and may be recovered as such.
An owner or tenant need not prove any specific, special or unique damages to himself or his property or any adverse effect upon his property from the alleged violation in order to maintain a suit under the foregoing provisions.
Except in relation to municipality-owned property, this Section does not authorize any suit against a municipality or its officials for any act relating to the administration, enforcement, or implementation of this Division or any ordinance, resolution, or other regulation adopted pursuant to this Division.
65 ILCS 5/11-13-15