Other remedies. In case any building or structure is erected, constructed, reconstructed, altered, repaired, converted, or maintained or any building, structure or land is used in violation of this chapter or of any ordinance or other regulation made under authority conferred hereby, the Township Supervisors or, with the approval of the Township Supervisors, the Zoning Officer or other proper official, or any aggrieved owner or tenant of real property who shows that his property or person will be substantially affected by the alleged violation, in addition to other remedies, may institute in the name of the Township any appropriate action or proceedings to prevent, restrain, correct or abate such unlawful erection, construction, reconstruction, alteration, repair, conversion, maintenance or use, to restrain, correct, or abate such violation, to prevent the occupancy of said building, structure or land, or to prevent any illegal act, conduct, business or use in or about such premises. When any such action is instituted by a landowner or tenant, notice of that action shall be served upon the municipality at least 30 days prior to the time the action is begun by serving a copy of the complaint on the governing body of the municipality. No such action may be maintained until such notice has been given.