A. 
It shall be unlawful to violate any of the provisions of this chapter or to fail to comply therewith, or to violate or fail to comply with any order made by the Building Inspector, Chief Fire Inspector or any inspector pursuant to this chapter, or to build in violation of any detailed statement of specifications or plans submitted and approved under this chapter, or any permit issued pursuant to this chapter. Violations of this section shall be punishable by a maximum fine of $500. Each day that a violation continues shall be deemed a separate offense.
B. 
Compliance orders.
(1) 
The Building Inspector and Chief Fire Inspector are authorized to order in writing the remedying of any condition or activity found to exist in, on or about any building, structure, or premises in violation of the Uniform Code, the Energy Code, or this chapter. Upon finding that any such condition or activity exists, the Building Inspector or Chief Fire Inspector shall issue a compliance order. The compliance order shall:
(a) 
Be in writing;
(b) 
Be dated and signed by the Building Inspector or Chief Fire Inspector;
(c) 
Specify the condition or activity that violates the Uniform Code, the Energy Code, or this chapter;
(d) 
Specify the provision or provisions of the Uniform Code, the Energy Code, or this chapter which is/are violated by the specified condition or activity;
(e) 
Specify the period of time which the Building Inspector or Chief Fire Inspector deems to be reasonably necessary for achieving compliance;
(f) 
Direct that compliance be achieved within the specified period of time; and
(g) 
State that an action or proceeding to compel compliance may be instituted if compliance is not achieved within the specified period of time.
(2) 
The Building Inspector or Chief Fire Inspector shall cause the Compliance Order, or a copy thereof to be served on the owner of the affected property personally or by registered or certified mail. The Building Inspector or Chief Fire Inspector shall be permitted, but not required, to cause the compliance order, or a copy thereof; to be served on any builder, architect, tenant, contractor, subcontractor, construction superintendent, or their agents, or any other person taking part or assisting in work being performed at the affected property personally or by certified mail, return receipt requested; provided, however, that failure to serve any person mentioned in this sentence shall not affect the efficacy of the compliance order.
C. 
Any person who shall fail to comply with a written order of the Building Inspector or Chief Fire Inspector within the time fixed for compliance therewith, and any owner, builder, architect, tenant, contractor, subcontractor, construction superintendent or their agents, or any other person taking part or assisting in the construction or use of any building or property, who shall knowingly violate any of the applicable provisions of this chapter or any lawful order, notice, directive, permit or certificate of the Building Inspector or Chief Fire Inspector made thereunder, shall be punishable by a fine of not more than $500 or 15 days in jail, or both. Each day that an offense continues shall be deemed to constitute a separate offense.
D. 
Except as provided otherwise by law, an offense under Subsection A or C of this section shall not be a crime, and the penalty or punishment imposed therefor shall not be deemed for any purpose a penal or criminal penalty or punishment and shall not impose any disability upon or affect or impair the credibility as a witness, or otherwise, of any person convicted thereof.
E. 
The Building Inspector, Chief Fire Inspector and any inspectors as may be appointed by the Town Board shall have the authority to issue appearance tickets, under Article 150 of the Criminal Procedure Law of this state, for purposes of enforcement of the Uniform Code, the Energy Code and this chapter.
F. 
In addition to those penalties proscribed by the State Law, any person who violates any provision of the Uniform Code, the Energy Code or this chapter, or any term or condition of any operating permit or other notice or order issued by the Building Inspector or Chief Fire Inspector pursuant to any provision of this chapter shall be liable for a civil penalty of not more than $200 for each day or part thereof during which such violation continues. The civil penalties provided by this subsection shall be recoverable in an action instituted in the name of this Town.
G. 
No remedy or penalty specified in this chapter shall be the exclusive remedy available to address any violation described in this section, and each remedy or penalty specified in this section shall be in addition to, and not in substitution for or limitation of, the other remedies or penalties specified in this section or in any other section of this chapter, or in any other applicable law. Any remedy or penalty specified in this section may be pursued at any time, whether prior to, simultaneously with, or after the pursuit of any other remedy or penalty specified in this section, in any other section of this chapter, or in any other applicable law. In particular, but not by way of limitation, each remedy and penalty specified in this section shall be in addition to, and not in substitution or limitation of, the penalties specified in Subdivision (2) of § 382 of the Executive Law, and any remedy or penalty specified in this section may be pursued at any time, whether prior to, simultaneously with, or after the pursuit of any penalty specified in Subdivision (2) of § 382 of the Executive Law.
An action or proceeding may be instituted in the name of this Town, in a court of competent jurisdiction, to prevent, restrain, enjoin, correct, or abate any violation of, or to enforce, any provision of the Uniform Code, the Energy Code, this chapter, or any term or condition of any operating permit, compliance order, or other notice or order issued by the Building Inspector or Chief Fire Inspector pursuant to any provision of this chapter. In particular, but not by way of limitation, where the construction or use of a building or structure or property is in violation of any provision of the Uniform Code, the Energy Code, this chapter, or any stop-work order, compliance order or other order obtained under the Uniform Code, the Energy Code or this chapter, an action or proceeding may be commenced in the name of this Town, in the Supreme Court or in any other court having the requisite jurisdiction, to obtain an order directing the removal of the building or structure or an abatement of the condition in violation of such provisions. No action or proceeding described in this subdivision shall be commenced without the appropriate authorization from the Town Board.