In addition to other remedies, any action or proceeding may be instituted in a court of competent jurisdiction to prevent construction, conversion, alteration, use, maintenance, or occupancy of property in violation of or compel compliance with this chapter. Such action may be commenced by the Code Enforcement Officer, the Town Attorney, or by resolution of the Town Board. Nothing in this section shall be deemed to preclude the right of resident taxpayers to institute such proceedings in accordance with the Town Law § 268.