Be it further enacted by the authority aforesaid, That it shall be the duty of the municipal judge or Mayor or Mayor pro tem to preside over the municipal court, with full power and authority to issue warrants for the violation of any municipal ordinance, and to hold such court at such times and places and under such rules and regulations as are prescribed by this charter, or by ordinance, for the trial of offenders against the ordinances of said city, and to impose such penalties for a violation thereof as may be prescribed by ordinance and they shall have full power and authority incident to or belonging to the office of [the] magistrate, except for the trial of civil cases. In all cases where the accused is committed to the county jail or ordered to give bond for appearance before the Superior or City Court of Emanuel County for the violation of a State law, said municipal judge or Mayor shall be entitled to receive such costs as are paid magistrates in criminal cases.