The municipal court or county magistrate court acting as the municipal court shall try and punish violations of this charter, all town ordinances, and such other violations as provided by law, punish for contempt up to $200.00 or ten days in jail, punish for offenses not exceeding $1,000.00 or imprisonment for six months or both, compel the production of evidence in the possession of any party, and enforce obedience to its orders, judgments, and sentences. The court may compel the presence of parties and witnesses. The judge may issue warrants for the arrest of persons charged with offenses against any ordinance of the town and have the same authority as a magistrate of the state to issue warrants for offenses against state laws committed within the town. The court is specifically vested with all the jurisdiction and powers granted by law to municipal courts and particularly such laws as authorize the abatement of nuisances and prosecution of traffic violations.