A Quartermaster of a pirate ship was a kind of Civil Magistrate and Justice of the Peace for the ship he was on. He could settle disputes between crew members and punish those who committed minor infractions against the crews’ agreement.