A municipal official who neglects or refuses to perform a duty of office commits a civil violation for which a fine of not more than $100 for each offense may be adjudged, when no other penalty is provided. The fine shall be recovered on complaint to the use of the municipality.